Created
February 12, 2019 13:42
-
-
Save chrismacp/fe681ead01767439487d436f4277a362 to your computer and use it in GitHub Desktop.
How to get jEnv working in Fish shell
This file contains hidden or 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
# 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