From 42e5a4e97a6f89f5019c7632e78557b2b9581709 Mon Sep 17 00:00:00 2001 From: Brad Ganley Date: Mon, 15 May 2023 01:39:59 -0500 Subject: [PATCH] I should have had a V8 this morning. --- .bash_aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bash_aliases b/.bash_aliases index 2c80b6a..a2c1fb6 100755 --- a/.bash_aliases +++ b/.bash_aliases @@ -105,6 +105,7 @@ alias pang='ping -i 10 -v -a' alias mnts='mount | column -t' # The history command but shorter alias h='history' + # Lazy docker composing. Set the variable somewhere. alias doco="$DOCKER_COMPOSE_COMMAND" alias redoco="$DOCKER_COMPOSE_COMMAND down && $DOCKER_COMPOSE_COMMAND up -d" @@ -115,6 +116,8 @@ alias bin='nc termbin.com 9999' # Quicker Docker exec alias dex='docker exec' alias dps="docker ps --format 'CONTAINER ID: {{.ID}}\nIMAGE: {{.Image}}\nCOMMAND: {{.Command}}\nCREATED: {{.CreatedAt}}\nSTATUS: {{.Status}}\nPORTS: {{.Ports}}\nNAMES: {{.Names}}\n'|cat" +alias lzd='docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v ~/lzd:/.config/jesseduffield/lazydocker lazyteam/lazydocker' + # Misc # Get the weather. Put your location after the command alias wttr='ansiweather -u imperial -s false -l'