Skip to content

Commit

Permalink
Update .zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
codechenx authored Feb 12, 2024
1 parent 44205f7 commit 4cb77a1
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions config/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,6 @@ setopt inc_append_history # add commands as they are typed, don't wait unt
setopt share_history # share hist between sessions
setopt extended_history # record timestamp of command in HISTFILE
### hide name ###
#prompt_context() {}

### anaconda ###
# >>> mamba initialize >>>
# !! Contents within this block are managed by 'mamba init' !!
export MAMBA_EXE='/usr/local/opt/micromamba/bin/micromamba';
export MAMBA_ROOT_PREFIX='/Users/stephen/micromamba';
__mamba_setup="$("$MAMBA_EXE" shell hook --shell zsh --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__mamba_setup"
else
alias micromamba="$MAMBA_EXE" # Fallback on help from mamba activate
fi
unset __mamba_setup
# <<< mamba initialize <<<
CONDA_CHANGEPS1=false

### Go ###
export GOPATH="$HOME/Applications/go/"
Expand All @@ -83,7 +67,6 @@ export GO111MODULE=on
#export GOPROXY=https://goproxy.cn

### Rust ###
#export RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup
export PATH="$HOME/.cargo/bin:$PATH"
fpath+=~/.zfunc

Expand All @@ -110,4 +93,4 @@ rga-fzf() {
xdg-open "$file"
}

test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"

0 comments on commit 4cb77a1

Please sign in to comment.