dotfiles/.alias

8 lines
640 B
Plaintext
Raw Normal View History

2020-03-30 06:56:05 +00:00
alias rpmlistkeys="sudo rpm --query gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'"
alias ip='ip -color'
alias weather='curl http://v2.wttr.in/Stockholm'
alias gpg='gpg2'
2020-04-23 06:20:44 +00:00
alias ls_dotfiels='/usr/bin/git --git-dir=$HOME/.dotfiles ls-tree --full-tree -r --name-only HEAD'
2020-06-25 10:04:14 +00:00
alias gl='git log --graph --pretty=format:'\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --abbrev-commit --date=relative'
2022-03-20 12:13:58 +00:00
alias mariadb='kubectl -n mariadb exec -it $(kubectl -n mariadb get pod --selector=app.kubernetes.io/instance=mariadb --template "{{range .items}}{{.metadata.name}}{{\"\n\"}}{{end}}") -- mysql'