From f8ad9e5ecb10e4e1742c6f55ab8c7eb133677740 Mon Sep 17 00:00:00 2001 From: Dominik Date: Thu, 6 Nov 2025 13:41:21 +0100 Subject: [PATCH] fixed startup block --- zsh/.zshrc | 8 -------- zsh/.zshrc_arch | 6 +++++- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 57661f2..91dfef0 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -12,11 +12,6 @@ case "$HOST" in fedora-mac) source ~/.zshrc_fedora ;; esac -# Start on boot -if [[ -z $DISPLAY ]] && [[ $(tty) == /dev/tty1 ]]; then - exec sway -fi - # Preferred editor for local and remote sessions if [[ -n $SSH_CONNECTION ]]; then export EDITOR='nvim' @@ -24,9 +19,6 @@ if [[ -n $SSH_CONNECTION ]]; then export EDITOR='nvim' fi - -# -- Customization -- - # Alais: ls to run tree (without any flags) unalias ls 2>/dev/null ls() { diff --git a/zsh/.zshrc_arch b/zsh/.zshrc_arch index 8f68027..c03cad5 100644 --- a/zsh/.zshrc_arch +++ b/zsh/.zshrc_arch @@ -1,5 +1,9 @@ -# -- Env Paths --- +# Start on boot +if [[ -z $DISPLAY ]] && [[ $(tty) == /dev/tty1 ]]; then + startx +fi +# -- Env Paths --- export GOPATH=$HOME/.local/go/ export GOBIN=$HOME/.local/go/bin export PATH=$PATH:$GOBIN