Added changed alias to script to list pacman sizes.
This commit is contained in:
parent
b944a3864e
commit
364b0a61ac
@ -6,5 +6,3 @@ alias sizes='du -hs .[^.]* * | sort -h'
|
|||||||
alias tmux="tmux -2"
|
alias tmux="tmux -2"
|
||||||
# bash tree alias
|
# bash tree alias
|
||||||
alias gittree="git log --all --decorate --oneline --graph"
|
alias gittree="git log --all --decorate --oneline --graph"
|
||||||
# pacman list sizes
|
|
||||||
alias pacsizes="LC_ALL=C pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4$5, name}' | sort -h"
|
|
||||||
|
@ -33,3 +33,9 @@ nnms_fs()
|
|||||||
sshfs unn_w19014537@newnumyspace.co.uk:/home/unn_w19014537/ $dir_name/
|
sshfs unn_w19014537@newnumyspace.co.uk:/home/unn_w19014537/ $dir_name/
|
||||||
echo "Mounted at $PWD/$dir_name."
|
echo "Mounted at $PWD/$dir_name."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pacman list sizes
|
||||||
|
pacsizes()
|
||||||
|
{
|
||||||
|
pacman -Qi $1 | awk '/^Name/{name=$3} /^Installed Size/{size=$4$5; print size, name;}' | sort -h
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user