diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-02-22 15:03:30 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-02-22 15:03:30 +0800 |
commit | d0947320bc1b3a1223097749affe798ba225f979 (patch) | |
tree | 7dad38f06475b1757b675f80762d2452e8809cb0 /zsh | |
parent | c9fc50031b3f304c58524a3ee524598eed648560 (diff) |
Update
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/zshrc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -14,7 +14,13 @@ source $SETTING_DIR/zsh/completion.zsh | |||
14 | source $SETTING_DIR/bin/init/load-settings.sh | 14 | source $SETTING_DIR/bin/init/load-settings.sh |
15 | 15 | ||
16 | # Reload zshrc | 16 | # Reload zshrc |
17 | alias .="source $ZDOTDIR/.zshrc" | 17 | function .() { |
18 | if [ $# -eq 0 ]; then | ||
19 | source $ZDOTDIR/.zshrc | ||
20 | else | ||
21 | source $@ | ||
22 | fi | ||
23 | } | ||
18 | 24 | ||
19 | # Options | 25 | # Options |
20 | setopt extended_glob | 26 | setopt extended_glob |