Add server mariadb access alias
This commit is contained in:
parent
249df74f83
commit
56d8144803
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,9 @@ alias gac='ga && gc'
|
||||||
alias gpull='git pull'
|
alias gpull='git pull'
|
||||||
alias gpush='git push'
|
alias gpush='git push'
|
||||||
|
|
||||||
|
# Access server mariadb
|
||||||
|
alias moria-mariadb='ssh -tt moria docker exec -it mariadb mysql -p'
|
||||||
|
|
||||||
# Syntax highlighting cat if output is a terminal
|
# Syntax highlighting cat if output is a terminal
|
||||||
cat() {
|
cat() {
|
||||||
# Check if output is a terminal, else use regular cat
|
# Check if output is a terminal, else use regular cat
|
||||||
|
@ -278,3 +281,4 @@ btw, () {
|
||||||
▟███▀▘ ▝▀███▙
|
▟███▀▘ ▝▀███▙
|
||||||
▟▛▀ ▀▜▙"
|
▟▛▀ ▀▜▙"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue