aboutsummaryrefslogtreecommitdiff
path: root/fish/functions/eza.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/functions/eza.fish')
-rw-r--r--fish/functions/eza.fish8
1 files changed, 8 insertions, 0 deletions
diff --git a/fish/functions/eza.fish b/fish/functions/eza.fish
new file mode 100644
index 0000000..e9a7395
--- /dev/null
+++ b/fish/functions/eza.fish
@@ -0,0 +1,8 @@
+function eza --wraps eza --description "A modern alternative to ls"
+ if ! command -q eza
+ echo "`eza` is not installed"
+ exit
+ end
+
+ command eza --group-directories-first --header --icons=always $argv
+end