aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--%HOME%/.bashrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index 80012b5..33fe277 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -62,6 +62,13 @@ alias tree='tree -a'
alias cls='echo -en "\ec"'
+list_manually_installed_packages_ubuntu() (
+ set -o errexit -o nounset -o pipefail
+
+ comm -23 <( apt-mark showmanual | sort | uniq ) \
+ <( gzip --decompress --stdout -- /var/log/installer/initial-status.gz | sed --quiet 's/^Package: //p' | sort | uniq )
+)
+
list_packages_cygwin() (
set -o errexit -o nounset -o pipefail