Live data from Hacker News

Shunpo: Minimalist bash tool to make directory navigation a little bit faster

github.com

11–20 of 54 posts

Re: Shunpo: Minimalist bash tool to make directory navigation a little bit faster

#14
post #8

I have a utility called ZSH Autosuggestions, and it's probably one of the most useful things on my computer. It shows you a sort of preview of the most recent command you typed that matches the prefix of the current command you are typing. It's basically an automatic tool that bookmarks commands based on usage. I think the best bookmark systems are ones which simply track your entire history and suggest relevant page…

This is essentially a fish built-in. I used to use zsh before, but since changing to fish I've never looked back. Auto completion, abbreviations, better syntax, and especially the auto complete is like magic. It also seems to "know" in which working directories some commands work and won't suggest them if they arent.

Agreed, zsh autocompletions are noticeably worse than fish and is precisely why when I switched to fish it was over

Re: Shunpo: Minimalist bash tool to make directory navigation a little bit faster

#15
post #8

I have a utility called ZSH Autosuggestions, and it's probably one of the most useful things on my computer. It shows you a sort of preview of the most recent command you typed that matches the prefix of the current command you are typing. It's basically an automatic tool that bookmarks commands based on usage. I think the best bookmark systems are ones which simply track your entire history and suggest relevant page…

This is essentially a fish built-in. I used to use zsh before, but since changing to fish I've never looked back. Auto completion, abbreviations, better syntax, and especially the auto complete is like magic. It also seems to "know" in which working directories some commands work and won't suggest them if they arent.

This is also a `bash` (or rather any `readline` app) builtin.

    $ cat .inputrc
    set editing-mode vi
    set keymap vi-command
    k: history-search-backward
    j: history-search-forward
Type any prefix, press `k` (or `` in emacs mode) and it'll prefix match on history. Keep pressing `k` for older matches.

Re: Shunpo: Minimalist bash tool to make directory navigation a little bit faster

#18

Earlier quoted context omitted.

This is essentially a fish built-in. I used to use zsh before, but since changing to fish I've never looked back. Auto completion, abbreviations, better syntax, and especially the auto complete is like magic. It also seems to "know" in which working directories some commands work and won't suggest them if they arent.

This is also a `bash` (or rather any `readline` app) builtin. $ cat .inputrc set editing-mode vi set keymap vi-command k: history-search-backward j: history-search-forward Type any prefix, press ` k` (or ` ` in emacs mode) and it'll prefix match on history. Keep pressing `k` for older matches.

I don’t even have to type anything in fish. It automatically shows prefix completions.

Fish really is amazing and it really is worth the minor transition costs.

Re: Shunpo: Minimalist bash tool to make directory navigation a little bit faster

#19
post #3

I really like "jump" which I have aliased to "j". It auto learns and you can also pin shortcut names so I don't have to fuss configuring it but also can control certain ones. Great trade off between usability and configurability. Can't find the repo but "brew install jump" works :)

https://github.com/gsamokovarov/jump > Personally, I've been using z ( https://github.com/rupa/z >) for ages and never really needed more.

Agreed! „z“ and atuin (https://github.com/atuinsh/atuin) cover most of my needs.
Post reply on HN