lsd over exa

This commit is contained in:
Fred Klassen 2023-02-21 14:29:15 -08:00
commit 0e65034771
No known key found for this signature in database
GPG key ID: E9E2149793BDE17E
2 changed files with 14 additions and 9 deletions

View file

@ -38,6 +38,12 @@ macOS
brew install exa
```
* and/or install `ls` replacement `lsd`
```shell
brew install lsd
```
* continue to [Common Install Steps](#common-install-steps)
Linux
@ -46,7 +52,7 @@ Linux
* install some terminal tools
```(shell)
sudo apt install curl exa fasd fzf ruby-full thefuck tmux vim-nox
sudo apt install curl exa fasd fzf lsd ruby-full thefuck tmux vim-nox
```
* install [Tilex](https://gnunn1.github.io/tilix-web/)
@ -193,8 +199,7 @@ There are a few things that can make things even better
* if tmux is installed install tmux config [Oh My Tmux](https://github.com/gpakosz/.tmux)
* install vim config [SpaceVim](https://spacevim.org/)
* install Mosh replacement [Eternal Terminal](https://eternalterminal.dev/)
* optionally install colorls
* `sudo gem install colorls`
* optionally install [lsd](https://github.com/Peltoche/lsd)
* optionally install file transer app
* `curl -sL https://cutt.ly/tran-cli | bash`
* on macOS

View file

@ -195,14 +195,14 @@ export MANPATH="/usr/local/man:/usr/local/ssl/share/man:$MANPATH"
alias gnb='git nb' # new branch aka checkout -b
alias gdtl='git difftool --no-prompt'
if [ -x "$(command -v exa)" ]; then
if [ -x "$(command -v lsd)" ]; then
alias ls="lsd"
elif [ -x "$(command -v exa)" ]; then
alias ls="exa"
alias la="exa --long --all --group"
else
if [ -x "$(command -v colorls)" ]; then
alias ls="colorls"
alias la="colorls -al"
fi
elif [ -x "$(command -v colorls)" ]; then
alias ls="colorls"
alias la="colorls -al"
fi
# Other custom config