edc / bass

Make Bash utilities usable in Fish shell
MIT License
2.2k stars 70 forks source link

Example on how use bass with fish functions needed #74

Open danielporto opened 5 years ago

danielporto commented 5 years ago

I tried to follow the comments on the __bass.py but unfortunately it did not work. Maybe I got lost with the 'nvm' example...

Context: I have only a bash script file with a few simple functions and variables that I would like to make it available to fish upon starting the shell. To achieve it I created a fish function that calls "bass source myenvs.sh" but I can see that it fails sometimes because "bass" command is not available upon start. Any suggestion??

Thanks a lot. This small piece of awesomeness made fish usable for me again. Left zsh and never looked back.

edc commented 5 years ago

It looks like you did not install bass correctly and that may be why it is not available.

Also, bass can help you with environment variables but cannot help you with bash functions.

edc commented 4 years ago

@danielporto were you able to get it to work? If yes, I would like to close this. If not, please provide more details. Thanks!