summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-07-18 00:20:12 -0500
committerzachir <zachir@librem.one>2023-07-18 00:20:12 -0500
commit327bf9baf38b5001304a55f809c2b7eb2d2168ac (patch)
tree38789788e5ea69e72a02b3fbc74b3a5ff640079a /zsh/.zshrc
parentb4c0b21a92978a06fbfb15144ec96ead69bcbce1 (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