Warn me when a restart is required every time I open a new terminal
This commit is contained in:
2
.bashrc
2
.bashrc
@@ -92,3 +92,5 @@ __git_complete c __git_main
|
|||||||
|
|
||||||
alias g=goto
|
alias g=goto
|
||||||
[ -s ~/Development/nemoinho/github.com/iridakos/goto/goto.sh ] && . ~/Development/nemoinho/github.com/iridakos/goto/goto.sh
|
[ -s ~/Development/nemoinho/github.com/iridakos/goto/goto.sh ] && . ~/Development/nemoinho/github.com/iridakos/goto/goto.sh
|
||||||
|
|
||||||
|
[ -s /var/run/reboot-required ] && (>&2 echo -e "\n\e[01;31mReboot required to apply updates!\e[0m\n")
|
||||||
|
|||||||
Reference in New Issue
Block a user