Issue
I am new to bash aliases and I want to create an bash alias that executes emerge with user input and after it successfully ended to start another one. Is it possible or do I need to write a script for that.
As an idea:
Input:
emerge --ask sys-devel/gcc
Alias:
alias emerge='emerge "insert user input here(--ask sys-devel/gcc)" && notify-send "NOTIFY!"'
Solution
As choroba said in his comment: "It's not possible with an alias, use a function instead"
Answered By - L. Niesen Answer Checked By - Mildred Charles (WPSolving Admin)