bass
PSReadLine
bass | PSReadLine | |
---|---|---|
15 | 15 | |
2,129 | 3,541 | |
- | 1.1% | |
3.8 | 7.6 | |
5 months ago | 1 day ago | |
Python | C# | |
MIT License | BSD 2-clause "Simplified" 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.
PSReadLine
-
Tools to achieve a 10x developer workflow on Windows
sets up PSReadLine: command autocompletion and many other features.
-
Wierd behaviour with using 'Dir' as an alias for my own function
Sounds like a bug, you should report it to PSReadLine. I believe PSReadLine and not PowerShell is the one that handles tab completion here, it sounds like it's caching the alias target so still thinks it is completing Get-ChildItem.
-
DirectoryPredictor - Plugin module for PSReadLine to actively search the current directory for matching files
I then used PSReadLine's GitHub to understand how they made their own module, shared data with Cmdlets and everything inbetween. Which got me the rest of the day.
-
Keyword search through PSReadline command history with '#' operator?
Highly recommend checking out the team’s sample file: https://github.com/PowerShell/PSReadLine/blob/master/PSReadLine/SamplePSReadLineProfile.ps1
-
Using PowerShell for non system-administration
I have a hotkey that converts aliases on the command line when I hit alt+% That makes it easier to paste into discord or wherever. Why % ? I'm not sure, that's what what PSReadLine used
-
Leveling up Windows Powershell with Oh My Posh
GitHub - PowerShell/PSReadLine: A bash inspired readline implementation for PowerShell
- PSReadline – bash inspired readline implementation for PowerShell
-
Hot Reload with Notepad in .NET 6
Bit late, but it's PSReadLine
-
New PowerShell Version - v7.2.0-preview.6: [7.2.0-preview.6] - 2021-05-27
Just a bit of a heads up. The PSReadLine 2.2.0 beta 1 and beta 2 do not work with this release so either you can downgrade to PSReadLine 2.1.0 or stay on PowerShell 7.2.0 preview 5. The PSReadLine 2.2.0 beta 3 will solve the issue.
-
How to solve "Update-Help: Failed to update Help for the module(s) 'PSReadline, WindowsUpdateProvider' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).)." ?
The PSReadline update-help failing is new and should probably have an issue filed on their github, assuming there isn't one already. The failure on "WindowsUpdateProvider" has been around for years, you're missing help for these cmdlets without it
What are some alternatives?
fisher - A plugin manager for Fish
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
fish-functions - :wrench: My utility belt of fish functions, writing these has saved me many hours in the long run... I hope...
libxo - The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced.
fish-shell - The user-friendly command line shell.
PSScriptAnalyzer - Download ScriptAnalyzer from PowerShellGallery
PowerShell - PowerShell for every system!
oh-my-posh - The most customisable and low-latency cross platform/shell prompt renderer
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.
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
jtbl - CLI tool to convert JSON and JSON Lines to terminal, CSV, HTTP, and markdown tables
PowerShell - Collection of useful PowerShell functions, scripts, snippets and templates