summaryrefslogtreecommitdiff
path: root/dot_zsh/plugins/exa
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_zsh/plugins/exa11
1 files changed, 11 insertions, 0 deletions
diff --git a/dot_zsh/plugins/exa b/dot_zsh/plugins/exa
new file mode 100644
index 0000000..afdee79
--- /dev/null
+++ b/dot_zsh/plugins/exa
@@ -0,0 +1,11 @@
+#!/bin/zsh
+(( $+commands[exa] )) || return
+
+# removes default ls-likes, replaces them with exa variants
+unalias ls ll l la
+
+# old ones
+alias ls=exa ll='ls -l' l=ll la='l -a'
+# extras
+alias lr='l -T'
+alias lp='lr --git-ignore'