From 9b74ff46f90950b737c017cef7664565289a3b29 Mon Sep 17 00:00:00 2001 From: Jason Swank Date: Sat, 2 Dec 2023 19:46:30 +0000 Subject: [PATCH] install.sh: fix stow detection --- install.sh | 2 +- zsh/.zlogin | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 9d515e0..a020918 100755 --- a/install.sh +++ b/install.sh @@ -3,7 +3,7 @@ # Install my dotfiles. # -STOW=$(which stow) +STOW=$(which stow || echo -n "") if [ -z "$STOW" ]; then STOW=./stow.sh fi diff --git a/zsh/.zlogin b/zsh/.zlogin index 5b6c23e..f8ece45 100644 --- a/zsh/.zlogin +++ b/zsh/.zlogin @@ -1,4 +1,6 @@ -if [ ! $DISPLAY && $(tty) = "/dev/tty1" ]; then +if [[ ! $DISPLAY && $(tty) = "/dev/tty1" ]]; then startx exit fi + +cd /workspace/infinite