Videos
Primarily looking for shells that can bind keybinds to shell functions and ease of configuration.
I am not looking to try bash or zsh as they are quite big and slow.
Currently on mksh, auto completion isn't very nice and I'm trying to do keybindings to go around that.
ZSH-z is a command line tool that allows you to jump quickly to directories that you have visited frequently in the past, or recently -- but most often a combination of the two (a concept known as "frecency"). ZSH-z is a native ZSH port of rupa/z, but it uses native ZSH features to avoid having to invoke external programs such as awk, sed, sort, date, and the like.
A new setting, ZSHZ_UNCOMMON=1, addresses a common complaint about rupa/z and ZSH-z that involves "common prefixes."
If you type z code and the best matches, in increasing order, are
/home/me/code/foo /home/me/code/bar /home/me/code/bat
ZSH-z will see that all possible matches share a common prefix and will send you to that directory -- /home/me/code -- which is often a desirable result. But if the possible matches are
/home/me/.vscode/foo /home/me/code/foo /home/me/code/bar /home/me/code/bat
then there is no common prefix. In this case, z code will simply send you to the highest-ranking match, /home/me/code/bat.
You may enable an alternate, experimental behavior by setting ZSHZ_UNCOMMON=1. If you do that, ZSH-z will not jump to a common prefix, even if one exists. Instead, it chooses the highest-ranking match -- but it drops any subdirectories that do not include the search term. So if you type z bat and /home/me/code/bat is the best match, that is exactly where you will end up. If, however, you had typed z code and the best match was also /home/me/code/bat, you would have ended up in /home/me/code (because code was what you had searched for). This feature is still in development, and feedback is welcome.
https://github.com/agkozak/zsh-z