zhrc: Bind autosuggestions key
This commit is contained in:
parent
a369502b87
commit
0c62886e9c
1 changed files with 5 additions and 0 deletions
|
|
@ -18,6 +18,9 @@ plugins=(
|
||||||
zsh-fzf-history-search
|
zsh-fzf-history-search
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Bind zsh-autosuggestions key
|
||||||
|
bindkey '^Y' autosuggest-accept
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# Custom aliases
|
# Custom aliases
|
||||||
|
|
@ -32,6 +35,8 @@ alias remote_sup="ssh t0xa@172.31.142.197"
|
||||||
alias remote_astra="ssh t0xa@172.31.142.191"
|
alias remote_astra="ssh t0xa@172.31.142.191"
|
||||||
alias remote_debian="ssh t0xa@172.31.142.30 -A"
|
alias remote_debian="ssh t0xa@172.31.142.30 -A"
|
||||||
alias vpnz="sudo ss-local -v -c /etc/shadowsocks-libev/config.json"
|
alias vpnz="sudo ss-local -v -c /etc/shadowsocks-libev/config.json"
|
||||||
|
alias vu="nmcli connection up arch81"
|
||||||
|
alias vd="nmcli connection down arch81"
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
export PATH=$PATH:/usr/local/go/bin
|
export PATH=$PATH:/usr/local/go/bin
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue