Make caps-lock on prompt update when toggled

This commit is contained in:
Jonathan Hodgson 2018-04-27 12:30:37 +01:00
parent 22074a2a82
commit 7a96f6718a
4 changed files with 15 additions and 7 deletions

View file

@ -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