aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-02-22 15:03:30 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-02-22 15:03:30 +0800
commitd0947320bc1b3a1223097749affe798ba225f979 (patch)
tree7dad38f06475b1757b675f80762d2452e8809cb0 /zsh
parentc9fc50031b3f304c58524a3ee524598eed648560 (diff)
Update
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc8
1 files changed, 7 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 0c5c9c0..c11e798 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -14,7 +14,13 @@ source $SETTING_DIR/zsh/completion.zsh
14source $SETTING_DIR/bin/init/load-settings.sh 14source $SETTING_DIR/bin/init/load-settings.sh
15 15
16# Reload zshrc 16# Reload zshrc
17alias .="source $ZDOTDIR/.zshrc" 17function .() {
18 if [ $# -eq 0 ]; then
19 source $ZDOTDIR/.zshrc
20 else
21 source $@
22 fi
23}
18 24
19# Options 25# Options
20setopt extended_glob 26setopt extended_glob