mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Update theme and gpg-agent for fedora
This commit is contained in:
parent
e4a2a002c4
commit
276a8e306d
1 changed files with 12 additions and 5 deletions
|
|
@ -5,7 +5,8 @@ export ZSH=~/.oh-my-zsh
|
|||
# it'll load a random theme each time that oh-my-zsh is loaded.
|
||||
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
||||
if [[ `uname` == 'Linux' ]]; then
|
||||
ZSH_THEME="af-magic"
|
||||
ZSH_THEME="beanbag"
|
||||
#ZSH_THEME="af-magic"
|
||||
else
|
||||
ZSH_THEME="beanbag"
|
||||
#ZSH_THEME="pygmalion"
|
||||
|
|
@ -66,12 +67,18 @@ source $ZSH/oh-my-zsh.sh
|
|||
|
||||
[ -f ~/.private-env ] && source ~/.private-env || echo '~/.private-env is missing'
|
||||
|
||||
# Add GPG Suite binaries to the path:
|
||||
export PATH=/usr/local/MacGPG2/bin:$PATH
|
||||
|
||||
# Start GPG agent
|
||||
export GPG_TTY=$(tty)
|
||||
export SSH_AUTH_SOCK=~/.gnupg/S.gpg-agent.ssh
|
||||
|
||||
if [[ `uname` == 'Linux' ]]; then
|
||||
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
||||
else
|
||||
# Add GPG Suite binaries to the path:
|
||||
export PATH=/usr/local/MacGPG2/bin:$PATH
|
||||
|
||||
export SSH_AUTH_SOCK=~/.gnupg/S.gpg-agent.ssh
|
||||
fi
|
||||
|
||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue