summaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
authorlistout <listout@protonmail.com>2022-01-07 23:51:06 +0530
committerlistout <listout@protonmail.com>2022-01-07 23:51:06 +0530
commit6848d93efd51f3d96154d7f7a5c1287ceb9e95ed (patch)
tree345d59870a114a63deb5d2690fe06904bd2ef55b /.config/zsh
parent7761911e4f7aca70219317ce2ea49d88486b7ef3 (diff)
adding ZLE_REMOVE_SUFFIX_CHARS
Diffstat (limited to '.config/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