Created
June 12, 2017 15:50
-
-
Save dade80vr/8a9b34de8f4d9d92e59ef0b483394562 to your computer and use it in GitHub Desktop.
Set Fish shell default into Synology NAS
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
preferred_shell= | |
if [ -x /opt/bin/fish ]; then | |
preferred_shell=/opt/bin/fish | |
fi | |
if [ -n "$preferred_shell" ]; then | |
case $- in | |
*i*) SHELL=$preferred_shell; export SHELL; exec "$preferred_shell";; | |
esac | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment