-
Notifications
You must be signed in to change notification settings - Fork 1
/
aliases.zsh
31 lines (30 loc) · 2.11 KB
/
aliases.zsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
. $HOME/dotfiles/.env
alias druid='cd $PROJECTS_FOLDER'
alias copykey='pbcopy < ~/.ssh/id_rsa.pub'
alias copykeye='pbcopy < ~/.ssh/id_ed25519.pub'
alias c='clear'
alias stonehenge='make -C ~/stonehenge'
alias testalpine='docker run -ti --rm -v `pwd`:/home/current alpine /bin/sh'
alias testrhel8='docker run -ti --rm -v `pwd`:/home/current registry.access.redhat.com/ubi8/ubi /bin/bash'
alias testrhel9='docker run -ti --rm -v `pwd`:/home/current registry.access.redhat.com/ubi9/ubi /bin/bash'
alias testubuntu='docker run -ti --rm -v `pwd`:/home/current ubuntu /bin/bash'
alias docker-remove-dangling='docker rmi $(docker images --quiet --filter "dangling=true")'
alias docker-r-v='docker volume rm `docker volume ls -q -f dangling=true`'
alias bubo='brew update && brew outdated'
alias bubc='brew upgrade && brew cleanup'
alias bubu='bubo && bubc && brew doctor'
alias sshf='ssh -o ForwardAgent=yes'
alias sää='clear && curl http://wttr.in/Lohja\?n\&lang\=fi'
alias ytunnus='echo "FI24917892" | pbcopy'
alias m='make'
alias ansible9='echo "Switch Ansible version to 2.16..." && { brew unlink ansible && brew link ansible@9 -f -q --overwrite } &> /dev/null && ansible --version'
alias ansible10='echo "Switch Ansible version to 2.17..." && { brew unlink ansible@9 && brew link ansible -f -q --overwrite } &> /dev/null && ansible --version'
alias php8.2='echo "🐘 Switch PHP version to 8.2..." && { brew unlink shivammathur/php/php@{8.3,8.4} && brew link shivammathur/php/php@8.2 -f -q --overwrite } &> /dev/null && php -v'
alias php8.3='echo "🐘 Switch PHP version to 8.3..." && { brew unlink shivammathur/php/php@{8.2,8.4} && brew link shivammathur/php/php@8.3 -f -q --overwrite } &> /dev/null && php -v'
alias php8.4='echo "🐘 Switch PHP version to 8.4..." && { brew unlink shivammathur/php/php@{8.2,8.3} && brew link shivammathur/php/php@8.4 -f -q --overwrite } &> /dev/null && php -v'
alias ls="eza --long --group"
alias la="eza --long --all --group"
alias http="http --verify no"
alias 2dev="git checkout dev && git pull"
alias 2main="git checkout main && git pull"
alias tofu="op run --env-file=\"./.env.opentofu\" -- tofu -chdir=terraform"