Update submodule

This commit is contained in:
D-X-Y
2021-03-03 13:18:45 +08:00
parent 1e1e48a4ae
commit 0591fcbb10
4 changed files with 157 additions and 1 deletions

View File

@@ -92,6 +92,9 @@ alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# Change the Color
PS1='\[\e[1;35m\][\[\e[1;33m\]\u@\h \[\e[1;31m\]\w\[\e[1;35m\]]\[\e[1;36m\]\$ \[\e[0m\]'
# 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$//'\'')"'