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

Add apt_upgrade rule #761

Merged
merged 3 commits into from
Jan 3, 2018
Merged

Add apt_upgrade rule #761

merged 3 commits into from
Jan 3, 2018

Conversation

josephfrazier
Copy link
Collaborator

This suggests apt upgrade after apt list --upgradable if there are
packages to upgrade. It pairs well with the apt_list_upgradable rule,
which suggests apt list --upgradable after apt update if there are
packages to upgrade.

This suggests `apt upgrade` after `apt list --upgradable` if there are
packages to upgrade. It pairs well with the `apt_list_upgradable` rule,
which suggests `apt list --upgradable` after `apt update` if there are
packages to upgrade.
@nvbn
Copy link
Owner

nvbn commented Jan 3, 2018

Thanks!

@nvbn nvbn merged commit a696461 into nvbn:master Jan 3, 2018
riley-martine pushed a commit to riley-martine/thefuck that referenced this pull request Dec 7, 2023
* apt_list_upgradable: Prepend sudo to suggestion if used in command

* Add apt_upgrade rule

This suggests `apt upgrade` after `apt list --upgradable` if there are
packages to upgrade. It pairs well with the `apt_list_upgradable` rule,
which suggests `apt list --upgradable` after `apt update` if there are
packages to upgrade.

* Add apt_upgrade rule to README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants