edc/bass
View on GitHub ↗ ★ 2,464 Python
Make Bash utilities usable in Fish shell
29 mentions on Hacker News by 25 people: 2 stories, 27 comments · first 2015-03-16 · latest 2024-07-31
20082026
-
…could seamlessly convert and run bash scripts on the fly.. It can. With a little help. I use this: https://github.com/edc/bass
comment by 3PS · 2024-01-26 · in Starship.rs: minimal, fast prompt for any shell -
I've never needed it, but there is bass for this use-case: https://github.com/edc/bass
comment by bin_bash · 2023-08-27 · in Fish – A friendly interactive shell -
I haven’t found much need to swap due to using bass https://github.com/edc/bass
comment by stealthypoo · 2023-08-26 · in Fish – A friendly interactive shell -
…them once with fish_add_path? https://fishshell.com/docs/current/tutorial.html#path Or maybe use https://github.com/edc/bass
comment by artemisart · 2023-08-26 · in Fish – A friendly interactive shell -
…is one of the first things I install after fish, then bass, z and a few other helper plugins. https://github.com/edc/bass https://github.com/jorgebucaran/fisher
comment by csmattryder · 2023-08-26 · in Fish – A friendly interactive shell -
Use bass to drop down to bash from fish :) https://github.com/edc/bass
comment by HopenHeyHi · 2023-04-23 · in My shell setup with Fish and Tmux (2021) -
bass can be helpful for some of those posix issues: https://github.com/edc/bass Another random tip: python virtualenv generates a activate.fish script that you should use instead of the plain activate script.
comment by dangus · 2021-11-25 · in The fish shell is amazing -
…then import all the environment changes for you https://github.com/oh-my-fish/plugin-foreign-env https://github.com/edc/bass
comment by pxc · 2021-10-23 · in Nsh: A fish/bash-like Posix shell in Rust -
There is no need to change `$SHELL` :-/ you can use Bass ( https://github.com/edc/bass ) to execute any bash script and it will apply the environment variables to the current fish environment.
comment by flying_sheep · 2021-05-17 · in Fish shell -
Or running the pasted scripts through bash in fish? I actually use this guy: https://github.com/edc/bass
comment by _fullpint · 2021-05-17 · in Fish shell -
You might want bass ( https://github.com/edc/bass ) or replay.fish ( https://github.com/jorgebucaran/replay.fish ) if you need to run bash scripts that modify the shell. I personally use replay.fish (although I guess I haven't updated in a…
comment by Hamuko · 2021-02-13 · in Alternative Shells -
…will change, but I don't see the win to divide my attention economy to it deeply, personally. [0]: https://github.com/edc/bass
comment by no_wizard · 2021-01-19 · in Linux and Powershell -
…use of 'bass' before. The example they have is sourcing nvm's bash script so it's usable in fish. https://github.com/edc/bass
comment by rgoulter · 2020-09-30 · in New Features in the Fish Shell -
Or via Bass[1], for things that modify the environment. [1] https://github.com/edc/bass
comment by SAI_Peregrinus · 2020-09-29 · in New Features in the Fish Shell -
https://github.com/edc/bass Lets you use bash utilities from fish. So you can do things like `source` files and have it work. Also I prefer to use Fish only as an interactive shell, actual scripts can stay bash.
comment by SAI_Peregrinus · 2020-04-17 · in Customizing Your Shell -
Most scripts are run, not sourced. Some tools support fish. bass[1] aims to handle the rest. [1] https://github.com/edc/bass
comment by pseudalopex · 2018-12-30 · in Fish shell 3.0 -
The bass plugin[1] works well. [1] https://github.com/edc/bass
comment by SAI_Peregrinus · 2018-11-19 · in Ask HN: Best Command-Line Applications? -
If they do need to be sourced, you can use bass: https://github.com/edc/bass
comment by Macha · 2018-07-28 · in iTerm2 has a new drawing engine that uses Metal 2 -
…variable settings to fish, but it’s a pain to have to do that (and remember wth it was called). [0] https://github.com/edc/bass
comment by defined · 2018-02-01 · in Why Create a New Unix Shell? -
…with bass[1]. Typically, I use it when some kind of tool requires sourcing bash scripts. [1] https://github.com/edc/bass
comment by pbackx · 2017-12-19 · in Fish: A user-friendly command line shell for macOS, Linux, etc -
…into the shell itself to make transitions for bash and some esoteric edge cases easier to handle https://github.com/edc/bass Maybe adopt a package manager for plugins too? ;)
comment by no_wizard · 2017-12-13 · in Fish: A user-friendly command line shell for macOS, Linux, etc -
The Bass wrapper script can help with some of the incompatibilities: https://github.com/edc/bass
comment by ufo · 2017-01-15 · in Mastering Bash and Terminal -
You can use bass which solves this problem without porting the script to fish: https://github.com/edc/bass
comment by freddie_mercury · 2016-03-03 · in Show HN: Sensible Bash: An attempt at saner Bash defaults -
Bass might provide some help with that. https://github.com/edc/bass
comment by hundkex · 2016-02-16 · in Fish Shell Design Principles -
…but if you have bash-based tools (like virtualenv but without counterpart in fish land), check out https://github.com/edc/bass . Bass allows you to use a bash tool in fish, by running the tool in bash and transporting changes in…
comment by eddieplan9 · 2015-05-19 · in Fish shell -
…cited reasons for not using fish. shameless plug, but I made a utility to solve the problem: https://github.com/edc/bass So you can write `bass source /usr/local/bin/virtualenvwrapper.sh ';' mkvirtualenv env1`, which of course can be…
comment by eddieplan9 · 2015-03-16 · in Xonsh, a Python-ish, Bash-compatible shell language and command prompt