Can you type an alias and make it so the alias breaks down into the command it aliases? so lets say I have the alias alias pacS='sudo pacman -S and if I now type pacS into the console and do someting, like a shortcut or something that turn that pacS into sudo pacman -S again (to edit the command for example). Is that possible?
For those at home watching, this is how you ask a question. Not everything is easy to Google but most are.
use a shell that has it
write a real simple script alias that echos the command?
Обсуждают сегодня