3 ms·
Interactively editing the filename is possible with this even simpler solution: mv foo.txt ↑ Alt-. This works in bash and any shell using readline. Exp
by mrb 7y ago
Interactively editing the filename is possible with this even simpler solution:
mv foo.txt
↑
Alt-.
This works in bash and any shell using readline. Explanation: https://news.ycombinator.com/item?id=22863402 https://news.ycombinator.com/item?id=22863402
- bJGVygG7MQVF8c 7y agoGreat tip thanks! Similarly, readline's vi mode makes interactive editing in place easy