diff --git a/plugins/hostname.sh b/plugins/hostname.sh index c1ccea6..5e4ced3 100644 --- a/plugins/hostname.sh +++ b/plugins/hostname.sh @@ -12,5 +12,5 @@ function wish_hostname_set_colors() { } function wish_hostname_main() { - wish_append $WISH_HOSTNAME_BG $WISH_HOSTNAME_FG " $HOSTNAME " + wish_append $WISH_HOSTNAME_BG $WISH_HOSTNAME_FG " \h " } diff --git a/plugins/path.sh b/plugins/path.sh index cce71ca..8e3329d 100644 --- a/plugins/path.sh +++ b/plugins/path.sh @@ -14,9 +14,9 @@ function wish_path_set_colors() { function wish_path_main() { if [[ -w $PWD ]]; then - local path=" ${PWD/$HOME/\~} " + local path=" \w " else - local path=" ${PWD/$HOME/\~}$WISH_PATH_NO_WRITE_SUFFIX " + local path=" \w$WISH_PATH_NO_WRITE_SUFFIX " fi wish_append $WISH_PATH_BG $WISH_PATH_FG "$path" } diff --git a/plugins/username.sh b/plugins/username.sh index fa0e65b..617410a 100644 --- a/plugins/username.sh +++ b/plugins/username.sh @@ -12,5 +12,5 @@ function wish_username_set_colors() { } function wish_username_main() { - wish_append $WISH_USERNAME_BG $WISH_USERNAME_FG " $USER " + wish_append $WISH_USERNAME_BG $WISH_USERNAME_FG " \u " }