pueue
starship
Our great sponsors
pueue | starship | |
---|---|---|
37 | 298 | |
4,510 | 39,957 | |
- | 2.8% | |
8.7 | 9.7 | |
4 days ago | 4 days ago | |
Rust | Rust | |
MIT License | ISC 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.
pueue
-
Sequential and parallel execution of long-running shell commands
This question has been asked quite a lot, so I wrote a FAQ ;D :
https://github.com/Nukesor/pueue/wiki/FAQ#why-should-i-use-i...
Well, if you're planning on running 10 commands sequentially that might take a few hours each, you would have to keep those windows open for quite a while.
See https://github.com/Nukesor/pueue/wiki/FAQ#what-can-i-use-it-...
You can probably do a good subset it in bash, it's just a nicer interface with a lot of configurability and several convenience features.
I'm generally a big fan of showing alternatives: https://github.com/Nukesor/pueue/?tab=readme-ov-file#similar...
Would you be willing to write a proper guide on how to do all of these things in bash? It would be great to have this as guide an alternative inside the Pueue wiki and link to it. It'll help people to make a more informed decision on whether they need this tool or not.
-
Can't find the name of a tool...
This one? https://github.com/Nukesor/pueue
-
How can I run commands in parallel and write the output of each command to different linux terminals, one linux terminal for each command running in parallel.
Multiplexing is great for your multiple outputs, but I would highly recommend using pueue & pueued for job control. Lets you organize your background jobs into groups which can be paused, resumed, etc. Also lets you act on jobs from different terminals w/the pueue interface.
-
What "nice-to-have" CLI tools do you know?
pueue -- a queue for tasks, running in background
-
Why is Tmux better than neovim's built-in terminal?
For the command that takes a long time to complete, I always use pueue to run. This thing let you run multiple commands in order and can schedule the execution later which is really helpful to my workflow.
-
Should I use async or multiprocessing in my project and which library to use?
That said, you're basically building pueue. https://github.com/Nukesor/pueue/blob/main/ARCHITECTURE.md might give you some pointers. From reading it, there seems to be a mishmash of tokio stuff, and then everything gets serialised onto an MPSC channel (that's serviced by TaskHandler, on a single thread that's also responsible for polling for finished processes etc, every 200ms).
-
What are some popular background job processing frameworks in the Rust ecosystem?
This is the only one I know of: https://github.com/Nukesor/pueue
starship
-
Atuin β Magical Shell History
Agreed, I use this in conjunction with Starship [1], both initialized specifically for Fish in the config. I love this shell so much.
[1] - https://starship.rs/
- Starship.rs: minimal, fast prompt for any shell
-
Oh My Zsh
Recently, I moved off from oh-my-zsh after many users, to vanilla zsh with https://starship.rs, mainly due to the loading speed (used https://github.com/romkatv/zsh-bench to measure the speed).
Still wanting to try out fish and hopefully soon!
starship is the new spaceship, yo
-
Z β Jump Around
It seems like the Rust community is quite happy to support alternative shells. Iβve seen couple of projects, now, that support way more esoteric shells than I would expect, like βxonshβ. Starship (https://starship.rs/) immediately comes to mind.
- MacOS tools to make your life easier
-
[MacOS] Setting up zsh in MacOS, any hints, dos/don'ts, advice, or guides?
Until now I have been using bash on Windows with Starship as the prompt. The only reason I went with Starship, is that it was easy to setup and at the time I did not have much free time to devout to the shell/prompt configuration.
-
Monaspace
I'm staying on BitstromWera Nerd Font. Works great with Starship.
-
Organizing Multiple Git Identities
I use conditional includes for this, but I also add a single letter describing which Git identity I'm currently using to my PS1 so that it appears before $ in my shell prompt. This prevents me from committing code with the wrong identity, in case I'm using a git checkout that's anywhere not covered by the conditional include rules.
I use Starship (https://starship.rs) to manage my prompt, and wrote a short script that only runs if I'm somewhere in a git repo, and if so finds my Git user's email and looks up the corresponding letter in an associative array declared in my ~/.config/starship-zsh/.zshenv:
git_email=$(git config --get user.email | perl -pe 'chomp if eof')
-
fish-shell: the user-friendly command-line shell
https://starship.rs/
A shell theme
What are some alternatives?
oh-my-posh - The most customisable and low-latency cross platform/shell prompt renderer
spaceship-prompt - :rocket::star: Minimalistic, powerful and extremely customizable Zsh prompt
powerlevel10k - A Zsh theme
ohmyzsh - π A delightful community-driven (with 2,200+ 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.
zsh-autocomplete - π€ Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
alacritty - A cross-platform, OpenGL terminal emulator.
fish-shell - The user-friendly command line shell.
powerline - Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
pure - Pretty, minimal and fast ZSH prompt
tide - π The ultimate Fish prompt.
zsh-autosuggestions - Fish-like autosuggestions for zsh
iTerm2-Color-Schemes - Over 250 terminal color schemes/themes for iTerm/iTerm2. Includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remmina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, MobaXterm, LXTerminal, Microsoft's Windows Terminal, Visual Studio, Alacritty