Add recreatedb command

This commit is contained in:
Jake Howard 2017-08-21 13:27:59 +01:00
parent dd38283f5d
commit 0d6ac674e2
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -48,6 +48,9 @@ alias vi="vim"
alias regen-ssh-conf="assh config build > ~/.ssh/config" alias regen-ssh-conf="assh config build > ~/.ssh/config"
alias yolo="yaourt -Syyau --noconfirm" alias yolo="yaourt -Syyau --noconfirm"
recreatedb() {
dropdb $1 && createdb $1
}
# colored GCC warnings and errors # colored GCC warnings and errors
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'