Skip to content

ZSH aliases - not working #4

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

Open
CrustyBarnacle opened this issue Sep 9, 2024 · 0 comments
Open

ZSH aliases - not working #4

CrustyBarnacle opened this issue Sep 9, 2024 · 0 comments

Comments

@CrustyBarnacle
Copy link
Owner

cat <<- EOF >> ${ZSH_CUSTOM:-$HOME/.zsh/custom}/aliases_apt.zsh
# Package manager aliases (apt, firmware, flatpak)
# APT
alias au="sudo apt update"
alias upgrade="sudo apt upgrade -y && sudo apt dist-upgrade && sudo apt autoremove -y"
alias clean="sudo apt autoclean"
alias apt-all="au && upgrade && clean"
# Firmware
alias fwu="sudo fwupdmgr get-devices && sudo fwupdmgr get-updates && sudo fwupdmgr update -y"
# Flatpak
alias fpu="flatpak update --assumeyes && flatpak upgrade --assumeyes"
EOF

APT aliases are not loaded/read at login (and/or startup of ZSH). Have had to manually source the aliases - then it works (until you restart and/or login anew.

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

No branches or pull requests

1 participant