-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to use zsh #18
Comments
Hi @lesteve, |
Thanks a lot for the precision! I think I have seen it somewhere in your official doc that bash was the only supported shell indeed. I will make sure to mention that In practice I have not noticed any issue so far so I thought I would mention that if people are interested. Just to explain, I am used to have a Basically this is a way to feel more at home and productive on Jean Zay! |
It does work for fish too. I have a similar setup:
|
Excellent thanks for letting us know! |
It would indeed to better to use |
Yep I looked at my MODULE_INIT_ZSH=/gpfslocalsup/spack_soft/environment-modules/current/init/zsh
if [[ -s "$MODULE_INIT_ZSH" ]]; then
source "$MODULE_INIT_ZSH"
fi |
In fact we even have an environment variable |
In case someone doesn't want to use conda, zsh can be compiled from source without sudo (https://stackoverflow.com/a/15293565).
wget -O zsh.tar.xz https://sourceforge.net/projects/zsh/files/latest/download
mkdir zsh && unxz zsh.tar.xz && tar -xvf zsh.tar -C zsh --strip-components 1
cd zsh
./configure --prefix=$HOME
make
make install
PS: If something goes wrong after editing the |
source /gpfslocalsup/spack_soft/environment-modules/current/init/zsh
so that themodule
command works..bashrc
to launch zsh instead of bash (http://unix.stackexchange.com/a/136511) or maybe simpler useRemoteCommand
in~/.ssh/config
(https://unix.stackexchange.com/a/548057/174101) but that needs ssh 7.6 (see https://www.openssh.com/txt/release-7.6)The text was updated successfully, but these errors were encountered: