Add recreatedb command
This commit is contained in:
parent
dd38283f5d
commit
0d6ac674e2
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ alias vi="vim"
|
|||
alias regen-ssh-conf="assh config build > ~/.ssh/config"
|
||||
alias yolo="yaourt -Syyau --noconfirm"
|
||||
|
||||
recreatedb() {
|
||||
dropdb $1 && createdb $1
|
||||
}
|
||||
|
||||
# colored GCC warnings and errors
|
||||
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||
|
|
Loading…
Reference in a new issue