Created
May 12, 2014 05:42
-
-
Save luginbash/eab939aae92238fea48e to your computer and use it in GitHub Desktop.
FSL doesn't support zsh by default, so I patched it for installation.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1066,6 +1066,7 @@ class FslInstall(object): | |
shells['ksh'] = '.profile' | |
shells['csh'] = '.cshrc' | |
shells['tcsh'] = '.cshrc' | |
+ shells['zsh'] = '.zshrc' | |
shellmap = {} | |
shellmap['bash'] = 'sh' | |
@@ -1073,6 +1074,7 @@ class FslInstall(object): | |
shellmap['tcsh'] = 'csh' | |
shellmap['sh'] = 'sh' | |
shellmap['csh'] = 'csh' | |
+ shellmap['zsh'] = 'zsh' |
Same error: Failed to update your profile zsh with FSL settings
Mac version: macOS Sierra 10.12.3
This worked for me. Modify fslinstaller.py
as follows and then run it:
- In
def shell_config()
, addzsh
to the conditions - In
def get_profile()
, add these lines after declaring thehome
variable:
if shell == 'zsh':
profile = os.path.join(home, '.zshrc')
return profile
Let me know if that worked for you!
Thanks fepegar, this easy fix worked well!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Didn't work for me: