- Git: Git is a version control system used for managing code changes. You can find installation instructions for your specific operating system on the official Git website: https://git-scm.com/downloads
- Terminal Shell: Most Linux distributions come pre-installed with a terminal shell like Bash. You can also install Zsh as an alternative. Refer to your distribution's documentation for installation instructions.
Linux:
sudo apt install tmux vim vim-gtk3 fonts-powerline
macOS (using Homebrew):
brew install vim nvim tmux ripgrep
Alternative Shell Installation:
If you'd like to use Zsh, you can follow the installation instructions from the official Zsh website: https://ohmyz.sh/
The following steps will guide you through configuring Zsh, Vim/Neovim, and Tmux.
cd ~/ && git clone git@github.com:michaeljymsgutierrez/bashrc-cg.git
git clone --depth 1 [https://github.com/junegunn/fzf.git](https://github.com/junegunn/fzf.git) ~/.fzf
~/.fzf/install
Add the following lines to your ~/.zshrc
file:
source ~/bashrc-cg/path.cgf
source ~/bashrc-cg/prompt.cgf
source ~/bashrc-cg/alias.cgf
Add the following line to your ~/.vimrc
file:
source ~/bashrc-cg/vim.cgf
Add the following lines to your ~/.config/nvim/init.lua
file:
local homeDirectory = os.getenv('HOME') .. '/bashrc-cg/nvim-cgf.lua'
local initNvimConfig = loadfile(homeDirectory)
initNvimConfig()
Add the following line to your ~/.tmux.conf
file:
source ~/bashrc-cg/tmux.cgf
Restart your terminal or run the following commands:
source ~/.zshrc # For Zsh users
vim -c "PluginInstall" # For Vim users
nvim # For Neovim users