alias/docker: shellcheck

This commit is contained in:
John D Pell
2022-01-16 12:49:48 -08:00
parent 7c2c2a5525
commit 5748aa20a7

View File

@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'docker abbreviations'
alias dk='docker'
@@ -19,7 +19,7 @@ case $OSTYPE in
;;
esac
if [ ! -z "$(command ls "${BASH_IT}/enabled/"{[0-9][0-9][0-9]${BASH_IT_LOAD_PRIORITY_SEPARATOR}docker,docker}.plugin.bash 2> /dev/null | head -1)" ]; then
if _bash-it-component-item-is-enabled plugin docker; then
# Function aliases from docker plugin:
alias dkrmlc='docker-remove-most-recent-container' # Delete most recent (i.e., last) Docker container
alias dkrmall='docker-remove-stale-assets' # Delete all untagged images and exited containers