Installing is easy just add:

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

to your .bashrc or .zshrc

  • @charles
    link
    English
    8411 months 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
      1611 months ago

      It’s all coming together now!