]> git.phdru.name Git - dotfiles.git/commitdiff
Revert ".shellrc: Avoid excessive spaces on completion"
authorOleg Broytman <phd@phdru.name>
Sun, 31 Jan 2021 19:31:47 +0000 (22:31 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 31 Jan 2021 19:32:05 +0000 (22:32 +0300)
This reverts commit e158ad17f8a02a7fb77cba0caffd90bd83213b21.

Most of the time I need a space.
In rare cases when it's excessive
I can simply remove it with backspace.

.shellrc

index 9907f807be1f105ede4036ec6dfa0adb14e7505a..9b8f6e9f0793fcbfe513f7ad24eb71e6461de8f5 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -135,7 +135,7 @@ if test -n "$BASH_VERSION"; then
       programs="$@"
       eval "_${prog}_completion_loader() {
          _completion_loader $prog
-         complete -o nospace -F _$prog $programs
+         complete -F _$prog $programs
          unset _${prog}_completion_loader
          return 124
       }"