mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
lsd over exa
This commit is contained in:
parent
bf412d1976
commit
0e65034771
2 changed files with 14 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue