We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fb3fce commit 4d36a22Copy full SHA for 4d36a22
.zsh/rc/_toggle_zsh_init_echos .zsh/func/...toggle-zsh-init-echos
@@ -1,5 +1,4 @@
1
-#!/bin/zsh
2
-...toggle_zsh_init_echos() {(
+(
3
set -xe
4
[ -d ~/.zsh ]
5
subdirs=(.zsh/env .zsh/profile .sh .zsh/rc .zsh/login)
@@ -9,7 +8,7 @@
9
8
done
10
else
11
for n in $subdirs; do
12
- echo 'echo "+ In $0"' >| ~/$n/_echo
+ echo 'echo "+ In $n"' >| ~/$n/_echo || true
13
14
fi
15
-)}
+)
.zshrc
@@ -1,5 +1,6 @@
...filestart .zshrc
...sourcedircontents ~/.sh # Common with bash
+fpath+=(~/.zsh/func); autoload -U ~/.zsh/func/*(:t)
...eachsource .zshrc
...sourcedircontents ~/.zsh/rc
6
...fileend .zshrc
0 commit comments