![]() You might want to run zsh -l from there to get a login session instead of just an interactive session (it differs in which configuration files are loaded). ![]() As ~/.profile is usually only used for login sessions, it should be fine. In that case running ~/bin/zsh from one of your current login shells startup files is the only way to launch zsh automatically. If your zsh binary is not listed in /etc/shells, you will be unable to use chsh to change your login shell. The checking logic is only there to prevent chsh from failing at the end of the installation. profile that adds ~/bin to my $PATH and launches zsh upon login.Įssentially, is there any way around this? I assume that the install script can be modified to accommodate zsh being installed to ~/bin/zsh, but just blindly removing the checking logic certainly seems nothing if not ill-advised. It is also possibly important to note that when I SSH into this system, I am not necessarily logging into the same physical machine rather, I am logged into one of several machines, into which my home directory is copied. So, without root access, I cannot edit /etc/shells. Upon inspecting the install script, the code for checking if zsh is installed is: CHECK_ZSH_INSTALLED=$(grep /zsh$ /etc/shells | wc -l) I then proceeded to attempt to install Oh My Zsh, and was greeted by this message: Zsh is not installed! Please install zsh first! So, I've just managed to install zsh on a machine which I have SSH access to (but importantly, no root access to) as per suggestions here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |