shell-bling-ubuntu
bass
shell-bling-ubuntu | bass | |
---|---|---|
7 | 15 | |
65 | 2,135 | |
- | - | |
8.1 | 3.8 | |
2 months ago | 5 months ago | |
Shell | Python | |
The Unlicense | 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.
shell-bling-ubuntu
-
Ask HN: I want to learn to use the terminal, where do I start
Personally, I only really got into working at the shell once I started exploring all of the wonderful new programs that people have been writing to make it easy as pie to work with. I ended up collecting them all together into scripts I can `curl | bash` on any new Ubuntu machine: https://github.com/hiAndrewQuinn/shell-bling-ubuntu
Obviously these scripts won't work on Mac. But I do list the programs I install in it right in the README, including what I consider the "Holy Trinity": `rg` (really fast line searching), `fd` (really fast file finding), and `fzf` (best described with examples: see https://andrew-quinn.me/fzf). These all work on my wife's Mac identically to how they work on my own Linux box, and they make the experience of working at a shell much more pleasant.
Finally, install fish! https://mmazzarolo.com/blog/2023-11-16-my-fish-shell-setup-o... You can get back to Bash once you've gotten used to using the shell and find a reason to. Fish is much more pleasant, IMO, and I try to use it wherever I can these days.
-
Starship.rs: minimal, fast prompt for any shell
Yes! This is why I pair the two up in https://github.com/hiAndrewQuinn/shell-bling-ubuntu.
These context clues are especially important for newcomers to the command line. A CLI newbie who sticks with it might eventually progress to the point where they decide to ditch Starship, or to ditch fish, or to ditch both, but until they get to that point, the solid defaults and OOTB features of these two have a lot going for them.
-
Show HN: Inshellisense – IDE style shell autocomplete
Alternatively, if you simply wish to occasionally bring Copilot into your shell, you should know that Ctrl+X Ctrl+E (on bash) / Alt+E (on fish) will open your current shell line up in $EDITOR, which you may set to Vim or Neovim.
From there, :wq will drop the text back into your command line. If you have Copilot set up in either of those, then it will also work here.
I know from working on https://github.com/hiAndrewQuinn/shell-bling-ubuntu that Neovim's LazyVim setup now supports Copilot out of the box now. I never had much trouble setting up the Vim plugin either. YMMV.
-
Ask HN: How does `lnav` run its playground which you can just SSH into?
https://lnav.org/ has a feature that single handedly sold me on trying out the fantastic software: An SSH-reachable playground. It's right there above the fold on the first page: ssh://[email protected]
I want to build a similar playground for people who want to get familiar with the tools my Shell Bling Ubuntu repo provides ( https://github.com/hiAndrewQuinn/shell-bling-ubuntu ). Ideally it consists of a series of very simple tasks to get one's feet wet with each tool provided: Using fish's autocompletion, then using fzf's shell keybindings, then using rg instead of grep to search an enormous number of files for a single needle character in a million lines of wheat , and so on.
I have no clue how to do this safely. I've never seen how anyone else does it either. Can anyone provide me some pointers?
-
Cursor – The AI-First Code Editor
Alternatively, if you just want to integrate Copilot into Neovim and get on with your day, I recently discovered that the latest LazyVim integrates it as an extra.
I actually discovered this while working on Shell Bling Ubuntu, which is a couple of easy scripts to get you a bunch of modern command line tools nice and configured in one go, but you can just scroll down to "Add Copilot to Neovim" to see. It's refreshingly user friendly for NV configs.
https://github.com/hiAndrewQuinn/shell-bling-ubuntu
- GitHub - hiAndrewQuinn/shell-bling-ubuntu: A few scripts to be run on a fresh-off-the-presses Ubuntu VM, in order to get its shell nice 'n purdy.
- Show HN: 3 scripts to turn a stock Ubuntu live USB into a modern devbox
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.
What are some alternatives?
inshellisense - IDE style command line auto complete
fisher - A plugin manager for Fish
hishtory - Your shell history: synced, queryable, and in context
fish-functions - :wrench: My utility belt of fish functions, writing these has saved me many hours in the long run... I hope...
butterfish - A shell with AI superpowers
fish-shell - The user-friendly command line shell.
PowerShell - PowerShell for every system!
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.
PSReadLine - A bash inspired readline implementation for PowerShell
jtbl - CLI tool to convert JSON and JSON Lines to terminal, CSV, HTTP, and markdown tables
fish-nvm - nvm wrapper for fish-shell
dotfiles - All my dotfiles.