Closed rainchen closed 8 years ago
Hi, thanks for reporting. I usually work on Linux so it is very possible that some command is not compatible. I'm going to grab a mac and check this.
@rainchen What version of fish are you using? I just tried on OS X and it seems to fail with 2.1.2 but to work on 2.2.0. I think the key change is
A new "top-level" local scope has been added, allowing local variables declared on the commandline to be visible to subsequent commands. (#206)
If you are using an old version, please try to upgrade. If you are using brew, brew update && brew upgrade fish
should do it.
I'm using 2.1.1
, I will try to upgrade fish to 2.2.0 later.
Currently I comment out these lines in the bundle.fish
and it's working:
# HACK: `__fundle_plugin_path $plugin` will raise error as `fish: Unknown command '__fundle_plugin_path'`
# read all *.fish files if no init.fish found
# for f in (find (__fundle_plugin_path $plugin) -maxdepth 1 -iname "*.fish")
# source $f
# end
@rainchen I modified the init function a little and it worked for me with fish 2.1.1. Let me know if you still have issues.
@tuvistavie I upgraded fish
to v2.2.0 and also update fundle
to latest version, everything works fine now, thanks for the quick response.
Great, thanks for the feedback.
when running
fundle init
, I got these error messages:looks like the
find
command does not supportm
option, my os is MacOS 10.9.5 ~> find -many idea?