3 ms·
Is there a way to expand special commands (and optionally aliases) in BASH without executing them. Like if I put `ll !$` it would show, say, `ls -al /home/user
by pbhjpbhj 8y ago
Is there a way to expand special commands (and optionally aliases) in BASH without executing them.
Like if I put `ll !$` it would show, say, `ls -al /home/user/downloads` on a new line.
I'd love tab style completion that offered explicit history as well as standard completions. So if I `find` and then press the completion key-combo I get a list of the last 10 unique find commands (and I can choose one and edit before running).
- 0x445442 8y agoThis may be possible with fzf but I'm not sure of all the features it's capable of. This type of behavior would be a great addition to the terminal or popular shells. Instead of having the command prompt always display at the end of output, have it stay in the same place at the top or bottom. Something like you get with the Emacs mini-buffer with tools like helm but for the terminal.