@kecan0406/ttheme 1.2.26 → 1.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/ttheme.js +2 -2
- package/bin/ttheme.js.map +1 -1
- package/dist/manifest.json +1 -1
- package/package.json +1 -1
- package/shell/ttheme.zsh +3 -3
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
package/shell/ttheme.zsh
CHANGED
|
@@ -71,7 +71,7 @@ __tt_fresh() {
|
|
|
71
71
|
|
|
72
72
|
__tt_prompt() {
|
|
73
73
|
emulate -L zsh ${=${options[xtrace]:#off}:+-o xtrace}
|
|
74
|
-
(( TTHEME_FRONT < 0 )) || TTHEME_FRONT=0
|
|
74
|
+
(( TTHEME_FRONT < 0 || ! TTHEME_RAN )) || TTHEME_FRONT=0
|
|
75
75
|
[[ -n $TTHEME_SSH_SPEC ]] && __tt_ssh_back
|
|
76
76
|
__tt_fresh
|
|
77
77
|
}
|
|
@@ -98,7 +98,7 @@ __tt_gone() {
|
|
|
98
98
|
__tt_off_here() {
|
|
99
99
|
local bg=${TTHEME_SPEC%% *}
|
|
100
100
|
TTHEME_SPEC=
|
|
101
|
-
if __tt_shown "" || [[ $1 ==
|
|
101
|
+
if __tt_shown "" $1 || [[ $1 == force ]]; then
|
|
102
102
|
__tt_reload
|
|
103
103
|
fi
|
|
104
104
|
__tt_unshown force
|
|
@@ -1406,7 +1406,7 @@ __tt_switch() {
|
|
|
1406
1406
|
return 0
|
|
1407
1407
|
fi
|
|
1408
1408
|
if [[ $1 == off ]]; then
|
|
1409
|
-
__tt_off_here
|
|
1409
|
+
__tt_off_here force
|
|
1410
1410
|
elif [[ -n $TTHEME_STARTUP ]]; then
|
|
1411
1411
|
__tt_wear "${TTHEME_PALETTE[$TTHEME_STARTUP]}" "$TTHEME_STARTUP" force || __tt_reload
|
|
1412
1412
|
fi
|