Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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$//''')"'
- ([ $? = 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$//''')"'
Add Comment
Please, Sign In to add comment