Created
March 4, 2016 06:25
-
-
Save ealize/4382139af109c117eea9 to your computer and use it in GitHub Desktop.
Fish shell non-interactive/non-login mode
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
# Prevent Fish shell from generating strings when in non-interactive mode (e.g. while using SCP) | |
# Add this to the top of your config.fish file | |
if not status --is-login or not status --is-interactive | |
exit | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment