Skip to content

Commit 37e2de4

Browse files
authored
Disable history sharing
1 parent 9009490 commit 37e2de4

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.zshrc

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -142,20 +142,5 @@ zstyle :bracketed-paste-magic paste-finish pastefinish
142142
# alias zshconfig="mate ~/.zshrc"
143143
# alias ohmyzsh="mate ~/.oh-my-zsh"
144144

145-
# !! Contents within this block are managed by 'conda init' !!
146-
147-
__conda_setup="$('/opt/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
148-
149-
if [ $? -eq 0 ]; then
150-
eval "$__conda_setup"
151-
else
152-
if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then
153-
# . "/opt/anaconda3/etc/profile.d/conda.sh" # commented out by conda initialize
154-
else
155-
# export PATH="/opt/anaconda3/bin:$PATH" # commented out by conda initialize
156-
fi
157-
fi
158-
159-
unset __conda_setup
160-
161-
# <<< conda initialize <<<
145+
unsetopt share_history
146+
setopt inc_append_history

0 commit comments

Comments
 (0)