README: add fish shell instructions

This commit is contained in:
Anton-Latukha 2018-12-09 00:51:31 +02:00
parent 0fd3a0330c
commit 227493418a
1 changed files with 11 additions and 2 deletions

View File

@ -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.