To use the dotfiles you need the appropriate program that we are configuring.Also the dependencies that the program requires.
Note:
The following installation are done assuming that you are using macOS
. There may be some changes if you are using a Linux
Xcode Command Line Tools comprised of development tools such as git and many more.
xcode-select --install
Homebrew is a package manager used for managing and installing packages
curl -fsSL -o install.sh https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh
A Terminal Emulator is a software that is used for accessing the shell such as bash and zsh
use kitty,
brew install --cask kitty
or alacritty,
brew install --cask alacritty
oh my zsh is a framework for managing your zsh configuration & plugins
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
For more info: https://github.com/ohmyzsh/ohmyzsh
To install Dracula theme,
- Download using the GitHub .zip download option and unzip them.
- Move
dracula.zsh-theme
to~/.oh-my-zsh/themes
. - Move
/lib
to~/.oh-my-zsh/themes
.
For more info : https://draculatheme.com
Patched fonts includes many symbol which are used by other terminal program. Here, we are going to install Hack Nerd Font Mono.
brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font
For more nerd font check: https://github.com/ryanoasis/nerd-fonts
All of these fonts support ligatures, but Alacritty doesn't support ligatures!
Auto suggestion goes through your previous command and show suggestion based on that.
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
Syntax Highlighting provides nice highlights with commands.
git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
fzf is a fuzzy finder useful for searching through previous command, changing directory,etc.
brew install fzf
$(brew --prefix)/opt/fzf/install
For more info : https://github.com/junegunn/fzf
Check neovim's GitHub page, https://github.com/neovim/neovim
brew install neovim
+python3 support is essential for plugins like UltiSnips,vimspector,.
brew install python3
pip3 install neovim
Note:
comment the line require'mysnippets'
in init.lua
to avoid module not found error.
Stow is a symlink manager which is used to manager the dotfiles via creating symlink in there respected locations.
brew install stow
After installing all of the dependencies. Clone the repository by,
git clone https://github.com/solvedbiscuit71/.dotfiles.git ~/.dotfiles
Before running the install script add user privileges for executing.
cd ~/.dotfiles/
chmod +x install.sh remove.sh clear_env.sh
./install.sh
Then, restart your terminal for the changes to take effect.
Note:
if configuration files already exist, it's move to ~/.dotfiles_backup/