Added new aliases at zsh

This commit is contained in:
Marcin Woźniak 2024-01-04 08:17:23 +01:00
parent 1f5342336b
commit fd64b7c1bc
Signed by: y0rune
GPG Key ID: F204C385F57EB348

3
.zshrc
View File

@ -90,12 +90,15 @@ if [[ "$(uname -sr)" =~ "Microsoft" ]]; then
fi fi
# Work # Work
alias ansible-lint-work='GIT_SSH_COMMAND="ssh -i ~/.ssh/work/id_rsa" ansible-lint'
alias ansible-galaxy-work='GIT_SSH_COMMAND="ssh -i ~/.ssh/work/id_rsa" ansible-galaxy'
alias ssh-work="ssh -i ~/.ssh/work/id_rsa" alias ssh-work="ssh -i ~/.ssh/work/id_rsa"
alias gwork='GIT_SSH_COMMAND="ssh -i ~/.ssh/work/id_rsa" git' alias gwork='GIT_SSH_COMMAND="ssh -i ~/.ssh/work/id_rsa" git'
alias rsyncwork="rsync -h --progress -e 'ssh -i ~/.ssh/work/id_rsa'" alias rsyncwork="rsync -h --progress -e 'ssh -i ~/.ssh/work/id_rsa'"
alias gcommitw="git commit --author='Marcin Woźniak <marcin.wozniak@wundermanthompson.com>'" alias gcommitw="git commit --author='Marcin Woźniak <marcin.wozniak@wundermanthompson.com>'"
alias gitwork=gwork alias gitwork=gwork
alias gitcommitwork=gcommitw alias gitcommitwork=gcommitw
alias gitworkcommit=gcommitw
# Alias ssh # Alias ssh
alias ssh-restore="cp -rv ~/ssh-mega/config ~/.ssh/ ; ssh-permissions" alias ssh-restore="cp -rv ~/ssh-mega/config ~/.ssh/ ; ssh-permissions"