You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alias apt-get="sudo apt-get" is specific to debian tree.
Describe the solution you'd like
change apt-get to pacman/yum/dnf based on distribution's package manager
Describe alternatives you've considered
Instructions to change said aliases based on package manager, but since this utility is also being used for ChrisTitusTech/linutil it might be better to automate this process.
Additional context
Also not sure about alias home="cd ~" since it does the same thing as cd which is shorter.
The text was updated successfully, but these errors were encountered:
but since this utility is also being used for ChrisTitusTech/linutil it might be better to automate this process.
Syntax is not the same between package managers, so this is not particularly useful. The better solution would just be to add one for each distro. e.g. alias dnf='sudo dnf'; alias pacman='sudo pacman', etc.
Also not sure about alias home="cd ~" since it does the same thing as cd which is shorter.
It's Chris's bashrc. Whatever he's used to is what's going to be in it. Most people don't want to try to change their habits for an essentially nonexistent time save. For example, I use zoxide to navigate the filesystem, but I have alias cd=z in my bashrc just because of muscle memory.
Is your feature request related to a problem? Please describe.
mybash/.bashrc
Line 140 in db983d3
alias apt-get="sudo apt-get"
is specific to debian tree.Describe the solution you'd like
change apt-get to pacman/yum/dnf based on distribution's package manager
Describe alternatives you've considered
Instructions to change said aliases based on package manager, but since this utility is also being used for ChrisTitusTech/linutil it might be better to automate this process.
Additional context
Also not sure about
alias home="cd ~"
since it does the same thing ascd
which is shorter.The text was updated successfully, but these errors were encountered: