Add: import profile(.d) & docker aliases
This commit is contained in:
parent
496d61409c
commit
b4b47eda78
1 changed files with 8 additions and 0 deletions
8
bashrc
8
bashrc
|
@ -1,3 +1,6 @@
|
||||||
|
source /etc/profile 2>/dev/null
|
||||||
|
source /etc/profile.d/* 2>/dev/null
|
||||||
|
|
||||||
# Change prompt if root
|
# Change prompt if root
|
||||||
if [ $UID -eq 0 ] ; then
|
if [ $UID -eq 0 ] ; then
|
||||||
PROMPT_SUFFIX='\[\033[1;31m\] # \[\033[0m\]'
|
PROMPT_SUFFIX='\[\033[1;31m\] # \[\033[0m\]'
|
||||||
|
@ -49,3 +52,8 @@ alias gl="git l"
|
||||||
alias ga="git add"
|
alias ga="git add"
|
||||||
alias gpush="git push"
|
alias gpush="git push"
|
||||||
alias gpull="git pull"
|
alias gpull="git pull"
|
||||||
|
|
||||||
|
alias dcu="docker-compose up -d --remove-orphans"
|
||||||
|
alias dcd="docker-compose down"
|
||||||
|
alias dcp="docker-compose pull"
|
||||||
|
alias dcb="docker build ."
|
||||||
|
|
Loading…
Reference in a new issue