From 42c11f1b6c4094eda6f5a1c2478dd0f42a61a8b4 Mon Sep 17 00:00:00 2001 From: Collin Styles Date: Wed, 14 Apr 2021 22:38:36 -0700 Subject: [PATCH] Remove completion files for `ls` aliases; just use `function --wraps` --- share/completions/la.fish | 1 - share/completions/ll.fish | 1 - share/functions/la.fish | 2 +- share/functions/ll.fish | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 share/completions/la.fish delete mode 100644 share/completions/ll.fish diff --git a/share/completions/la.fish b/share/completions/la.fish deleted file mode 100644 index 7b5473dc1..000000000 --- a/share/completions/la.fish +++ /dev/null @@ -1 +0,0 @@ -complete -c la -w ls diff --git a/share/completions/ll.fish b/share/completions/ll.fish deleted file mode 100644 index 70722590c..000000000 --- a/share/completions/ll.fish +++ /dev/null @@ -1 +0,0 @@ -complete -c ll -w ls diff --git a/share/functions/la.fish b/share/functions/la.fish index bd2024ce7..29e25d0da 100644 --- a/share/functions/la.fish +++ b/share/functions/la.fish @@ -1,6 +1,6 @@ # # These are very common and useful # -function la --description "List contents of directory, including hidden files in directory using long format" +function la --wraps ls --description "List contents of directory, including hidden files in directory using long format" ls -lah $argv end diff --git a/share/functions/ll.fish b/share/functions/ll.fish index e8230f4ec..15fe9a81f 100644 --- a/share/functions/ll.fish +++ b/share/functions/ll.fish @@ -1,6 +1,6 @@ # # These are very common and useful # -function ll --description "List contents of directory using long format" +function ll --wraps ls --description "List contents of directory using long format" ls -lh $argv end