~lindsay/dotfiles

afb5695b861a6dca195678886f679e6adcbe00b0 — Lindsay 2 months ago 0d61993
add flexibility for zshrc
3 files changed, 7 insertions(+), 2 deletions(-)

M dot_zshalias
M dot_zshrc
M executable_dot_zshenv
M dot_zshalias => dot_zshalias +1 -0
@@ 21,5 21,6 @@ alias config='chezmoi'
#alias bak='LOCATION=`hostname |  awk -F. '"'"'{print $1}'"'"'` RESTIC_PASSWORD=`pass tool/io.lin.moe/restic/$LOCATION` && restic -r rest:https://lindsay:$(pass tool/io.lin.moe/restic/lindsay)@io.lin.moe/restic/$LOCATION'

alias rls='rclone lsf'
alias k='kubectl'

#alias restic='/usr/bin/restic -r sftp:tei:/store/Backup/reisen --password-command="/usr/bin/pass tool/restic/reisen"'

M dot_zshrc => dot_zshrc +1 -1
@@ 28,7 28,7 @@ zstyle ':vcs_info:git:*' formats '%b↗| '
setopt PROMPT_SUBST
PROMPT='%B%F{161}${vcs_info_msg_0_}%f%b'$PROMPT

source $HOME/.zshalias
if [ -f "$HOME/.zshalias" ]; then source $HOME/.zshalias; fi

if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec sway; fi


M executable_dot_zshenv => executable_dot_zshenv +5 -1
@@ 1,4 1,8 @@
export PATH="$HOME/.local/bin:$(go env GOPATH)/bin:$PATH"
if [ -x "go"O ]; then 
  PATH="$(go env GOPATH)/bin:$PATH"
fi
export PATH="$HOME/.local/bin:$PATH"

export XDG_CONFIG_HOME="/home/lindsay/.config"

export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)