summaryrefslogtreecommitdiff
path: root/dot_local/share/toasty/examples
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2020-02-14 19:11:04 -0500
committerChloe Kudryavtsev <toast@toast.cafe>2020-02-14 19:11:04 -0500
commit0d9a5a245a7be7e444d7f34e959dd06cb7b053e0 (patch)
tree3d42142e6ee22dbb72683e0b3549216f17bb6629 /dot_local/share/toasty/examples
parentzsh: remove toasty (preparation for git subtree) (diff)
parentSquashed 'dot_local/share/toasty/' content from commit aee4da7 (diff)
Merge commit '858a4a31a251d0eab21dffb96776aca007dafb07' as 'dot_local/share/toasty'
Diffstat (limited to 'dot_local/share/toasty/examples')
-rw-r--r--dot_local/share/toasty/examples/source/enable-shared-history.zsh5
-rw-r--r--dot_local/share/toasty/examples/zshrc.local11
2 files changed, 16 insertions, 0 deletions
diff --git a/dot_local/share/toasty/examples/source/enable-shared-history.zsh b/dot_local/share/toasty/examples/source/enable-shared-history.zsh
new file mode 100644
index 0000000..9b29c96
--- /dev/null
+++ b/dot_local/share/toasty/examples/source/enable-shared-history.zsh
@@ -0,0 +1,5 @@
+setopt sharehistory
+
+HISTSIZE=1000
+SAVEHIST=1000
+HISTFILE="$zd/history"
diff --git a/dot_local/share/toasty/examples/zshrc.local b/dot_local/share/toasty/examples/zshrc.local
new file mode 100644
index 0000000..6b74342
--- /dev/null
+++ b/dot_local/share/toasty/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