update zshrc
This commit is contained in:
parent
877b5069a6
commit
5861e2da9b
14
.zshrc
14
.zshrc
@ -45,6 +45,19 @@ COMPLETION_WAITING_DOTS="true"
|
||||
# see 'man strftime' for details.
|
||||
# HIST_STAMPS="mm/dd/yyyy"
|
||||
|
||||
# ssh auth stuffs
|
||||
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
|
||||
eval `ssh-agent` > /dev/null
|
||||
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
|
||||
fi
|
||||
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
|
||||
ssh-add -l > /dev/null || ssh-add > /dev/null
|
||||
|
||||
if [ -n "$DESKTOP_SESSION" ];then
|
||||
eval $(gnome-keyring-daemon --start --components=ssh)
|
||||
export SSH_AUTH_SOCK
|
||||
fi
|
||||
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
ZSH_CUSTOM=~/.config/zsh
|
||||
|
||||
@ -67,6 +80,7 @@ source $ZSH/oh-my-zsh.sh
|
||||
# User configuration
|
||||
|
||||
export LANG=en_US.UTF-8
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
Loading…
Reference in New Issue
Block a user