Make caps-lock on prompt update when toggled
This commit is contained in:
parent
c83cddfb9b
commit
4c3b1709a0
4 changed files with 15 additions and 7 deletions
|
@ -87,6 +87,10 @@ source $ZSH/oh-my-zsh.sh
|
|||
|
||||
source ~/.dotfiles/shells/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
TRAPWINCH(){
|
||||
zle && {zle reset-prompt; zle -R}
|
||||
}
|
||||
|
||||
if [ -f ~/.current-folder ] && [ ! $TMUX ]; then
|
||||
cd "$(cat ~/.current-folder)"
|
||||
clear
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue