summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-07-18 00:20:12 -0500
committerZachIR <zachir@zdx-raina>2023-07-26 10:25:26 -0500
commit7bb7b3595a443a7e52f9f83e12340602cccd0148 (patch)
tree88bb4cde3830e2fc72cabb4e0f032dfa9bab498f /zsh/.zshrc
parent1f8201bcb27bdefdb411431dac564ac216140923 (diff)
Add anonsh for private shell hist
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index d11c091..70b5fef 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -11,6 +11,9 @@ setopt HIST_REDUCE_BLANKS
_SH="zsh"
+fpath=("$XDG_CONFIG_HOME"/zsh/functions(:A) $fpath)
+autoload -Uz anonsh
+
if [ -f "$XDG_CONFIG_HOME"/sh/aliases ]; then
source "$XDG_CONFIG_HOME"/sh/aliases
fi