diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/source/enable-shared-history.zsh | 5 | ||||
| -rw-r--r-- | examples/zshrc.local | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/examples/source/enable-shared-history.zsh b/examples/source/enable-shared-history.zsh new file mode 100644 index 0000000..9b29c96 --- /dev/null +++ b/examples/source/enable-shared-history.zsh @@ -0,0 +1,5 @@ +setopt sharehistory + +HISTSIZE=1000 +SAVEHIST=1000 +HISTFILE="$zd/history" diff --git a/examples/zshrc.local b/examples/zshrc.local new file mode 100644 index 0000000..6b74342 --- /dev/null +++ b/examples/zshrc.local @@ -0,0 +1,11 @@ +# example of a basic local zshrc + +autoload autosource # for plugins +autosource sudo # enable sudo plugin + +autoload sprunge # something with output | sprunge, and sprunge < somefile + +# get a non-default prompt +autoload -Uz promptinit +promptinit +prompt pure |
