ssh: only run fastfetch on initial ssh session
This commit is contained in:
parent
d184f75f5d
commit
5f1c05f090
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
set fish_greeting
|
||||
if set -q SSH_CONNECTION
|
||||
if set -q SSH_CONNECTION; and not set -q IN_NIX_SHELL; or not set -q TMUX
|
||||
export TERM=xterm-256color
|
||||
clear
|
||||
fastfetch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue