Note: Please read the below instructions carefully to extract the best result from this repo.
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.
- 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
,yum
for Linux OS,brew
for Mac OS X orchocolatey
for Windows. - Tmux
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.
- 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
aliases
directory,.bash_profile
,.bashrc
in the downloaded git repo to your home directory. - Run the
source ~/.bash_profile && source ~/.bashrc
to get the Bash aliases in effect. - Alternatively, you can also close all Shell sessions and restart them to achieve the same.
- Copy
.vimrc
from downloaded repo to $HOME & ensure.vim
folder (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.
- 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.
Cheers to respective maintainers of cited resources that helped in creating this repo.