Skip to content

Instantly share code, notes, and snippets.

@ealize
Created March 4, 2016 06:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ealize/4382139af109c117eea9 to your computer and use it in GitHub Desktop.
Save ealize/4382139af109c117eea9 to your computer and use it in GitHub Desktop.
Fish shell non-interactive/non-login mode
# 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