Harsh Kapadia's dotfiles.
.clang-format
.editorconfig
.gitconfig
.prettierrc
.tmux.conf
.vimrc
The setup
script will symlink dotfiles to the current user's home
directory and optionally install packages. The behaviour depends on the
arguments with which the script is invoked.
./setup [--force-setup] [--install-pkg] [--help]
--force-setup
--install-pkg
bear
(For YouCompleteMe
Vim plugin)build-essential
(For YouCompleteMe
Vim plugin)clang-format
(For formatting C files)cmake
(For YouCompleteMe
Vim plugin)curl
gh
(For GitHub auth)git
man
net-tools
(For ifconfig
)nodejs
(For prettier
)npm
(For prettier
)python3
python3-dev
(For YouCompleteMe
Vim plugin)shellcheck
shfmt
(For formatting Shell/Bash scripts)tmux
tree
vim
tree
gh
shfmt
is available only on Ubuntu >= v22 and so the script will
fail on Ubuntu OSs < v22.--delete
--help
# Navigate to the current user's home directory
$ cd ~
# Clone the repository
$ git clone https://github.com/HarshKapadia2/dotfiles.git
# Navigate to the dotfiles repository
$ cd ~/dotfiles
# Run the setup script
$ ./setup
# Or
$ bash setup
# Or with arguments
$ ./setup --force-setup --install-pkg
# Check changes
$ ls -al ~ # Symlinked dotfiles should be present