mirror of
https://github.com/lsd-rs/lsd
synced 2024-11-10 06:14:19 +00:00
Add nerd fonts, minor typo and positional changes
• Add nerd fonts to xresources • Move ls alias to "optional", as it is not required for lsd to function, so keeping it in "required" is misleading • you→your
This commit is contained in:
parent
f1fed05413
commit
748a2722a2
1 changed files with 13 additions and 6 deletions
19
README.md
19
README.md
|
@ -115,17 +115,24 @@ The [release page](https://github.com/Peltoche/lsd/releases) includes precompile
|
||||||
|
|
||||||
### Required
|
### Required
|
||||||
|
|
||||||
In order to use lsd instead of the default ls you need to add this to you shell
|
Enable nerd fonts for your terminal, URxvt for example:
|
||||||
configuration file (~/.bashrc, ~/.zshrc, etc.) :
|
|
||||||
|
.Xresources
|
||||||
|
```
|
||||||
|
URxvt*font: xft:Hack Nerd Font:style=Regular:size=11
|
||||||
|
```
|
||||||
|
|
||||||
|
### Optional
|
||||||
|
|
||||||
|
|
||||||
|
In order to use lsd when entering the `ls` command, you need to add this to your shell
|
||||||
|
configuration file (~/.bashrc, ~/.zshrc, etc.):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
alias ls='lsd'
|
alias ls='lsd'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Optional
|
Some further examples of useful aliases:
|
||||||
|
|
||||||
Some examples of useful aliases. You can add this to you shell configuration
|
|
||||||
file (~/.bashrc, ~/.zshrc, etc.) just under the alias above :
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
alias l='ls -l'
|
alias l='ls -l'
|
||||||
|
|
Loading…
Reference in a new issue