1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 23:19:25 +00:00

Add comments into each of the function files to make them easier to find

This commit is contained in:
Kaleb Elwert
2017-07-06 16:01:26 -07:00
parent a70bce3ea6
commit 7d5beeab51
36 changed files with 144 additions and 0 deletions

View File

@ -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"
# }

View File

@ -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
}
'
# }