Installation & Activation

Get up and running in one line of code for your favorite shell

This is a living document which means it is work in progress, not completed yet and can change at any time while the project is still in development major version zero 0.y.z!

Installation

Nord dircolors can be installed for all application that respect the LS_COLORS environment variable like GNU core utils ls, tree or modern projects like fd.

To automatically load Nord dircolors for every shell session, download the dir_colors file and place it as ~/.dir_colors in your home directory.

Latest Development State

To always use the latest development state of Nord dircolors, clone the repository and create a symbolic link of the src/dir_colors file to ~/.dir_colors in your home directory afterwards:

ln -sr "$PWD/src/dir_colors" "~/.dir_colors"

Activation

To activate and use Nord dircolors as your default color theme for all sessions, load the theme with dircolors by adding the following snippet to the configuration file of your shell (~/.bashrc, ~/.zshrc, …):

test -r "~/.dir_colors" && eval $(dircolors ~/.dir_colors)
Screenshot showing an example of a shell configuration file to load Nord through dircolors
Oneliner for a shell configuration to automatically load the theme.