summaryrefslogtreecommitdiff
path: root/dot_local/share/sh/lsd
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2024-03-08 22:38:15 +0100
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2024-03-08 22:38:15 +0100
commitcc74c7adb0a5fc4a3b90d3ea43424123f0acde44 (patch)
tree01c5f4be74233b585da451a580fee237d1aba21c /dot_local/share/sh/lsd
parentgit: difftastic is optional, add local.config (diff)
sh: move from ~/.local/lib/sh to ~/.local/share/sh
It's debatable but ultimately it *is* arch-independent and ro.
Diffstat (limited to 'dot_local/share/sh/lsd')
-rw-r--r--dot_local/share/sh/lsd9
1 files changed, 9 insertions, 0 deletions
diff --git a/dot_local/share/sh/lsd b/dot_local/share/sh/lsd
new file mode 100644
index 0000000..e2a4bd5
--- /dev/null
+++ b/dot_local/share/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'