mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Add some docker, vagrant, packer and zfs aliases
This commit is contained in:
parent
eaa4bd095a
commit
b9a8ca1923
14
aliases
14
aliases
@ -128,6 +128,7 @@ alias dkl='docker kill'
|
||||
dklrm() { docker kill $1 ; docker rm $1 }
|
||||
alias dst='docker stop'
|
||||
alias dlg='docker logs -f'
|
||||
alias dalpine='docker run -ti --rm alpine /bin/sh'
|
||||
alias drm-stopped='docker rm -v $(docker ps -a -q -f status=exited)'
|
||||
alias drmi-untag='docker rmi $(docker images -f "dangling=true" -q)'
|
||||
dsh() {
|
||||
@ -147,6 +148,19 @@ alias dm='docker-machine'
|
||||
dm-con() {
|
||||
eval $(docker-machine env $1)
|
||||
}
|
||||
alias dmc=dm-con
|
||||
|
||||
alias dc='docker-compose'
|
||||
|
||||
# ZFS aliases
|
||||
alias zfs='sudo zfs'
|
||||
alias zpool='sudo zpool'
|
||||
alias z=zfs
|
||||
alias zp=zpool
|
||||
|
||||
# Packer, Vagrant aliases
|
||||
alias pk=packer
|
||||
alias v=vagrant
|
||||
|
||||
# General Aliases
|
||||
alias ssha='eval `ssh-agent` ; ssh-add'
|
||||
|
Loading…
Reference in New Issue
Block a user