--- skel.bashrc 2021-03-19 21:05:20.000000000 +0500 +++ skel.bashrc.fixed 2021-12-03 17:41:25.641227714 +0500 @@ -94,7 +94,7 @@ # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert -alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' +alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"' # Alias definitions. # You may want to put all your additions into a separate file like