Installing is easy just add:

alias updog="sudo apt update && sudo apt upgrade -y"

to your .bashrc or .zshrc

  • @charles
    link
    English
    841 year ago

    This would go perfectly with the alias I did because I kept forgetting the original command:

    $ alias whats=type
    $ whats updog
    updog is aliased to 'sudo apt update && sudo apt upgrade -y'
    
    • @eating3645
      link
      English
      161 year ago

      It’s all coming together now!