aush
prezto
Our great sponsors
aush | prezto | |
---|---|---|
1 | 34 | |
5 | 13,780 | |
- | - | |
0.0 | 6.3 | |
over 1 year ago | 8 days ago | |
Python | Shell | |
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.
aush
-
The Fish Shell Is Amazing
I'll put it this way: Nu shell seems perfectly supportive of my philosophy that a shell is basically a REPL for a computer, and they're taking the ergonomics of an interactive REPL along with the programming language that powers that REPL seriously.
The thing is, there's currently NOTHING GOOD for "shell scripting". Shell sucks (yes it does), so for anything more than very short things I'd rather write Python. But Python sucks for shell-like things, parallelization, it has slow startup, and you also can't do things like put environment variables into your session or change the working directory, so you often wind up writing shims (eg. Broot's br alias - https://dystroy.org/broot/install-br/).
Yes I've looked at Xonsh but maybe the additional syntax is offputting to me. Like, I wouldn't use it as a shell over Zsh (how's Xonsh's fzf support? I don't know, but I know everything's going to support Zsh), and I dunno if I want to use its syntax extensions over just Python. Though It's always on my list of things to re-explore, and maybe it'll click one day. But it being based in Python makes it feel slow (I wrote my prompt in Zig to get it to be fast...)
This is relevant to mention: I wrote a small Python library (https://github.com/kbd/aush) that's basically a DSL for subprocesses, so it tries to make it more convenient to do shell-like things. I find it preferable to shell or Python alone most of the time. Here's an example of its use in my script that creates a new Python project: https://github.com/kbd/setup/blob/master/HOME/bin/create-pyt...
I haven't figured out a convenient way to implement shell piping well with Python's pipe operator, or pass through interactive output directly (so things that "update" the display, like poetry and npm don't behave the same as they do interactively) so it's still .9 status, but it works really well for what it is, and you can always write "regular Python" along with it.
Anyway, Nu seems to be an attempt to put a "real" programming language REPL in my shell, from people who have serious language experience, so I'm hopeful it'll be great.
prezto
-
Carapace: A multi-shell completion library and binary
Beyond zprof (https://www.bigbinary.com/blog/zsh-profiling) not really I'm afraid. I did the majority of my zsh-prompt hacking 10 years ago and haven't thought about it since. That snippet could be from anywhere.
You could peek at something like zprezto https://github.com/sorin-ionescu/prezto or pure https://github.com/sindresorhus/pure for tips.
Fetching git/hg/... info is always slow, so try and speed that up where you can (as to how to do that, uhh... I know my prompt has a dirty-state check nicked from pure for speed reasons). You can also cache any `asdf init zsh` or similar to a file and do the same "run in background" trick so the next shell will have any changes.
The biggest improvement I can remember was dropping zprezto for my own much smaller config, I really did not need much comparatively. Mostly some git info and "good default" options. I use zgenom for a plugin manager but only have 3 plugins, probably I should just dump it and inline the plugins to avoid getting owned one day.
-
I think Linux might be the superior platform for gaming at this point.
Is the command line really so scary? I enjoy using it from time-to-time (usually not for gaming related reasons) and I like things like Prezto to make it look pretty.
- no-my-zsh Killed My History
- What is the best alternative to the Guake terminal in macOS with the most closed-in look and functionality?
-
Best terminal app for MacOs
I switched from Oh My Zsh to Prezto years ago. OMZ at the time was excruciatingly slow, but that may have changed. Maybe I should take another look at it, but Prezto has been great.
-
I was frustrated with the way Windows handles Hebrew on Latin keyboards, so I wrote an open-source IME for Hebrew to make it easier! You download it, type in the phonetics, and it gives you the Hebrew.
I installed iTerm2 and zsh shell with Prezto and I love my command line on OSX I use homebrew to install any tools that are missing and use pyenv to manage my python version (which I also do on Linux) that and the clang/gcc from the OSX command line tools and I pretty much have a full Un*x shell for anything I need to do
-
Reasons to change the default terminal to Warp
Moreover, there are tools were made on top of those to provide more functionalities, and fill some of the gaps, for instance, oh-my-zsh, Prezto, oh-my-fish, and much more. However, the default embedded terminal in macOS is still lacking something. That's why iTerm and other terminal like Hyper. It provides you a set of customization to boost your productivity.
-
How do I move git branch from right side to inside the prompt in prezto?
See terminal below. On the left side is my prompt, and on the right side is information I presume came from the git module in prezto.
-
Master any CLI tool with this one weird trick
I recently heard about prezto which is a fork of ohmyzsh but haven't tried it yet (most of the plugins I use are in ohmyzsh) it is more customizable and less bloated than ohmyzsh.
-
Choosing ZSH framework
If you want to try a different preconfigured shell environment, big names are Prezto and zsh4humans. Prezto, like OMZ, comes with a plugin manager built in; zsh4humans does not.
What are some alternatives?
slimzsh - Small, usable configuration for ZSH
zimfw - Zim: Modular, customizable, and blazing fast Zsh framework
powerlevel10k - A Zsh theme
oh-my-zsh - 🙃 A delightful community-driven (with 1700+ contributors) framework for managing your zsh configuration. Includes nearly 300 optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 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. [Moved to: https://github.com/ohmyzsh/ohmyzsh]
fzf-tab - Replace zsh's default completion selection menu with fzf!
zgen - A lightweight and simple plugin manager for ZSH
zsh-z - Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh with added features.
fzf - :cherry_blossom: A command-line fuzzy finder
fish-shell - The user-friendly command line shell.
XS - [ABANDONED] An extensible shell (descended from es and rc) having functional semantics and a conventional syntax.
zsh-snap - ⚡️ Znap! Fast, easy-to-use tools for Zsh dotfiles & plugins, plus git repos