fish: Add pacman -Qo to 'describe'

master
Pierre Neidhardt 2016-10-14 09:26:03 +05:30
parent ff9027a80b
commit 8a717f202e
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ function describe -d 'Extend on "type" for executables'
set -l path (type -p $i)
ls -l $path
file $path | cut -d':' -f2 | cut -b 2-
type -pq pacman; and pacman -Qo $path
case '*'
type $i
end