alias/docker: `shellcheck`
parent
7c2c2a5525
commit
5748aa20a7
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue