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

Improve aliases of portage #513

Merged
merged 11 commits into from
Jan 14, 2024
5 changes: 3 additions & 2 deletions aliases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,9 @@ OMB_ALIAS_PACKAGE_MANAGER_SUDO=
| `esync` | `sudo emerge --sync` | Updates repositories, for which auto-sync, sync-type and sync-uri attributes are set in repos.conf. |
| `eb` | `sudo ebuild` | An ebuild must be, at a minimum, a valid Portage package directory name without a version or category, such as portage or python. |
| `er` | `sudo emerge -c` | Cleans the system by removing packages that are not associated with explicitly merged packages. |
| `ers` | `sudo emerge -c` | Cleans the system by removing packages that are not associated with explicitly merged packages. |
| `emfu` | `sudo emerge --sync && sudo emerge -uDUj @world` | Emerge Update & Upgrade. |
| `emfu` | `sudo emerge --sync && sudo emerge -uDN @world` | Emerge Update & Upgrade. |
| `ecd` | `sudo eclean-dist -d` | Cleans repository source files |
| `ecp` | `sudo eclean-pkg -d` | Cleans binary packages |
| `elip` | `sudo eix-installed -a` | List all installed programs. |

### Paludis Package Manager (`cave`)
Expand Down
9 changes: 8 additions & 1 deletion aliases/package-manager.aliases.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@ if _omb_util_binary_exists emerge; then
alias esync="${_omb_tmp_sudo}emerge --sync" # Enoch SYNC
alias eb="${_omb_tmp_sudo}ebuild" # Enoch Build
alias er="${_omb_tmp_sudo}emerge -c" # Enoch Remove
alias emfu="${_omb_tmp_sudo}emerge --sync && ${_omb_tmp_sudo}emerge -uDN @world" # Enoch Upgrade System
# Deprecated, retained for backwards compatibility
akinomyoga marked this conversation as resolved.
Show resolved Hide resolved
alias ers="${_omb_tmp_sudo}emerge -c" # Enoch Remove Systempackage
alias emfu="${_omb_tmp_sudo}emerge --sync && ${_omb_tmp_sudo}emerge -uDUj @world"
fi
if _omb_util_binary_exists eclean; then
alias ecd="${_omb_tmp_sudo}eclean-dist -d" # Enoch Clean Repository Source Files
alias ecp="${_omb_tmp_sudo}eclean-pkg -d" # Enoch Clean Binary Packages
fi
if _omb_util_binary_exists eix; then
alias elip="${_omb_tmp_sudo}eix-installed -a" # Enoch List Installed Packages
fi

Expand Down