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

alias for apt - include it into your github!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #53

Open
peterweissbier opened this issue Oct 21, 2024 · 2 comments

Comments

@peterweissbier
Copy link

Add the following to your ~/.bashrc AND /root/.bashrc file:

apt() {
command nala "$@"
}
sudo() {
if [ "$1" = "apt" ]; then
shift
command sudo nala "$@"
else
command sudo "$@"
fi
}

@ForteDexe
Copy link

this would be less headache, add to .zshrc

alias apt='\nala'
alias dapt='\apt'
alias sudo='sudo '

@peterweissbier
Copy link
Author

yeah add it to your github instructions on top

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

2 participants