aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zsh/functions/settitle2
-rw-r--r--zsh/zshrc.org10
2 files changed, 12 insertions, 0 deletions
diff --git a/zsh/.zsh/functions/settitle b/zsh/.zsh/functions/settitle
new file mode 100644
index 0000000..6bc64d8
--- /dev/null
+++ b/zsh/.zsh/functions/settitle
@@ -0,0 +1,2 @@
+# -*- mode: sh; -*-
+printf "\\e]0;$1\\a"
diff --git a/zsh/zshrc.org b/zsh/zshrc.org
index dcdc1cd..27af335 100644
--- a/zsh/zshrc.org
+++ b/zsh/zshrc.org
@@ -210,3 +210,13 @@ Autoload any ZSH function from =$HOME/.zsh/functions=.
PROMPT='%T $(spwd) %B%(?.%F{2}.%F{1}[%?])>%b%f '
RPROMPT='${vcs_info_msg_0_}'
#+end_src
+
+* Other configurations
+
+Other setups might also make ZSH files, these should all be loaded.
+
+#+begin_src sh
+ for f in ~/.config/zsh/conf.d/*.sh; do
+ source $f
+ done
+#+end_src