Update dotfiles/.local/share/bash-completion/generate.sh, dotfiles/.zshrc
This commit is contained in:
parent
24da86c62b
commit
0c71732c97
2 changed files with 8 additions and 0 deletions
|
@ -68,6 +68,11 @@ if command -v mcfly > /dev/null; then
|
|||
mcfly init bash > "$HOME/.local/share/bash-completion/completions/mcfly.bash"
|
||||
fi
|
||||
|
||||
### npm
|
||||
if command -v npm > /dev/null; then
|
||||
npm completion > "$HOME/.local/share/bash-completion/completions/npm.bash"
|
||||
fi
|
||||
|
||||
### Poetry
|
||||
if command -v poetry > /dev/null; then
|
||||
poetry completions bash > "$HOME/.local/share/bash-completion/completions/poetry.bash"
|
||||
|
|
|
@ -67,6 +67,9 @@ zstyle ':completion:*' verbose true
|
|||
# shellcheck disable=SC2016
|
||||
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
||||
|
||||
### For Debugging (clears completion cache each time)
|
||||
zstyle ":completion:*:commands" rehash 1
|
||||
|
||||
# Key bindings
|
||||
bindkey -e
|
||||
bindkey '^U' backward-kill-line
|
||||
|
|
Loading…
Reference in a new issue