RE: https://social.tchncs.de/@cark/116459954767698913 #TIL You can copy or renam...

@cark@social.tchncs.de

RE: social.tchncs.de/@cark/1164599

You can copy or rename files without retyping the path:

❯ cp /your/long/path/config.toml{,.bak}

This expands to:

cp /your/long/path/config.toml /your/long/path/config.bak

Works also with `echo` (nice for testing).

Thanks to @irom for recently pointing me in this direction. 👍️