diff options
author | Freya Murphy <freya@freyacat.org> | 2023-12-04 19:22:07 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2023-12-04 19:22:07 -0500 |
commit | 2e0f1541d649c648b4c8998fa38102e9f8322d5e (patch) | |
tree | 86f324b24d17bf78f1ffaee78b214c76aa6411f2 /.zshrc | |
parent | fix neovim having two titles, fix man (diff) | |
download | dotfiles-arch-2e0f1541d649c648b4c8998fa38102e9f8322d5e.tar.gz dotfiles-arch-2e0f1541d649c648b4c8998fa38102e9f8322d5e.tar.bz2 dotfiles-arch-2e0f1541d649c648b4c8998fa38102e9f8322d5e.zip |
update mako, nvim add prolog
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -47,15 +47,16 @@ export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us=$'\e[1;35m' export GROFF_NO_SGR=1 -# exit bad -[ $NOEXIT ] && alias exit="echo Exiting is disabled" +.reload() { + # Enable zsh auto suggestions + autoload compinit && compinit + source $HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh + source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#696e8a" + ZSH_AUTOSUGGEST_STRATEGY=(completion history) +} -# Enable zsh auto suggestions -autoload compinit && compinit -source $HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh -source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#696e8a" -ZSH_AUTOSUGGEST_STRATEGY=(completion history) +.reload # Enable zsh keybinds for home, end, and other movement keybinds bindkey "\e[1;5D" backward-word @@ -67,6 +68,9 @@ bindkey "\e[H" beginning-of-line bindkey "\e[F" end-of-line bindkey "\e\d" undo +zle -N reload .reload +bindkey "^R" reload + # GPG SETUP FOR SSH export GPG_TTY=$(tty) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) |