summaryrefslogtreecommitdiff
path: root/dot_zsh/plugins/exa
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2020-01-22 19:20:53 -0500
committerChloe Kudryavtsev <toast@toast.cafe>2020-01-22 19:20:53 -0500
commit548597a1403547590cdea09bedccca83effdf6ad (patch)
tree2afc3f57d4b64f4795476cc49672a6ac1037782c /dot_zsh/plugins/exa
parentzsh: add twitch function (diff)
zsh: exa plugins checks for bin presence
Diffstat (limited to '')
-rw-r--r--dot_zsh/plugins/exa2
1 files changed, 2 insertions, 0 deletions
diff --git a/dot_zsh/plugins/exa b/dot_zsh/plugins/exa
index a940f8c..afdee79 100644
--- a/dot_zsh/plugins/exa
+++ b/dot_zsh/plugins/exa
@@ -1,4 +1,6 @@
#!/bin/zsh
+(( $+commands[exa] )) || return
+
# removes default ls-likes, replaces them with exa variants
unalias ls ll l la