ZSH: adds aws key regex to currenWordCompletions
This commit is contained in:
parent
0536e53e19
commit
0a724f3de5
2 changed files with 24 additions and 1 deletions
19
shells/zsh/includes/navi.zsh
Normal file
19
shells/zsh/includes/navi.zsh
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
#_call_navi() {
|
||||
# local selected
|
||||
# if [ -n "$LBUFFER" ]; then
|
||||
# if selected="$(printf "%s" "$(navi --print --fzf-overrides '--no-select-1' --query "${LBUFFER}" </dev/tty)")"; then
|
||||
# LBUFFER="$selected"
|
||||
# fi
|
||||
# else
|
||||
# if selected="$(printf "%s" "$(navi --print </dev/tty)")"; then
|
||||
# LBUFFER="$selected"
|
||||
# fi
|
||||
# fi
|
||||
# zle redisplay
|
||||
#}
|
||||
#
|
||||
#zle -N _call_navi
|
||||
#
|
||||
#bindkey '^n' _call_navi
|
Loading…
Add table
Add a link
Reference in a new issue