ZSH: Set EDITOR, add alias cb, vi

This commit is contained in:
Tobias Manske 2021-02-12 17:26:14 +01:00
parent 47b8fb2486
commit 2cc11a7761
Signed by: tobias
GPG Key ID: D5914DC71F2F9352

6
.zshrc
View File

@ -126,10 +126,16 @@ bindkey -M vicmd 'j' history-substring-search-down
export FZF_DEFAULT_COMMAND='fd --type f' export FZF_DEFAULT_COMMAND='fd --type f'
source /usr/share/fzf/completion.zsh source /usr/share/fzf/completion.zsh
source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf/key-bindings.zsh
alias pdfdiff="diffpdf" alias pdfdiff="diffpdf"
alias cb="xclip -sel clipboard"
alias vi="vim"
# GPG for SSH # GPG for SSH
export GPG_TTY="$(tty)" export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent gpgconf --launch gpg-agent
# Editor
export EDITOR=vim