You are not logged in.
Pages: 1
Currently my ~/.xsession file looks like this:
#!/bin/sh
#
# ~/.xsession
#
# Executed by xdm/gdm/kdm at login
#
/bin/bash --login -i ~/.xinitrc
can I just change the /bin/bash to /bin/zsh or do I need to do anything else to make sure that zsh is used instead of bash?
I'm also assuming that this file is sourced by lightdm? I've followed the instructions about migrating from SLiM to lightdm and the xsession file is the only left that I am not sure about.
Offline
Offline
That seems wasteful overall. There is no reason for the extra subshell whether it is bash or zsh. Just source the xinitrc.
#!/bin/sh
source ~/.xinitrc
If zsh doesn't implement the 'source' command use the appropriate counterpart.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Already done all of that.
That seems wasteful overall. There is no reason for the extra subshell whether it is bash or zsh. Just source the xinitrc.
#!/bin/sh source ~/.xinitrc
If zsh doesn't implement the 'source' command use the appropriate counterpart.
That was just the default ~/.xsession file that came with Arch Linux. I certainly didn't add that line.
Anyway changed it to source the file instead. Thanks.
Offline
Pages: 1