fixed startup block

This commit is contained in:
2025-11-06 13:41:21 +01:00
parent ac651fe95d
commit f8ad9e5ecb
2 changed files with 5 additions and 9 deletions
-8
View File
@@ -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() {
+5 -1
View File
@@ -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