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:
parent
6e7f2f1074
commit
2c3d0edc28
2
aliases
2
aliases
@ -263,6 +263,8 @@ alias zfs='sudo zfs'
|
|||||||
alias zpool='sudo zpool'
|
alias zpool='sudo zpool'
|
||||||
alias z=zfs
|
alias z=zfs
|
||||||
alias zp=zpool
|
alias zp=zpool
|
||||||
|
zl() { (set -o pipefail; command zfs list $@ | grep -Ev 'docker/[0-9a-f]{64}'); return $?; }
|
||||||
|
_zl() { _zfs "list $@" }
|
||||||
|
|
||||||
# General Aliases
|
# General Aliases
|
||||||
alias ssha='eval `ssh-agent` ; ssh-add'
|
alias ssha='eval `ssh-agent` ; ssh-add'
|
||||||
|
Loading…
Reference in New Issue
Block a user