File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ source $ZSH/oh-my-zsh.sh
7272chmod -R 700 $WS
7373AUTO_UPDATE_WORKSPACE=" true"
7474AUTO_UPDATE_INTERVAL=1 # days
75- USERHOST=" $USER @${$(echo $SSH_CONNECTION | awk ' {print $3}' ):- $(hostname -I | awk ' {print $1}' )} "
75+ USERHOST=" $USER @${$(echo $SSH_CONNECTION | awk ' {print $3}' ):- $(/ bin / hostname -I | awk ' {print $1}' )} "
7676MAIL_API=" $WS /mail.py"
7777MAIL_DEFAULT_SUBJECT=" $USERHOST "
7878GITHUB_PROXY=" https://ghfast.top"
@@ -418,7 +418,7 @@ spwd()(
418418 echo " \" ${1:- $(pwd)} \" : No such file or directory" >&2
419419 return 2
420420 fi
421- user_host=${ROOT_USER:- $USER } @${$(echo $SSH_CONNECTION | awk ' {print $3}' ):- $(hostname -I | awk ' {print $1}' )}
421+ user_host=${ROOT_USER:- $USER } @${$(echo $SSH_CONNECTION | awk ' {print $3}' ):- $(/ bin / hostname -I | awk ' {print $1}' )}
422422 port=${$(echo $SSH_CONNECTION | awk ' {print $4}' ):- ' 22 (maybe)' }
423423 pwd_=$( realpath -s " ${1:- $(pwd)} " )
424424 spwd_=$user_host :$pwd_
You can’t perform that action at this time.
0 commit comments