Manjaro-Pek / pacli

A simple and interative Bash Frontend for Pacman/Yaourt/Pacaur
GNU General Public License v2.0
44 stars 8 forks source link

pactree 7 and AUR #36

Closed papajoker closed 8 years ago

papajoker commented 8 years ago

in list , It's missing AUR packages for make a pactree -c "aur-package" without option -s

excalibur1234 commented 8 years ago

thanks for the tip! you are right.

i just fixed it: https://github.com/Manjaro-Pek/pacli/commit/7234b6dcd8c275c70ac3ba300d03d19810c72258

excalibur1234 commented 8 years ago

i just thought about it again:

what is more important?

papajoker commented 8 years ago

test if local, pactree -cs package only if not local:

pkg=$(pacman -Slq | fzf-tmux -e --reverse --prompt='Select a package >') # NOT  -Slq !
option='s'
(yaourt -Qs "^${pkg}$" | head -n 1 | grep "^local" &>/dev/null) && option=''  # AUR
pactree -c${option} "$pkg"
unset option pkg
excalibur1234 commented 8 years ago

i have just seen that you already edited option 7 and 8 heavily in your branch: https://github.com/papajoker/pacli/commit/6e2b2e23d47d3e5b748eb30d13cc22edb1a53028

i do not like to edit these options while you do something else. let's wait until you have finished your branch. then, we can talk about further improvements.