mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Fix issue with shared history in zsh
This commit is contained in:
38
zshrc.zsh
38
zshrc.zsh
@@ -49,23 +49,6 @@ if [[ $TMPDIR == "/var/folders/"* ]] || [[ $TMPDIR == "" ]]; then
|
||||
mkdir -p "$TMPDIR"
|
||||
fi
|
||||
|
||||
# ==============================================================================
|
||||
# Basic Z-Shell settings
|
||||
# ==============================================================================
|
||||
|
||||
# Disable auto-title.
|
||||
DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Enable bash-style completion.
|
||||
autoload -U +X compinit && compinit
|
||||
autoload -U +X bashcompinit && bashcompinit
|
||||
|
||||
# Disable shared history.
|
||||
unsetopt share_history
|
||||
|
||||
# Disable attempted correction of commands (is wrong 98% of the time).
|
||||
unsetopt correctall
|
||||
|
||||
# ==============================================================================
|
||||
# zplug
|
||||
# ==============================================================================
|
||||
@@ -103,6 +86,14 @@ fi
|
||||
|
||||
zplug load
|
||||
|
||||
# ==============================================================================
|
||||
# Bash compatibility
|
||||
# ==============================================================================
|
||||
|
||||
# Enable bash-style completion.
|
||||
autoload -U +X compinit && compinit
|
||||
autoload -U +X bashcompinit && bashcompinit
|
||||
|
||||
# ==============================================================================
|
||||
# Load custom scripts
|
||||
# ==============================================================================
|
||||
@@ -132,3 +123,16 @@ source "$DOTZSH/kubernetes.zsh"
|
||||
if [ -f "$DOTPFILES/shellrc.sh" ]; then
|
||||
source "$DOTPFILES/shellrc.sh"
|
||||
fi
|
||||
|
||||
# ==============================================================================
|
||||
# Basic Z-Shell settings
|
||||
# ==============================================================================
|
||||
|
||||
# Disable auto-title.
|
||||
DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Disable shared history.
|
||||
unsetopt share_history
|
||||
|
||||
# Disable attempted correction of commands (is wrong 98% of the time).
|
||||
unsetopt correctall
|
||||
|
||||
Reference in New Issue
Block a user