bass
PowerShell
bass | PowerShell | |
---|---|---|
15 | 397 | |
2,129 | 43,352 | |
- | 0.6% | |
3.8 | 9.6 | |
5 months ago | 6 days ago | |
Python | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bass
-
Starship.rs: minimal, fast prompt for any shell
> I do wish fish could seamlessly convert and run bash scripts on the fly..
It can. With a little help. I use this:
https://github.com/edc/bass
-
Oh My Zsh
I've been using it for years and most things I need nowadays just work (i.e. have Fish support out of the box).
For all the rest, perhaps give https://github.com/edc/bass a try.
-
fish-shell: the user-friendly command-line shell
If you're running a script, you can use edc/bass to run it from a fish shell. Fisher 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
-
My ultimate shell setup with Fish shell and Tmux
Use bass to drop down to bash from fish :)
https://github.com/edc/bass
-
new convert here, very happy!
As for POSIX, I'll just type bash and do what I need to do, or call a script. You also might want to use the plugin bass, because some programs do not pick up on variables that are set in fish. I think there are other similar plugins, but in my experience bass is the best one. https://github.com/edc/bass
-
Converting some bash script to fish shell
This is an older utility, but still a good one - Bass attempts to make the transition from Bash/Zsh to Fish a little simpler: https://github.com/edc/bass
-
Using nvm with fish shell [Linux]
omf install https://github.com/fabioantunes/fish-nvm omf install https://github.com/edc/bass
-
Help getting set up with Node?
I think https://github.com/edc/bass might help?
-
Hi fishers ! Please help me replicate this simple bash script (I am new)
There are a few ways to work with it, either it simply has "var=val" statements that you could turn into a while read loop that sets variables, or you would need something like bass.
-
Fish Shell
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.
PowerShell
-
PowerBI: déployer une passerelle sur AWS pour $0.12/j
msiexec.exe /package https://github.com/PowerShell/PowerShell/releases/download/v7.2.6/PowerShell-7.2.6-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
-
Sudo for Windows
This smells like when PowerShell aliased curl and wget to a completely different command, with incompatible arguments.
https://github.com/PowerShell/PowerShell/pull/1901
-
Gooey: Turn almost any Python command line program into a full GUI application
PowerShell is available on macOS and Linux as well (source on Github: https://github.com/PowerShell/PowerShell). It may not be as well-integrated with things like system services management, but the language still works well. You can still use all the command line tools you're used to on Linux, of course.
nushell does look interesting, though the lack of a .deb repository does put it pretty low on my to-do list.
-
3 lines of code don't understand the results.
Issue #7940 discusses potential improvements to array slicing.
- Task Scheduler -windowstyle hidden / minimized
-
Just messing around with arrays and efficiency in PS, thought I'd share
Note: This can be problematic as it prevents upstream commands from running their end {} block. See here. The new clean {} block introduced in PowerShell v7.3 does not suffer from this issue.
-
Jaq – A jq clone focused on correctness, speed, and simplicity
Can you give an example of something that PS can do that is built-in for text processing, instead of a proprietary symbolic query language?
[1] https://github.com/PowerShell/PowerShell
-
The bash book to rule them all
https://github.com/PowerShell/PowerShell/blob/master/LICENSE... is the MIT license. (Microsoft supplies debs directly which may reduce the motivation for Debian to do so.)
Oh, heh, also https://github.com/PowerShell/PowerShell/blob/master/docs/bu... the build script is written in PowerShell, so there's a bootstrapping problem :-) (Debian has solved those before of course, but with community sentiment like the above maybe noone is motivated to bother.)
- Did Reddit just denylist all IPs?
-
Register-ArgumentCompleter: how to fall back to file completion when completing a flag such as "--foo="
According to https://github.com/PowerShell/PowerShell/issues/19628, the default behaviour is invoked whenever the completion script returns no output. To attempt to do so, I tried exiting the script via returning an empty string, or using the return keyword to exit the script completely, unfortunately with no avail. Is there a technique to achieve what I want, and is there any documentation about it other than the official one? Thank you in advance.
What are some alternatives?
fisher - A plugin manager for Fish
nushell - A new type of shell
fish-functions - :wrench: My utility belt of fish functions, writing these has saved me many hours in the long run... I hope...
winpty - A Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs.
fish-shell - The user-friendly command line shell.
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
WFinfo - :computer: A fissure Companion App for Warframe
PSReadLine - A bash inspired readline implementation for PowerShell
PowerToys - Windows system utilities to maximize productivity
jtbl - CLI tool to convert JSON and JSON Lines to terminal, CSV, HTTP, and markdown tables
ShellCheck - ShellCheck, a static analysis tool for shell scripts