ZSH: déplacement de code pour le démarrage de la session graphique
This commit is contained in:
parent
db5512ee48
commit
f665c5e301
@ -1 +1,6 @@
|
|||||||
emulate sh -c '. ~/.profile'
|
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
5
.zshrc
@ -159,11 +159,6 @@ if [ ! $SSH_AGENT_PID ]; then
|
|||||||
fi;
|
fi;
|
||||||
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)
|
# Launch nvm possibilities (for javascript environment)
|
||||||
case $HOST in
|
case $HOST in
|
||||||
lueur | baloo | sam)
|
lueur | baloo | sam)
|
||||||
|
Loading…
Reference in New Issue
Block a user