A simple hack to have FSL work with zsh

FSL is great, so is zsh. But they don’t work together. The reason is simple, fslinstaller doesn’t recognize zsh, so we can hack it a bit to allow such a configuration.

Edit fslinstaller.py, find class FslInstall, then there will be bunch of codes to recognize shell type and configuration. find

and insert  shells['zsh'] = '.zshrc'  under those lines.

then look for shellmap

and insert shellmap['zsh'] = 'zsh'  under them.

now fsl installer should recognize zsh. If fsl path isn’t set properly in terminal, try to add this sniplet  to your  .zshrc

This will do.

* from my other blog on wordpress.com.