Skip to content

Instantly share code, notes, and snippets.

@teffalump
Last active August 29, 2015 14:03

Revisions

  1. teffalump revised this gist Jan 2, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions pkg-size.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    #!/usr/bin/zsh
    #DEPRECATED
    #get size of package(s) in arch (specify none for all)
    pacman -Si "$@" | awk -F ": " '/^Name/ {name=$2} /^Installed Size/ {printf "%s %d KiB\n", name, $2}'
  2. teffalump created this gist Jul 4, 2014.
    3 changes: 3 additions & 0 deletions pkg-size.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/usr/bin/zsh
    #get size of package(s) in arch (specify none for all)
    pacman -Si "$@" | awk -F ": " '/^Name/ {name=$2} /^Installed Size/ {printf "%s %d KiB\n", name, $2}'