add docker aliases
This commit is contained in:
parent
487aab4fb7
commit
1a608d9efc
@ -1,3 +1,7 @@
|
|||||||
|
# This .bashrc is kept under git version control
|
||||||
|
# To make any edits or configurations, please edit `~/.config/bashrc`
|
||||||
|
# as this is sourced at the end of this file
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
case $- in
|
case $- in
|
||||||
*i*) ;;
|
*i*) ;;
|
||||||
@ -59,6 +63,10 @@ alias tmlsc="tmux lsc"
|
|||||||
alias tmks="tmux kill-session -t" # kill one session
|
alias tmks="tmux kill-session -t" # kill one session
|
||||||
alias tmka="tmux kill-server" # aka killall
|
alias tmka="tmux kill-server" # aka killall
|
||||||
|
|
||||||
|
# docker
|
||||||
|
alias d="docker"
|
||||||
|
alias dc="docker-compose"
|
||||||
|
|
||||||
# python
|
# python
|
||||||
# python3 is python unless python is python
|
# python3 is python unless python is python
|
||||||
if ! command -v python &> /dev/null && command -v python3 &> /dev/null; then
|
if ! command -v python &> /dev/null && command -v python3 &> /dev/null; then
|
||||||
@ -352,9 +360,9 @@ fi
|
|||||||
# local bins
|
# local bins
|
||||||
# [ -d "$HOME/.local/bin" ] && appendpath "$HOME/.local/bin"
|
# [ -d "$HOME/.local/bin" ] && appendpath "$HOME/.local/bin"
|
||||||
[ -d "$HOME/.local/scripts" ] && appendpath "$HOME/.local/scripts"
|
[ -d "$HOME/.local/scripts" ] && appendpath "$HOME/.local/scripts"
|
||||||
|
|
||||||
# local rc
|
# local rc
|
||||||
[ -r "$HOME/.config/bashrc" ] && source "$HOME/.config/bashrc"
|
[ -r "$HOME/.config/bashrc" ] && source "$HOME/.config/bashrc"
|
||||||
[ -r "$HOME/.local/bashrc" ] && source "$HOME/.local/bashrc"
|
|
||||||
|
|
||||||
## macOS package managers ##
|
## macOS package managers ##
|
||||||
# homebrew
|
# homebrew
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user