From 97efc3ae7499b5296721a6751dff6be7b2cc065e Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sat, 11 Jul 2020 14:15:50 +0300 Subject: [PATCH] Add server mariadb access alias --- home/.config/zsh/03-aliases.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/.config/zsh/03-aliases.zsh b/home/.config/zsh/03-aliases.zsh index 09dca87..bfd1936 100644 --- a/home/.config/zsh/03-aliases.zsh +++ b/home/.config/zsh/03-aliases.zsh @@ -4,6 +4,9 @@ alias gac='ga && gc' alias gpull='git pull' 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 cat() { # Check if output is a terminal, else use regular cat @@ -278,3 +281,4 @@ btw, () { ▟███▀▘ ▝▀███▙ ▟▛▀ ▀▜▙" } +