refactor: keep only shared zsh ui config
This commit is contained in:
parent
d3b4eed4c9
commit
c03b7f265c
1 changed files with 0 additions and 57 deletions
57
.zshrc
57
.zshrc
|
|
@ -1,60 +1,3 @@
|
|||
# open file limit
|
||||
ulimit -S -n 24000
|
||||
|
||||
# brew
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
|
||||
# rbenv
|
||||
eval "$(rbenv init -)"
|
||||
|
||||
# pyenv
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
# direnv
|
||||
eval "$(direnv hook zsh)"
|
||||
|
||||
# //S/M
|
||||
smhss() {
|
||||
echo "$(tr '.' "\n" <<< "$1" | tail -r | xargs | tr ' ' ".").smhss.de"
|
||||
}
|
||||
sshn() {
|
||||
hostname=$(smhss $1)
|
||||
shift
|
||||
ssh $hostname $*
|
||||
}
|
||||
pingn() {
|
||||
hostname=$(smhss $1)
|
||||
shift
|
||||
ping $hostname $*
|
||||
}
|
||||
|
||||
# uv
|
||||
#alias pip="uv pip"
|
||||
#alias pip3="uv pip"
|
||||
|
||||
# The next line updates PATH for the Google Cloud SDK.
|
||||
if [ -f '/opt/homebrew/share/google-cloud-sdk/path.zsh.inc' ]; then . '/opt/homebrew/share/google-cloud-sdk/path.zsh.inc'; fi
|
||||
|
||||
# The next line enables shell command completion for gcloud.
|
||||
if [ -f '/opt/homebrew/share/google-cloud-sdk/completion.zsh.inc' ]; then . '/opt/homebrew/share/google-cloud-sdk/completion.zsh.inc'; fi
|
||||
|
||||
alias edit="code -n"
|
||||
|
||||
# claude
|
||||
#export CLAUDE_CODE_USE_VERTEX=1
|
||||
#export CLOUD_ML_REGION=europe-west1
|
||||
#export ANTHROPIC_VERTEX_PROJECT_ID=seibert-recruiting-ai
|
||||
#export ANTHROPIC_MODEL='claude-sonnet-4-6'
|
||||
#export ANTHROPIC_SMALL_FAST_MODEL='claude-haiku-4-5'
|
||||
|
||||
# claud
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
# opencode
|
||||
export PATH=/Users/mwiegand/.opencode/bin:$PATH
|
||||
|
||||
setopt prompt_subst
|
||||
|
||||
autoload -Uz colors
|
||||
|
|
|
|||
Loading…
Reference in a new issue