update zshrc

This commit is contained in:
ktyl 2023-11-20 23:58:41 +00:00
parent 47395292cd
commit 85ca7b97e4
1 changed files with 6 additions and 8 deletions

14
.zshrc
View File

@ -1,6 +1,5 @@
export CONFIG=$HOME/.config export CONFIG=$HOME/.config
export PROJECTS=$HOME/prj export PROJECTS=$HOME/prj
export GOPATH=$PROJECTS/go
export PATH=$PATH:$GOPATH/bin export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$HOME/bin export PATH=$PATH:$HOME/bin
@ -14,12 +13,15 @@ source $SCRIPTS/func.sh
export TERMINAL=/usr/bin/kitty export TERMINAL=/usr/bin/kitty
export EDITOR=/usr/bin/nvim export EDITOR=/usr/bin/nvim
export ZSH=$HOME/.oh-my-zsh
export WTTRURL="wttr.in/?0" # start ssh-agent automatically
ssh-agent >/dev/null
eval $(ssh-agent -s) >/dev/null
# zsh stuff
export FFF_HIDDEN=1 export FFF_HIDDEN=1
export WTTRURL="wttr.in/?0"
export ZSH=$HOME/.oh-my-zsh
export XDG_CACHE_HOME=$HOME/.cache export XDG_CACHE_HOME=$HOME/.cache
ZSH_THEME="sunaku" ZSH_THEME="sunaku"
@ -35,7 +37,3 @@ if [ -f ~/.zsh_aliases ]; then
. ~/.zsh_aliases . ~/.zsh_aliases
fi fi
# start ssh-agent automatically
ssh-agent
eval $(ssh-agent -s)
clear