Skip to content

Commit

Permalink
Drop support for exa
Browse files Browse the repository at this point in the history
  • Loading branch information
raxod502 committed Jun 16, 2024
1 parent 7fb0abc commit 19590e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ commented.
[eldoc]: https://www.emacswiki.org/emacs/ElDoc
[emacs]: https://www.gnu.org/software/emacs/
[esup]: https://github.com/jschaf/esup
[exa]: https://the.exa.website/
[eza]: https://eza.rocks/
[firefox]: https://www.mozilla.org/en-US/firefox/
[flow]: https://flow.org/
[flow]: https://flow.org/
Expand Down
4 changes: 2 additions & 2 deletions doc/zsh.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Radian's `.zshrc`.

* zsh (obviously)
* git (to clone zinit)
* exa (optional - colorized ls aliases)
* eza (optional - colorized ls aliases)

### Plugin management

Expand Down Expand Up @@ -104,7 +104,7 @@ plugins.
* Use `help` as a replacement for `man` that can also look up shell
functions and specific subsections of certain man pages. Man pages
are colored by default
* ls aliases: `l` for `ls -lAhF` and `lt` for `tree -a`, but using exa
* ls aliases: `l` for `ls -lAhF` and `lt` for `tree -a`, but using eza
or gnu ls if installed. `lt <n>` for only recursing to the nth
level (ignore `.git`, `.svn`, `node_modules` by default), and `lti
<glob>` for ignoring more patterns. Use `ltli <n> <glob>` to combine
Expand Down
12 changes: 3 additions & 9 deletions shell/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -292,19 +292,13 @@ alias -- -9='cd -9'
# jump to those directories.
alias ds='dirs -v | head -10'

#### ls, exa
#### ls, eza

if (( $+commands[eza] )) || (( $+commands[exa] )); then

if ! (( $+commands[exa] )); then
function exa {
eza $@
}
fi
if (( $+commands[eza] )); then

function l {
emulate -LR zsh
exa --all --header --long --color-scale=all $@
eza --all --header --long --color-scale=all $@
}

function lg {
Expand Down

0 comments on commit 19590e6

Please sign in to comment.