~charles/dotfiles

781afe0d0ea086e45876c318726df27e3d8e403f — Charles Daniels 3 years ago b738802
zsh short hostname (omit FQDN)
1 files changed, 2 insertions(+), 3 deletions(-)

M overlay/.zshrc
M overlay/.zshrc => overlay/.zshrc +2 -3
@@ 136,7 136,6 @@ function nios2eds_status_disp {
	fi
}

# export PROMPT='$(echo -en "\033]0;zsh\a")[%n@%M][%T][$VISTATE][$(felix_pwd_abbr)]
# ($(nios2eds_status_disp)zsh) $ '
export SHORT_HOSTNAME="$(hostname | cut -d'.' -f1)"

export PROMPT='$(echo -en "\033];zsh\a")%n@%M:$(felix_pwd_abbr) $(nios2eds_status_disp)$VISTATE '
export PROMPT='$(echo -en "\033];zsh\a")%n@$SHORT_HOSTNAME:$(felix_pwd_abbr) $(nios2eds_status_disp)$VISTATE '