diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-11-20 19:52:38 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-11-20 19:52:44 +0800 |
commit | 63b9c7006c1ad21e8fa52c318eb1a616abc4260e (patch) | |
tree | f2b46d7935e8985124857cc6c8945e1473fb1a20 | |
parent | 88e326062c8165cba6a99a1e0f7d7ec547a31987 (diff) |
Update
-rw-r--r-- | alias | 4 | ||||
-rw-r--r-- | profile | 2 | ||||
-rw-r--r-- | zsh/zshrc | 9 |
3 files changed, 8 insertions, 7 deletions
@@ -157,6 +157,10 @@ alias gpg.config="$EDITOR ~/.gnupg/gpg-agent.conf" | |||
157 | # }}} | 157 | # }}} |
158 | # MAIL {{{ | 158 | # MAIL {{{ |
159 | alias smtp.conf='sudo vim /etc/smtpd/smtpd.conf' | 159 | alias smtp.conf='sudo vim /etc/smtpd/smtpd.conf' |
160 | alias mail.conf='sudo vim /etc/smtpd/smtpd.conf' | ||
161 | alias mail.pass='sudo vim /etc/mail/passwd' | ||
162 | alias mail.queue='sudo smtpctl show queue' | ||
163 | alias mail.show='sudo smtpctl show' | ||
160 | alias m='mutt' | 164 | alias m='mutt' |
161 | alias mutt.rc="$EDITOR ~/.config/mutt/muttrc" | 165 | alias mutt.rc="$EDITOR ~/.config/mutt/muttrc" |
162 | alias h='himalaya' | 166 | alias h='himalaya' |
@@ -37,7 +37,7 @@ fi | |||
37 | # Set zsh or bash | 37 | # Set zsh or bash |
38 | if [[ $- =~ i ]]; then | 38 | if [[ $- =~ i ]]; then |
39 | if [[ $shell == zsh ]]; then | 39 | if [[ $shell == zsh ]]; then |
40 | setopt extended_glob | 40 | setopt extended_glob interactive_comments |
41 | fpath=($SETTING_DIR/zsh $fpath) | 41 | fpath=($SETTING_DIR/zsh $fpath) |
42 | alias history='history -i' | 42 | alias history='history -i' |
43 | autoload compinit; compinit | 43 | autoload compinit; compinit |
@@ -141,11 +141,6 @@ bindkey '^[,' insert-first-word | |||
141 | # Quick jump to parent folders | 141 | # Quick jump to parent folders |
142 | source $SETTING_DIR/zsh/bd.zsh | 142 | source $SETTING_DIR/zsh/bd.zsh |
143 | 143 | ||
144 | |||
145 | # Load my general settings | ||
146 | source $SETTING_DIR/bin/init/load-settings.sh | ||
147 | |||
148 | |||
149 | # Finally, make sure the terminal is in application mode, when zle is | 144 | # Finally, make sure the terminal is in application mode, when zle is |
150 | # active. Only then are the values from $terminfo valid. | 145 | # active. Only then are the values from $terminfo valid. |
151 | if (( ${+terminfo[smkx]} && ${+terminfo[rmkx]} )); then | 146 | if (( ${+terminfo[smkx]} && ${+terminfo[rmkx]} )); then |
@@ -162,4 +157,6 @@ case ":$PATH:" in | |||
162 | *":$PNPM_HOME:"*) ;; | 157 | *":$PNPM_HOME:"*) ;; |
163 | *) export PATH="$PNPM_HOME:$PATH" ;; | 158 | *) export PATH="$PNPM_HOME:$PATH" ;; |
164 | esac | 159 | esac |
165 | # pnpm end \ No newline at end of file | 160 | # pnpm end |
161 | |||
162 | source $SETTING_DIR/profile | ||