mirror of
https://gitlab.com/ceda_ei/wish
synced 2025-04-03 00:56:53 +02:00
Revert "Update plugins to new specification for wish_append"
This reverts commit b389774a5062342aaee11588e1754005c8268789. Since PS1 escape codes are allowed once more, this commit is no longer needed.
This commit is contained in:
parent
919b102a43
commit
30ebb302b8
@ -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 "
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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 "
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user