Add argcomplete to zshrc
This commit is contained in:
parent
eecf1e5fda
commit
0084a3963f
3 changed files with 7 additions and 1 deletions
|
@ -8,6 +8,8 @@ fileignoreconfig:
|
||||||
- filename: dotfiles/shell/profile
|
- filename: dotfiles/shell/profile
|
||||||
ignore_detectors:
|
ignore_detectors:
|
||||||
- filename
|
- filename
|
||||||
|
- filename: dotfiles/zsh/zshrc
|
||||||
|
checksum: 4c80068ae9cfeee19d747d581b8d9ae9d8a947bb07d17eaa963731a1f7d6ec48
|
||||||
- filename: pacman_hooks/borg_backup.hook
|
- filename: pacman_hooks/borg_backup.hook
|
||||||
ignore_detectors:
|
ignore_detectors:
|
||||||
- filename
|
- filename
|
||||||
|
|
|
@ -70,7 +70,6 @@ if pip show argcomplete >/dev/null 2>&1; then
|
||||||
eval "$(register-python-argcomplete schedule_timer)"
|
eval "$(register-python-argcomplete schedule_timer)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
case "$TERM" in
|
case "$TERM" in
|
||||||
xterm-kitty) source <(kitty + complete setup bash);;
|
xterm-kitty) source <(kitty + complete setup bash);;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -40,6 +40,11 @@ setopt COMPLETE_ALIASES
|
||||||
case "$TERM" in
|
case "$TERM" in
|
||||||
xterm-kitty) kitty + complete setup zsh | source /dev/stdin
|
xterm-kitty) kitty + complete setup zsh | source /dev/stdin
|
||||||
esac
|
esac
|
||||||
|
if pip show argcomplete >/dev/null 2>&1; then
|
||||||
|
autoload -U bashcompinit
|
||||||
|
bashcompinit
|
||||||
|
eval "$(register-python-argcomplete schedule_timer)"
|
||||||
|
fi
|
||||||
|
|
||||||
# Use vim keys in tab complete menu
|
# Use vim keys in tab complete menu
|
||||||
bindkey -M menuselect 'h' vi-backward-char
|
bindkey -M menuselect 'h' vi-backward-char
|
||||||
|
|
Loading…
Add table
Reference in a new issue