Fixed some minor "errors"
Doesn't seem to have affected functionality but some neatness added since ZDOTDIR is defined. also fixed minor typo
This commit is contained in:
parent
3a11984112
commit
d038098795
13
zshrc
13
zshrc
|
|
@ -19,13 +19,13 @@ zmodload zsh/complist
|
||||||
|
|
||||||
## Source Other files
|
## Source Other files
|
||||||
source $HOME/.profile
|
source $HOME/.profile
|
||||||
source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/aliases
|
source ${ZDOTDIR}/aliases
|
||||||
source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/dir_aliases
|
source ${ZDOTDIR}/dir_aliases
|
||||||
source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/prompt
|
source ${ZDOTDIR}/prompt
|
||||||
source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/keyboard
|
source ${ZDOTDIR}/keyboard
|
||||||
|
|
||||||
## Source Functions
|
## Source Functions
|
||||||
source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/functions/*
|
source ${ZDOTDIR}/functions/*
|
||||||
|
|
||||||
## Set option
|
## Set option
|
||||||
setopt emacs ## Emacs style keybinds
|
setopt emacs ## Emacs style keybinds
|
||||||
|
|
@ -60,10 +60,9 @@ zle -N edit-command-line
|
||||||
bindkey "^X^E" edit-command-line
|
bindkey "^X^E" edit-command-line
|
||||||
|
|
||||||
## Enable gpg-agent support
|
## Enable gpg-agent support
|
||||||
|
|
||||||
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
|
||||||
gpg-gpg-connect-agent /bye
|
gpg-connect-agent /bye
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
|
|
||||||
## Load external stuff
|
## Load external stuff
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user