diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-03-06 21:27:27 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2024-03-06 21:27:27 -0800 |
commit | 5431aa1f4346feea1cb9680945639d8f1b180c9c (patch) | |
tree | 0c3e71c8a02f800c3c991eca1b07cfbe7b6864e2 | |
parent | c26cfa40f6f9e162195d15b987b3e7e45ce6406b (diff) | |
download | cdlog-5431aa1f4346feea1cb9680945639d8f1b180c9c.tar.gz cdlog-5431aa1f4346feea1cb9680945639d8f1b180c9c.tar.bz2 cdlog-5431aa1f4346feea1cb9680945639d8f1b180c9c.zip |
completion: set nospace option.
* cdlog.sh (cdlog.complete): Set compopt -o nospace so that
the completion doesn't automatically add a space. That's
what we want when completing directories for cd. It's
annoying to have to backspace over a space to continue
completion.
-rw-r--r-- | cdlog.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -342,6 +342,8 @@ cdlog.complete() local alias local dir + compopt -o nospace + COMPREPLY+=( $(compgen -d -- "$cur") ) for alias in "${!cdlog_alias[@]}"; do |