1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

aliases: add zl='zfs list' alias w/ completion

This commit is contained in:
Joe Groocock 2018-10-30 20:23:48 +00:00
parent 6e7f2f1074
commit 2c3d0edc28
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -263,6 +263,8 @@ alias zfs='sudo zfs'
alias zpool='sudo zpool'
alias z=zfs
alias zp=zpool
zl() { (set -o pipefail; command zfs list $@ | grep -Ev 'docker/[0-9a-f]{64}'); return $?; }
_zl() { _zfs "list $@" }
# General Aliases
alias ssha='eval `ssh-agent` ; ssh-add'