Skip to content

Instantly share code, notes, and snippets.

@constrict0r
Last active December 6, 2019 20:41
Show Gist options
  • Save constrict0r/42000c37fdefe135fde8c046107bcc07 to your computer and use it in GitHub Desktop.
Save constrict0r/42000c37fdefe135fde8c046107bcc07 to your computer and use it in GitHub Desktop.
Set bash aliases.
#!/bin/bash
#
# @file bash-alias
# @brief Add useful bash commands aliases.
alias changes="find . -maxdepth 1 -mindepth 1 -type d -exec sh -c '(echo {} && cd {} && git status -s && echo)' \;"
alias runit="ansible-playbook -i tests/inventory tests/test-playbook.yml"
alias gic="git add . && git commit -m 'Updated repository' && git push"
alias fixme="xrandr --newmode '1366x768_60.00' 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync && xrandr --addmode VGA-1 '1366x768_60.00' && xrandr --output VGA-1 --mode '1366x768_60.00'"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment