You aren't actually making it a default shell, your shell is still /usr/bin/bash. You are just executing a ZSH framework on top of bash shell and the only environment where it makes sense is Cygwin on Windows. On all other operating systems you'd be better off by actually making it your default login shell with a standard chsh command chsh -s $(which zsh). It's even easier, isn't it? And won't bite you back if you're developing shell scripts.
Could be good if @leamsigc
update this post because google ranks it on pretty good place. It's very bad solution and nonsense. @ihorvorotnov
said the correct way.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You aren't actually making it a default shell, your shell is still
/usr/bin/bash
. You are just executing a ZSH framework on top of bash shell and the only environment where it makes sense is Cygwin on Windows. On all other operating systems you'd be better off by actually making it your default login shell with a standard chsh commandchsh -s $(which zsh)
. It's even easier, isn't it? And won't bite you back if you're developing shell scripts.Thank you for the information and for the better solution I really appreciated.
Yeah, you are right it is better to make it the default login shell.
I'm not developing scripts for now, but like you said you never know in the future right.
Could be good if @leamsigc update this post because google ranks it on pretty good place. It's very bad solution and nonsense.
@ihorvorotnov said the correct way.