You could start by typing cd and use tab completion to explore your target folder(s). This would require at least a rudimentary knowledge of what you’re looking for so you can prefix your search
If you really want to explore the contents and pick your target without knowing anything in advance, cd"$(find . -type d | fzf)" would give you a smart browser. You can of course replace ‘.’ with any base directory you like. Requires fzf.
If you want to stay a purist, I’d go for simply recalling your last ls command from the history and replacing it with cd. An example has been given in the thread already.
You could start by typing cd and use tab completion to explore your target folder(s). This would require at least a rudimentary knowledge of what you’re looking for so you can prefix your search
If you really want to explore the contents and pick your target without knowing anything in advance,
cd "$(find . -type d | fzf)"would give you a smart browser. You can of course replace ‘.’ with any base directory you like. Requires fzf.In general, zoxide can help with navigation.
If you want to stay a purist, I’d go for simply recalling your last ls command from the history and replacing it with cd. An example has been given in the thread already.