Skip to content

vinayhegde1990/initial-workstation-config

Repository files navigation

Initial Workstation Config

Note: Please read the below instructions carefully to extract the best result from this repo.

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

  1. Mac OS X (Sonoma: 14.6.1)
  2. Ubuntu (Noble Numbat: 24.04 LTS)
  3. CentOS 7 (7.5-1804)
  4. Fedora Workstation 28 but it should work seamlessly on any variants lower or higher than the above.

Pre-Requisites

  1. Any of the above OS with shells from Bash, Zsh or PowerShell respectively.
  2. SSH | GPG Keys. You can generate SSH keys and similarly create GPG keys.
  3. Then add SSH keys and GPG keys to Github.
  4. Git and access to this GitHub repo. Please use install Git
  5. Package manager like apt-get, yum for Linux OS, brew for Mac OS X or chocolatey for Windows.
  6. For Package Manager installation, follow these steps

How to Setup?

  1. From the native terminal app of your OS,
    • Linux → Install Terminal via apt-get install gnome-terminal
    • Mac OS X → Install iTerm2 via brew install iterm2
    • Windows → Install Tabby via choco install tabby
  2. Then on the respective terminals, clone this repo locally using git clone [email protected]:vinayhegde1990/initial-workstation-config.git
  3. Change your directory to the downloaded repo cd initial-workstation-config
  4. Copy all the files from the aliases directory, .bash_profile, .bashrc in the downloaded git repo to your home directory.
  5. Run the source ~/.bash_profile && source ~/.bashrc to get the Bash aliases in effect.
  6. Alternatively, you can also close all Shell sessions and restart them to achieve the same.

Using Vim Aliases

  1. Copy .vimrc from downloaded repo to $HOME & ensure .vim folder (with all files) exists there as well.
  2. If you already have a VIM process running, you can go into Escape mode by pressing Esc, type : and then write source:~/.vimrc
  3. For a new VIM session, the changes will automatically apply themselves.

Using Tmux Aliases

  1. Copy all the files from the .tmux/ in the downloaded git repo to your home directory.
  2. If you already have a Tmux process running, you can go into Escape mode by pressing Esc, type : and then write source-file :~/.tmux/tmux.conf
  3. 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.