My variant (u mean "up" in my head)
alias u ='cd ..'
alias uu ='cd ../..'
alias uuu='cd ../../..'
My variant (u mean "up" in my head)
alias u ='cd ..'
alias uu ='cd ../..'
alias uuu='cd ../../..'
👎👎👎👎👎👎👎
After some research, fzy
does a good portion of what I want. https://github.com/jhawthorn/fzy
I'm already an avid user of rlwrap
, which can handle other kinds of completion.
UPDATE: After looking around, I've concluded the tool I want doesn't exist, yet.
The other answers are great. But consider the following, as well.
All the mainstream package managers rely on POSIX-ish shell interpreters. Arch Linux PKGBUILD files require bash syntax, specifically.
RPM and .deb package formats literally embed shell scripts to perform pre- and post-installation tasks. They treat these scripts like hooks.
For instance, a common task would be to create requires users and directories for a program. Quite literally something like mkdir -p /var/lib/myprogram
.
I do this but with
xx
because I'm too scared