zsh: babe, wake up! new alias just dropped!
This commit is contained in:
parent
3d51d02379
commit
0889ecdf39
1 changed files with 7 additions and 4 deletions
3
.zshrc
3
.zshrc
|
@ -122,6 +122,9 @@
|
||||||
# lists all open ports, along with some other info
|
# lists all open ports, along with some other info
|
||||||
alias ls-ports='netstat -tulpn'
|
alias ls-ports='netstat -tulpn'
|
||||||
|
|
||||||
|
# list all disks and their mount points
|
||||||
|
alias mnt="mount | awk -F' ' '{ printf \"%s\t%s\n\",\$1,\$3; }' | column -t | grep -E '^/dev/' | sort"
|
||||||
|
|
||||||
# backs up list of packages
|
# backs up list of packages
|
||||||
alias packback='comm -23 <(paru -Qqett | sort) <(paru -Qqg base -g base-devel | sort | uniq) > ~/pkglist.txt'
|
alias packback='comm -23 <(paru -Qqett | sort) <(paru -Qqg base -g base-devel | sort | uniq) > ~/pkglist.txt'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue