From 7bc48c6df47c9a92ca6b483c524bd9c119a6d322 Mon Sep 17 00:00:00 2001 From: Rahsheen Porter Date: Sun, 6 Aug 2023 15:13:29 -0400 Subject: [PATCH] update zsh history config --- .zshrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index e035cf60..215dc8f5 100644 --- a/.zshrc +++ b/.zshrc @@ -14,6 +14,9 @@ alias vimconfig="GIT_DIR=$HOME/.cfg GIT_WORK_TREE=$HOME nvim" alias asdfg="setxkbmap -option ctrl:nocaps dvorak" alias aoeu="setxkbmap -option ctrl:nocaps us" +setopt no_share_history +unsetopt share_history + # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" @@ -49,8 +52,6 @@ fi . $HOME/.asdf/asdf.sh -# append completions to fpath -fpath=(${ASDF_DIR}/completions $fpath) # initialise completions with ZSH's compinit autoload -Uz compinit && compinit