|
@@ -45,6 +45,8 @@ __bashum__mkps1() {
|
45
|
45
|
echo -n "$BASHUM_PS_COLOR_LWHITE@" # nice shiny at sign
|
46
|
46
|
echo -n "$(__bashum__mkps1host)" # hostname colored per host
|
47
|
47
|
echo -n "$BASHUM_PS_COLOR_LYELLOW" #\
|
|
48
|
+ test -n "$BASHUM_CTXSYM" \
|
|
49
|
+ && echo -n "[$BASHUM_CTXSYM]" # > bashum's context symbol
|
48
|
50
|
echo -n '$(__bashum__task_context)' # > taskwarrior's context
|
49
|
51
|
echo -n "$BASHUM_PS_COLOR_NORMAL" #/
|
50
|
52
|
echo -n "$BASHUM_PS_COLOR_LWHITE:" # nice shiny colon
|
|
@@ -202,9 +204,11 @@ __bashum__mkpc() {
|
202
|
204
|
|
203
|
205
|
__bashum__mkicon() {
|
204
|
206
|
case "$SSH_CONNECTION" in
|
205
|
|
- "") echo ;;
|
206
|
|
- *) echo ;;
|
|
207
|
+ "") echo -n ;;
|
|
208
|
+ *) echo -n ;;
|
207
|
209
|
esac
|
|
210
|
+ test -n "$BASHUM_CTXSYM" \
|
|
211
|
+ && echo " [$BASHUM_CTXSYM]"
|
208
|
212
|
}
|
209
|
213
|
|
210
|
214
|
__bashum__mkhostid() {
|