Update profile and zsh to remove pass from .profile
This commit is contained in:
parent
9eefd32bba
commit
cc70db25c6
2 changed files with 8 additions and 5 deletions
|
|
@ -4,6 +4,3 @@
|
||||||
|
|
||||||
export PATH="$PATH:/usr/local/cuda-12.8/bin:$HOME/bin:$HOME/.local/bin"
|
export PATH="$PATH:/usr/local/cuda-12.8/bin:$HOME/bin:$HOME/.local/bin"
|
||||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-12.8/lib64"
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-12.8/lib64"
|
||||||
|
|
||||||
export ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic
|
|
||||||
export ANTHROPIC_AUTH_TOKEN="$(pass list zai_token)"
|
|
||||||
|
|
|
||||||
10
home/.zshrc
10
home/.zshrc
|
|
@ -25,6 +25,8 @@ export LS_COLORS='di=1;37:ln=35:so=32:pi=33:ex=1;32:bd=34;46:cd=34;43:su=30;41:s
|
||||||
export XKB_DEFAULT_OPTIONS="caps:escape"
|
export XKB_DEFAULT_OPTIONS="caps:escape"
|
||||||
export PASSWORD_STORE_CHARACTER_SET='a-zA-Z0-9+\-$!*_='
|
export PASSWORD_STORE_CHARACTER_SET='a-zA-Z0-9+\-$!*_='
|
||||||
export XDEB_PKGROOT=${HOME}/.config/xdeb
|
export XDEB_PKGROOT=${HOME}/.config/xdeb
|
||||||
|
export EDITOR=nvim
|
||||||
|
export TERMINAL=ghostty
|
||||||
|
|
||||||
# Custom path additions
|
# Custom path additions
|
||||||
source ~/.profile
|
source ~/.profile
|
||||||
|
|
@ -36,7 +38,9 @@ source ~/.profile
|
||||||
alias clip2png="xclip -selection clipboard -target image/png -out"
|
alias clip2png="xclip -selection clipboard -target image/png -out"
|
||||||
alias k="kubectl"
|
alias k="kubectl"
|
||||||
|
|
||||||
|
ssh() {
|
||||||
|
NO_TMUX=1 nohup ghostty --command="ssh $*" >/dev/null 2>&1 &
|
||||||
|
}
|
||||||
|
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
# Functions
|
# Functions
|
||||||
|
|
@ -101,6 +105,8 @@ gemini() {
|
||||||
|
|
||||||
claude() {
|
claude() {
|
||||||
unset -f claude
|
unset -f claude
|
||||||
|
export ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic
|
||||||
|
export ANTHROPIC_AUTH_TOKEN="$(pass list zai_token)"
|
||||||
npm 2>&1 1>/dev/null
|
npm 2>&1 1>/dev/null
|
||||||
claude "$@"
|
claude "$@"
|
||||||
}
|
}
|
||||||
|
|
@ -163,7 +169,7 @@ else
|
||||||
alias ls="ls --classify --group-directories-first --color"
|
alias ls="ls --classify --group-directories-first --color"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$TMUX" ]] && [[ -n "$PS1" ]]; then
|
if [[ -z "$TMUX" ]] && [[ -n "$PS1" ]] && [[ -z "$NO_TMUX" ]]; then
|
||||||
tmux attach -t dev || tmux new -s dev
|
tmux attach -t dev || tmux new -s dev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue