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:
@ -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