Compare commits
2 Commits
537c81658a
...
fe08948870
Author | SHA1 | Date | |
---|---|---|---|
|
fe08948870 | ||
8a53e41b70 |
3
.zshrc
3
.zshrc
@ -75,6 +75,9 @@ plugins=(
|
|||||||
# zsh-history-substring-search
|
# zsh-history-substring-search
|
||||||
)
|
)
|
||||||
|
|
||||||
|
zstyle ':completion:*:make:*:targets' call-command true
|
||||||
|
zstyle ':completion:*:make:*' tag-order 'targets'
|
||||||
|
|
||||||
source $HOME/.bash_aliases
|
source $HOME/.bash_aliases
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
@ -43,3 +43,13 @@ else
|
|||||||
ZSH_THEME_GIT_PROMPT_REBASE="%{$fg_bold[magenta]%}|REBASE%{${reset_color}%} "
|
ZSH_THEME_GIT_PROMPT_REBASE="%{$fg_bold[magenta]%}|REBASE%{${reset_color}%} "
|
||||||
ZSH_THEME_GIT_PROMPT_BISECT="%{$fg_bold[magenta]%}|BISECT%{${reset_color}%} "
|
ZSH_THEME_GIT_PROMPT_BISECT="%{$fg_bold[magenta]%}|BISECT%{${reset_color}%} "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
function theme_preexec {
|
||||||
|
print -nr $'\e]2;'"$USER@$(hostname) » $PWD » $1 $2"$'\a'
|
||||||
|
}
|
||||||
|
add-zsh-hook preexec theme_preexec
|
||||||
|
|
||||||
|
function theme_precmd {
|
||||||
|
print -nr $'\e]2;'"$USER@$(hostname) » $PWD"$'\a'
|
||||||
|
}
|
||||||
|
add-zsh-hook precmd theme_precmd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user