The most useful shell alias I ever defined was
alias cde='cd $_'
in bash and zsh `$_` stands for the last argument to the previous command, so I can do e.g.
cp meme.png memes/
Oh neat. All this time I've been typing `cd ' and pressing M-. to insert the previous last argument.
@erkin Oh I didn’t know about that :D
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!