These are my custom grc configurations that add color and style to various terminal commands. The repository contains a .grc folder with the configuration files.
-
Backup Existing .grc Folder (Optional but Recommended)
If you have an existing
.grcfolder in your home directory, it's recommended to back it up before proceeding. You can do this by running:mv ~/.grc ~/.grc_backup
-
Clone and Install
To install the
grcconfigurations, follow these steps:-
Clone only the
.grcfolder from this repository to your home directory:git clone --depth=1 https://github.com/viardant/grc-conf.git ~/.grc
-
-
Update Your Shell Configuration
Depending on your shell (e.g., zsh, bash), append the following line to your shell configuration file (e.g.,
~/.zshrc,~/.bashrc):ZSH
[[ -s "$HOME/.grc/grc.zsh" ]] && source $HOME/.grc/grc.zsh
-
Restart Your Shell
To apply the changes, restart your terminal or run:
ZSH
source ~/.zshrc
Once installed, the grc configurations will automatically enhance the output of various commands with colors and styles.