summaryrefslogtreecommitdiff
path: root/dot_local/lib/sh
diff options
context:
space:
mode:
authorChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-01-18 10:14:29 +0100
committerChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-01-18 10:14:29 +0100
commited8c2d9a7df645f317b7df3ceb6cc0dadd105260 (patch)
treecc02cb4028a6fb38b1850f3d520ce1f62a38043f /dot_local/lib/sh
parentnvim: update config (checkpoint) (diff)
sh: update alias for exa, add aliases for lsd
Diffstat (limited to '')
-rw-r--r--dot_local/lib/sh/exa3
-rw-r--r--dot_local/lib/sh/lsd9
2 files changed, 11 insertions, 1 deletions
diff --git a/dot_local/lib/sh/exa b/dot_local/lib/sh/exa
index 4fcfc31..ed3c55d 100644
--- a/dot_local/lib/sh/exa
+++ b/dot_local/lib/sh/exa
@@ -2,6 +2,7 @@
alias ls=exa
alias l='exa -l'
alias ll='exa -l'
-alias la='exa -la'
+alias la='exa -a'
+alias lla='exa -la'
alias tree='exa -T'
diff --git a/dot_local/lib/sh/lsd b/dot_local/lib/sh/lsd
new file mode 100644
index 0000000..e2a4bd5
--- /dev/null
+++ b/dot_local/lib/sh/lsd
@@ -0,0 +1,9 @@
+. hascmd lsd || return
+alias ls=lsd
+alias l='lsd -l'
+alias ll='lsd -l'
+alias la='lsd -a'
+alias lla='lsd -la'
+
+alias lh='lsd --hyperlink=auto'
+alias tree='lsd --tree --hyperlink=auto'