Comments (4)
Which command did you run there?
What's the output of the following?
fish --version
fisher --version
cat .config/fish/fishfile
For me:
$ fisher --version
fisher version 3.2.9 ~/.config/fish/functions/fisher.fish
$ fish --version
fish, version 2.7.1
$ cat .config/fish/fishfile
reitzig/sdkman-for-fish
$ fisher
fetching https://codeload.github.com/reitzig/sdkman-for-fish/tar.gz/master
linking ~/.config/fish/functions/sdk.fish
linking ~/.config/fish/completions/sdk.fish
linking ~/.config/fish/conf.d/sdk.fish
updated 1 package in 0.79s
from sdkman-for-fish.
Thanks! Here's the output:
fish - 3.0.2
fisher - 3.2.10 ~/.config/fish/functions/fisher.fish
$cat ~/.config/fish/fishfile
(empty file)
from sdkman-for-fish.
Which command did you run there?
Can you answer this, please? So far, I don't have enough information to try and reproduce.
In the meantime, can you please add that line to fishfile
and run fisher
?
from sdkman-for-fish.
Can't reproduce over here. Using the installation instructions from the fisher and sdkman-for-fish repos, respectively:
r> sudo useradd -m foo
r> sudo su foo
f$ fish
f> curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
f> fisher add reitzig/sdkman-for-fish
created new fishfile in ~/.config/fish/fishfile
fetching https://codeload.github.com/reitzig/sdkman-for-fish/tar.gz/master
linking ~/.config/fish/functions/sdk.fish
linking ~/.config/fish/completions/sdk.fish
linking ~/.config/fish/conf.d/sdk.fish
added 1 package in 0.57s
f> sdk version
You don't seem to have SDKMAN! installed. Install now? [y/N] y
<snip>
All done!
Please open a new terminal/shell to load SDKMAN!
f> exit
f$ fish
f> sdk version
<snip>
SDKMAN 5.7.4+362
Seems to work as intended. That's on Ubuntu 18.04, with the versions given above.
Closing for now; happy to reopen if you can provide steps to reproduce.
from sdkman-for-fish.
Related Issues (20)
- (Successful) Calls to sdk overwrite the environment, including PATH HOT 5
- Support sdkman extensions HOT 1
- Use full paths to core Unix commands in functions HOT 6
- Copy JAVA_HOME over correctly HOT 1
- SDKMAN environment variables don't change when su-ing to another user HOT 3
- If sdk is not already installed it could install it or provide instructions HOT 6
- Make compatible with Fish 3
- Make compatible with macOS HOT 4
- Error on MacOS 10.14.6 stat illegal option -c HOT 1
- Error with usage of `stat` in `sdk.fish` when running `fisher` HOT 1
- Can't add the repo HOT 5
- Account for SDKMAN! being installed at custom path HOT 5
- Update to SDKMAN 5.9.x, 5.10.0 HOT 3
- Test documented installation path HOT 1
- sdkman_auto_env=true not working HOT 6
- Errors in initialization scripts (Windows + mingw) HOT 2
- Update to sdkman! 5.18.x HOT 2
- [Bug] Cannt find SDKMAN! for vscode terminal, but work for Windows Terminal. HOT 2
- Respect globally set SDKMAN_DIR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdkman-for-fish.