From a990b7a96718ffab5f7772e62441ba804e7a9283 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Tue, 19 Mar 2024 00:15:01 +0000 Subject: Add a colourless ls command --- fish/functions/ls.fish | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 fish/functions/ls.fish 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 -- cgit 1.4.1-2-gfad0