Creating an alert function in Bash

前端 未结 0 766
野的像风
野的像风 2020-12-11 23:41

I wanted to create a function in bash similar to a default alias I got in Ubuntu, looking like:

alias alert=\'notify-send --urgency=low -i "$([ $? = 0 ]          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题