mirror of
https://github.com/trapd00r/LS_COLORS.git
synced 2024-11-13 07:11:09 +01:00
README: add fish shell instructions
This commit is contained in:
parent
0fd3a0330c
commit
227493418a
1 changed files with 11 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue