Commit a8c949e1 authored by Murukesh Mohanan's avatar Murukesh Mohanan

update screenrc

parent d6a08e3e
autodetach on
startup_message off
hardstatus alwayslastline
shelltitle '$SHELL'
#shelltitle "$PWD"
hardstatus string '%{gk}[%{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= w}%?%+Lw%?%? %{g}][%{d}%l%{g}][ %{= w}%Y/%m/%d %0C:%s%a%{g} ]%{W}'
term screen-256color
......@@ -179,6 +179,19 @@ autoload -U edit-command-line
zle -N edit-command-line
bindkey -M vicmd v edit-command-line
if [[ $TERM = screen* ]]
then
# If running in screen, set the window title to the command about to be executed
preexec() {
[ -n "$WINDOW" ] && print -Pn "\ek$2\e\\"
}
# If in screen, blank the window title when displaying the prompt
precmd() {
[ -n "$WINDOW" ] && print -Pn "\ek-\e\\"
}
fi
# [[ -f ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] &&
# . ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
[[ -f ~/.zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh ]] &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment