dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 8af62ecd9c7e44a77a11541b558fe1ca069a6e14
parent 2240ff5ac739912b1c352ed97217b886ab0fb422
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 24 Nov 2023 21:23:09 +0000

exit welcome.zsh if over ssh

Diffstat:
Mzsh/.zsh/welcome.zsh | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/zsh/.zsh/welcome.zsh b/zsh/.zsh/welcome.zsh @@ -1,4 +1,6 @@ # WELCOME +## don't run this if over ssh (i.e. a server) +[[ -v SSH_TTY ]] && exit 0 PTS=$(ps -U $USER | awk '{ print $2 }' | grep "pts/" | uniq | wc -l) @@ -24,4 +26,4 @@ tmux list-sessions >/dev/null 2>&1 || script if [[ $TMUX_PANE == "%0" ]] && [[ ! -v VIMRUNTIME ]]; then $HOME/bin/ahoy fi -cat ~/tmp/logo5 +#cat ~/tmp/logo5