Improve swap_mode command
This commit is contained in:
parent
47b0bbbdc5
commit
dc6c3cda99
6 changed files with 45 additions and 6 deletions
|
@ -2,5 +2,8 @@
|
|||
|
||||
[ -f "/home/aselimov/.ghcup/env" ] && . "/home/aselimov/.ghcup/env" # ghcup-env
|
||||
|
||||
export PATH="$PATH:/usr/local/cuda-12.8/bin:$HOME/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 ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic
|
||||
export ANTHROPIC_AUTH_TOKEN="$(pass list zai_token)"
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
[ -f "/home/aselimov/.ghcup/env" ] && . "/home/aselimov/.ghcup/env" # ghcup-env
|
||||
|
||||
export PATH="$PATH:/usr/local/cuda-12.8/bin:$HOME/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"
|
||||
|
|
|
@ -16,6 +16,8 @@ setopt HIST_IGNORE_SPACE # Don't save commands starting with space
|
|||
# Environment Variables
|
||||
#==============================================================================
|
||||
|
||||
source ~/.profile
|
||||
|
||||
export OMPI_MCA_rmaps_base_oversubscribe=1
|
||||
export CLICOLOR=1
|
||||
export LSCOLORS=ExGxBxDxCxEgEdxbxgxcxd
|
||||
|
@ -106,10 +108,13 @@ gemini() {
|
|||
unset -f nvm node npm gemini
|
||||
load_nvm
|
||||
gemini "$@"
|
||||
|
||||
|
||||
}
|
||||
|
||||
claude() {
|
||||
unset -f claude
|
||||
npm 2>&1 1>/dev/null
|
||||
claude "$@"
|
||||
}
|
||||
# ghcup
|
||||
[ -f "/home/aselimov/.ghcup/env" ] && . "/home/aselimov/.ghcup/env" # ghcup-env
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue