Browse Source

ZSH: déplacement de code pour le démarrage de la session graphique

vif
Olivier DOSSMANN 3 years ago
parent
commit
f665c5e301
  1. 5
      .zprofile
  2. 5
      .zshrc

5
.zprofile

@ -1 +1,6 @@
emulate sh -c '. ~/.profile'
# Start X automatically
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi

5
.zshrc

@ -159,11 +159,6 @@ if [ ! $SSH_AGENT_PID ]; then
fi;
fi;
# Start X automatically
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi
# Launch nvm possibilities (for javascript environment)
case $HOST in
lueur | baloo | sam)

Loading…
Cancel
Save