summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2021-02-08 22:44:13 +0100
committerivarlovlie <git@ivarlovlie.no>2021-02-08 22:44:13 +0100
commitfdee7340ac18b0866abf0c44643f4c937fc4cf80 (patch)
treef312d8430292744d12a3c03be6fb8cd5894355ef
parent8ab503cb340255b45d0071ef27322cda36b62567 (diff)
downloaddotfiles-server-fdee7340ac18b0866abf0c44643f4c937fc4cf80.tar.xz
dotfiles-server-fdee7340ac18b0866abf0c44643f4c937fc4cf80.zip
rad changes
-rw-r--r--.bashrc1
-rw-r--r--.profile7
2 files changed, 8 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 356658b..90523a0 100644
--- a/.bashrc
+++ b/.bashrc
@@ -25,3 +25,4 @@ alias docker="sudo docker"
alias docker-compose="sudo docker-compose"
alias systemctl="sudo systemctl"
alias please="sudo !!"
+alias docker-compose-hard-refresh="sudo docker-compose pull && sudo docker-compose up -d"
diff --git a/.profile b/.profile
index b33b6e9..0a8defc 100644
--- a/.profile
+++ b/.profile
@@ -1,3 +1,10 @@
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
+
+if [ "$BASH" ]; then
+ if [ -f ~/.bashrc ]; then
+ . ~/.bashrc
+ fi
+fi
+mesg n 2> /dev/null || true