From b330ec2c1eb96047cfc32254a8c8531f44c81a12 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 14 May 2022 13:25:32 +0200 Subject: [PATCH] lsd: Don't use long options in the ls(1) alias Both the "--date" and "--group-dirs" options are "nice", and I'd like to set them here, but it looks like long options break the file name completion logic: when a long option is present, you can't tab-complete any file or folder name any more, which is _really_ annoying! So remove those options again (for now)!? If you wan't to use long options, like the ones removed now here, you can use a configuration file in ~/.config/lsd/config.yaml, for example. --- plugins/lsd/lsd.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lsd/lsd.zshrc b/plugins/lsd/lsd.zshrc index c98bb91..1bdfe6a 100644 --- a/plugins/lsd/lsd.zshrc +++ b/plugins/lsd/lsd.zshrc @@ -4,4 +4,4 @@ # Make sure that "lsd(1)" is installed (( $+commands[lsd] )) || return 1 -alias ls='lsd --date relative --group-dirs first' +alias ls='lsd' -- 2.39.2