aush
fzf-tab
Our great sponsors
aush | fzf-tab | |
---|---|---|
1 | 40 | |
5 | 2,733 | |
- | - | |
0.0 | 7.3 | |
over 1 year ago | 2 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.
fzf-tab
-
fish-shell: the user-friendly command-line shell
Am i the only one who feels fish is not worth it despite of hype? Don't get me wrong. I think that fish is really good shell.
BUT...
After adding the following plugins to zsh(before you chime in, it's just adding these lines,not anything configuring much. also it auto bootstraps on new install), I found out that fish is no where near configured zsh.
1) https://github.com/zdharma-continuum/zinit (plugin manager)
2) https://github.com/zdharma-continuum/fast-syntax-highlightin...
3) https://github.com/zdharma-continuum/history-search-multi-wo...
4) https://github.com/zsh-users/zsh-autosuggestions
5) https://github.com/zsh-users/zsh-completions
6) https://github.com/Aloxaf/fzf-tab
7) any good shell prompt generator like https://github.com/romkatv/powerlevel10k
For example, I use fzf integration for tab completion. Fish's fzf integration is nowhere as good as that of zsh's. Also, posix compat and almost bash compat of zsh is plus.
I acknowledge that zsh isn't perfect shell either and I have tried and failed few times in past to switch to fish. If you provide me compelling reason/s to switch to fish, I am all ears.
-
This fzf config return error
Seriously, see https://github.com/Aloxaf/fzf-tab/pull/132.
-
is there a plugin to replace zsh's default completion selection menu with dmenu?
Basically I want one that works like fzf-tab, but instead of using fzf I want dmenu, I asked chatGPT to make one (I'm aware of how pathetic this sounds...) but it didn't work the way I expected
-
How can i achieve this zsh expansion?
You might have better luck with finding the answer if you file an issue at https://github.com/lincheney/fzf-tab-completion. Few here are using https://github.com/lincheney/fzf-tab-completion (https://github.com/Aloxaf/fzf-tab is a much more popular alternative among zsh users).
- Fzf-Tab
-
My ultimate shell setup with Fish shell and Tmux
Here is another great plugin that pairs nicely with the above.
https://github.com/Aloxaf/fzf-tab
- This is really telling regarding society.
-
Happens too often
Yeah it's just the prefect tool for speeding up so many things in the command line. I even have Fzf pop up for tab completion with fzf-tab.
-
Fish like autosuggestion commands description in zsh!
There's a popular autosuggestion extension (https://github.com/zsh-users/zsh-autosuggestions) which puts dimmed suggestions from the command history in front of the cursor. I use & like it a lot -- however it doesn't do command descriptions as in your sample picture. fzf-tab does something similar, though (https://github.com/Aloxaf/fzf-tab); I find it very useful likewise.
-
zsh plugin to select a files in current directory
Just want to make sure: Have you looked into fzf-tab before starting to implement this?
What are some alternatives?
slimzsh - Small, usable configuration for ZSH
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
powerlevel10k - A Zsh theme
autocomplete - IDE-style autocomplete for your existing terminal & shell
zgen - A lightweight and simple plugin manager for ZSH
bash-completion - Programmable completion functions for bash
fzf - :cherry_blossom: A command-line fuzzy finder
oh-my-fish - The Fish Shell Framework
XS - [ABANDONED] An extensible shell (descended from es and rc) having functional semantics and a conventional syntax.
kubectx - Faster way to switch between clusters and namespaces in kubectl
fish-shell - The user-friendly command line shell.