Skip to content

Instantly share code, notes, and snippets.

@mklkj
Last active March 30, 2017 15:08
Show Gist options
  • Save mklkj/499ae938c5bacec12e0bec11f3dd4e71 to your computer and use it in GitHub Desktop.
Save mklkj/499ae938c5bacec12e0bec11f3dd4e71 to your computer and use it in GitHub Desktop.
Bash aliases
# upgrade system
alias upgrade='apt update; apt upgrade -y; apt dist-upgrade -y'
# recursive git pull
alias git-pull-all='find $(git rev-parse --show-toplevel 2> /dev/null) -name .git -type d -execdir git pull -v ";"'
# group directories first on files list
alias ll='ls --color -lh --group-directories-first'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment