minor fix
This commit is contained in:
parent
a20046e1e2
commit
1a1a989a3a
1 changed files with 1 additions and 1 deletions
|
|
@ -560,7 +560,7 @@ in
|
|||
hasStorage = cfg.showDiskUsage && (builtins.length cfg.diskUsagePaths > 0);
|
||||
|
||||
in ''
|
||||
if [[ -n "$SSH_CONNECTION" ]] || [[ -n "$SSH_TTY" ]]; then
|
||||
if ([[ -n "$SSH_CONNECTION" ]] || [[ -n "$SSH_TTY" ]]) && [[ -z "$TMUX" ]]; then
|
||||
echo ""
|
||||
printf "\\033[38;2;0;200;255m━━ System ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\\033[0m\n"
|
||||
${systemInfoCode}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue