summaryrefslogtreecommitdiff
path: root/.config/zsh/completion.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/completion.zsh')
-rw-r--r--.config/zsh/completion.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/zsh/completion.zsh b/.config/zsh/completion.zsh
index 7ca7c39..5702d9e 100644
--- a/.config/zsh/completion.zsh
+++ b/.config/zsh/completion.zsh
@@ -1,5 +1,9 @@
# From https://wiki.archlinux.org/index.php/Zsh
+### Keep the space after completion for some characters in zsh
+#from https://unix.stackexchange.com/a/174641
+ZLE_SPACE_SUFFIX_CHARS=$'|&'
+
### Handle command not found
if [ -e /usr/share/doc/pkgfile/command-not-found.zsh ]; then
source /usr/share/doc/pkgfile/command-not-found.zsh