Add dedicated alias file master
authorJulien Valroff <julien@kirya.net>
Tue, 30 Jul 2019 14:53:29 +0000 (16:53 +0200)
committerJulien Valroff <julien@kirya.net>
Tue, 30 Jul 2019 14:53:29 +0000 (16:53 +0200)
.bash_aliases [new file with mode: 0644]

diff --git a/.bash_aliases b/.bash_aliases
new file mode 100644 (file)
index 0000000..0191242
--- /dev/null
@@ -0,0 +1,3 @@
+if [ $EUID -ne 0 ]; then
+  alias up='sudo apt update && sudo apt upgrade'
+fi