Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster way to view PKGBUILD, etc. on first install #648

Open
xsrvmy opened this issue Jun 4, 2022 · 4 comments
Open

Faster way to view PKGBUILD, etc. on first install #648

xsrvmy opened this issue Jun 4, 2022 · 4 comments

Comments

@xsrvmy
Copy link

xsrvmy commented Jun 4, 2022

Is there a faster way to view the PKGBUILD on the first install (eg. showing diff against an empty file like yay does)? Going into edit and then hitting :q takes way too many key presses.

@akspecs
Copy link
Contributor

akspecs commented Jun 5, 2022

i replied via email, but that reply is not showing up for some reason. forgive the duplicate reply if that message eventually comes up!

pikaur handles future updates to packages (installed by pikaur) by showing the future version's PKGBUILD and relevant install files diff's against the prior PKGBUILD and install files.

perhaps a nice to have feature would be to have the option to pipe the PKGBUILD's contents through less if the goal is to only view the PKGBUILD without editing it.

and with a few more keystrokes you might be able to submit the pull request that accomplishes exactly this ;)

@xsrvmy
Copy link
Author

xsrvmy commented Jun 5, 2022

I think there's a misunderstanding here. I was talking about the first install, where unlike yay and paru, pikaur shows the diff as nothing instead of the entire file. I think the current behaviour is fine for updates.

@actionless
Copy link
Owner

i think it could be new config option added for choosing alternative command for viewing file for the first time (if it's not set - normal editor logic should be executed) - so people could choose cat, less, more or whatever

@akspecs
Copy link
Contributor

akspecs commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants