Note: Please read the below instructions carefully to extract the best result from this repo.
Initial Workstation Config
Table of Contents
What is this about?
This is a Git repository to help you setup your new workstation for commonly used tools and make changes to them as you move ahead, using the power of Git & GitHub.
The current steps cover some well known OSes used for development and have been tested on
- Mac OS X (Monterey: 12.3.1)
- Ubuntu (Focal Fossa: 20.04 LTS)
- CentOS 7 (7.5-1804)
- Fedora Workstation 28 but it should work seamlessly on any variants lower or higher than the above.
Pre-Requisites
- A computer with Linux OS like Ubuntu, Fedora, CentOS or UNIX OS like Mac OS X or Windows.
- Depending on the above, a shell like Bash, Zsh on Linux/UNIX based OS or PowerShell on Windows
- A text editor like Vim to modify the files from this repo (We will install IDE such as VSCode and terminal applications iTerm2 or Tabby shortly after).
- SSH | GPG Keys
- Git and access to this GitHub repo
- Based on your OS, a package manager such as
apt-get,yumfor Linux OS,brewfor Mac OS X orchocolateyfor Windows. - Tmux
Getting Ready
As per your OS (Mac / Linux / Windows), its associated shell and terminal:
- Obtaining VIM is as easy as mentioned in this website
- You can generate SSH keys and similarly create GPG keys.
- Please follow these steps to install Git.
- Then, add SSH keys and GPG keys to Github
- For Package Manager installation, follow these steps
- Finally, Tmux can be installed via this document.
How to Setup?
- From the native terminal app of your OS,
- Then on the respective terminals, clone this repo locally using
git clone git@github.com:vinayhegde1990/initial-workstation-config.git - Change your directory to the downloaded repo
cd initial-workstation-config - Copy all the files from the
aliasesdirectory,.bash_profile,.bashrcin the downloaded git repo to your home directory. - Run the
source ~/.bash_profile && source ~/.bashrcto get the Bash aliases in effect. - Alternatively, you can also close all Shell sessions and restart them to achieve the same.
Using Vim Aliases
- Copy
.vimrcfrom downloaded repo to $HOME & ensure.vimfolder (with all files) exists there as well. - If you already have a VIM process running, you can go into Escape mode by pressing
Esc, type:and then writesource:~/.vimrc - For a new VIM session, the changes will automatically apply themselves.
Using Tmux Aliases
- Copy all the files from the
.tmux/in the downloaded git repo to your home directory. - If you already have a Tmux process running, you can go into Escape mode by pressing
Esc, type:and then writesource-file :~/.tmux/tmux.conf - For a new Tmux session, the changes will automatically apply themselves.
References
Cheers to respective maintainers of cited resources that helped in creating this repo.