Nord dircolors plugin for zsh.
Note that after installing this plugin, the terminal must be restarted or a new terminal session must be created.
-
Clone this repository somewhere on your computer. For example:
git clone --recursive https://github.com/coltondick/zsh-dircolors-nord.git ~/.zsh/zsh-dircolors-nord
-
Add the following snippet to your
.zshrc
:source ~/.zsh/zsh-dircolors-nord/zsh-dircolors-nord.zsh
I recommend using antigen, but it is also compatible with other plugin managers.
-
Add the following line in your
.zshrc
:antigen bundle coltondick/zsh-dircolors-nord.git
-
Clone this repository into
$ZSH_CUSTOM/plugins
(by default~/.oh-my-zsh/custom/plugins
)git clone --recursive https://github.com/coltondick/zsh-dircolors-nord.git $ZSH_CUSTOM/plugins/zsh-dircolors-nord
-
Add the plugin to the list of plugins for Oh My Zsh to load:
plugins=(zsh-dircolors-nord)
This plugin offers two commands:
setupnord
which installs a theme and saves the current configuration to the configuration file ($HOME/.zsh-dircolors.config
by default).
setupnord
must be run at least once in order to create the configuration file. After doing so, the plugin will automatically load your configuration each time a zsh session is started.
If you find any bugs or have suggestions for improvements, please open an issue or pull request on the GitHub repository.
This script is licensed under the MIT License.