summary refs log tree commit diff
path: root/fish/functions/ls.fish
diff options
context:
space:
mode:
authornoa2024-09-07 08:03:52 +0000
committernoa2024-09-07 08:03:52 +0000
commitb9a1cbafda2aaed36c8eca4f7b68aae583918561 (patch)
tree4a0ff7b1abcdfa8f0b94c44485e32d84cdffa1b5 /fish/functions/ls.fish
parent4d75f09ba0f3547ec451e2d3b72422d0822c0b6b (diff)
Add configurations to fossil repo
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