abra zsh config 2.0
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# function pacman-list-disowned {
|
||||
|
||||
local tmp="${TMPDIR:-/tmp}/pacman-disowned-$UID-$$"
|
||||
local db="$tmp/db"
|
||||
local fs="$tmp/fs"
|
||||
@@ -20,3 +22,5 @@ find /bin /etc /lib /sbin /usr \
|
||||
\( -type d -printf '%p/\n' -o -print \) | sort > "$fs"
|
||||
|
||||
comm -23 "$fs" "$db"
|
||||
|
||||
# }
|
||||
|
@@ -6,6 +6,8 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# function pacman-list-explicit {
|
||||
|
||||
pacman --query --explicit --info \
|
||||
| awk '
|
||||
BEGIN {
|
||||
@@ -18,3 +20,5 @@ pacman --query --explicit --info \
|
||||
print $2
|
||||
}
|
||||
'
|
||||
|
||||
# }
|
||||
|
Reference in New Issue
Block a user