summaryrefslogblamecommitdiffstats
path: root/fish/functions/get-random-package-info.fish
blob: 9d68d7887bfaf557fc2487e8ace0dc1047666750 (plain) (tree)
1
2
3
4



                                                                                                    
function get-random-package-info --description 'Get random information on installed Debian packages'
	dpkg-query --status (dpkg --get-selections | awk '{print NR,}' | grep -oP "^( echo [ (
 % (dpkg --get-selections| wc -l) + 1 ) ] ) \K.*")
end