update zsh terminal title
This commit is contained in:
@@ -12,6 +12,9 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case Insensitive
|
|||||||
setopt autocd # cd without it
|
setopt autocd # cd without it
|
||||||
setopt share_history
|
setopt share_history
|
||||||
|
|
||||||
|
# Set terminal title to hostname
|
||||||
|
echo -n -e "\033]0;SSH: $(hostname)\007"
|
||||||
|
|
||||||
# Git prompt function
|
# Git prompt function
|
||||||
git_prompt_info() {
|
git_prompt_info() {
|
||||||
if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
||||||
|
|||||||
Reference in New Issue
Block a user