mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
aliases: improve dps/dpsa
Revert dmc to function instead of alias so it actually works
This commit is contained in:
parent
ad713cd680
commit
18208e2362
7
aliases
7
aliases
@ -174,8 +174,9 @@ alias gstv="gsta show -p stash@{0}"
|
|||||||
|
|
||||||
# Docker aliases
|
# Docker aliases
|
||||||
alias d=docker
|
alias d=docker
|
||||||
alias dps='docker ps'
|
alias dps="docker ps --format='table {{.ID}}\t{{.Image}}\t{{.Label \"org.label-schema.version\"}}\t{{.Networks}}\t{{.RunningFor}}\t{{.Status}}\t{{.Names}}' | sed '1s/version/VERSION/'"
|
||||||
alias dpsa='docker ps -a'
|
alias dpsa="docker ps -a --format='table {{.ID}}\t{{.Image}}\t{{.Label \"org.label-schema.version\"}}\t{{.Networks}}\t{{.RunningFor}}\t{{.Status}}\t{{.Names}}' | sed '1s/version/VERSION/'"
|
||||||
|
alias din='docker inspect'
|
||||||
alias drm='docker rm'
|
alias drm='docker rm'
|
||||||
alias drmi='docker rmi'
|
alias drmi='docker rmi'
|
||||||
alias dim='docker images'
|
alias dim='docker images'
|
||||||
@ -259,7 +260,7 @@ do_dsh() {
|
|||||||
|
|
||||||
alias dc='docker-compose'
|
alias dc='docker-compose'
|
||||||
alias dm='docker-machine'
|
alias dm='docker-machine'
|
||||||
alias dmc='eval $(docker-machine env $1)'
|
dmc() { eval $(docker-machine env $1); }
|
||||||
|
|
||||||
# ZFS aliases
|
# ZFS aliases
|
||||||
alias zfs='sudo zfs'
|
alias zfs='sudo zfs'
|
||||||
|
Loading…
Reference in New Issue
Block a user