README: add fish shell instructions
This commit is contained in:
parent
0fd3a0330c
commit
227493418a
|
@ -22,8 +22,9 @@ possible extensions, like htm and html, should have the same color.
|
||||||
# Installation
|
# Installation
|
||||||
To install and use this file, put something like this is your shell resource
|
To install and use this file, put something like this is your shell resource
|
||||||
file:
|
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):
|
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
|
. $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
|
||||||
Archlinux users can install the [`lscolors-git`][3] package from the AUR for easy
|
Archlinux users can install the [`lscolors-git`][3] package from the AUR for easy
|
||||||
integration with bash, csh, or zsh.
|
integration with bash, csh, or zsh.
|
||||||
|
|
Loading…
Reference in New Issue