Skip to content

Instantly share code, notes, and snippets.

@chrismacp
Created February 12, 2019 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrismacp/fe681ead01767439487d436f4277a362 to your computer and use it in GitHub Desktop.
Save chrismacp/fe681ead01767439487d436f4277a362 to your computer and use it in GitHub Desktop.
How to get jEnv working in Fish shell
# Docs say to add something like this to bash profile:
# $ eval "$(jenv init -)";
# This doesn't work with fish
# If you just manually run...
#
# $ jenv init -
#
# ...then it shows you the content that would be eval'd
# If you just manually run...
#
# $ jenv init
#
# ...then it shows you the proper way to initialise it!
#
# # Load jenv automatically by adding
# # the following to ~/.config/fish/config.fish:
status --is-interactive; and source (jenv init -|psub)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment