From 227493418a567c6e83fda1c2fab23cde3402596c Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Sun, 9 Dec 2018 00:51:31 +0200 Subject: [PATCH] README: add fish shell instructions --- README.markdown | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 5385125..6147eff 100644 --- a/README.markdown +++ b/README.markdown @@ -22,8 +22,9 @@ possible extensions, like htm and html, should have the same color. # Installation To install and use this file, put something like this is your shell resource file: - - eval $( dircolors -b $HOME/LS_COLORS ) +``` +eval $( dircolors -b $HOME/LS_COLORS ) +``` A quick way to install would be the following set of commands (assuming bash): @@ -33,6 +34,14 @@ echo 'eval $(dircolors -b $HOME/.dircolors)' >> $HOME/.bashrc . $HOME/.bashrc ``` +## For fish shell + +``` +eval ( dircolors --c-shell $HOME/LS_COLORS ) +``` + +Place it in `~/.config/fish/config.fish` or any `*.fish*` file inside `~/.config/fish/conf.d/` to be loaded. + ### Archlinux Archlinux users can install the [`lscolors-git`][3] package from the AUR for easy integration with bash, csh, or zsh.