summary refs log tree commit diff
path: root/fish/functions/ls.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/functions/ls.fish')
-rw-r--r--fish/functions/ls.fish10
1 files changed, 10 insertions, 0 deletions
diff --git a/fish/functions/ls.fish b/fish/functions/ls.fish
new file mode 100644
index 0000000..94fa076
--- /dev/null
+++ b/fish/functions/ls.fish
@@ -0,0 +1,10 @@
+# ls but do it without colour
+
+function ls --description "List contents of directory"
+	# make ls show */=>@| indicators
+	isatty stdout
+	and set -a opt -F
+
+	# command $__fish_ls_command $__fish_ls_color_opt $opt $argv
+	command ls $opt $argv
+end