]> arthur.barton.de Git - ax-zsh.git/commitdiff
New "lsd" plugin
authorAlexander Barton <alex@barton.de>
Sat, 14 May 2022 11:11:32 +0000 (13:11 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 14 May 2022 11:11:32 +0000 (13:11 +0200)
plugins/lsd/README.md [new file with mode: 0644]
plugins/lsd/lsd.zshrc [new file with mode: 0644]

diff --git a/plugins/lsd/README.md b/plugins/lsd/README.md
new file mode 100644 (file)
index 0000000..6a95458
--- /dev/null
@@ -0,0 +1,8 @@
+## lsd
+
+Setup LSD (LSDeluxe), the next gen ls command:
+<https://github.com/Peltoche/lsd/>
+
+### Prerequisites
+
+- `lsd`(1)
diff --git a/plugins/lsd/lsd.zshrc b/plugins/lsd/lsd.zshrc
new file mode 100644 (file)
index 0000000..c98bb91
--- /dev/null
@@ -0,0 +1,7 @@
+# AX-ZSH: Alex' Modular ZSH Configuration
+# lsd.zshrc: Setup LSD (LSDeluxe), the next gen ls command.
+
+# Make sure that "lsd(1)" is installed
+(( $+commands[lsd] )) || return 1
+
+alias ls='lsd --date relative --group-dirs first'