Changed Work aliases at zsh
Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
This commit is contained in:
parent
4733077fdc
commit
1f5342336b
12
.zshrc
12
.zshrc
@ -89,8 +89,15 @@ if [[ "$(uname -sr)" =~ "Microsoft" ]]; then
|
|||||||
export GOROOT=/usr/lib/go
|
export GOROOT=/usr/lib/go
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Alias ssh
|
# Work
|
||||||
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 rsyncwork="rsync -h --progress -e 'ssh -i ~/.ssh/work/id_rsa'"
|
||||||
|
alias gcommitw="git commit --author='Marcin Woźniak <marcin.wozniak@wundermanthompson.com>'"
|
||||||
|
alias gitwork=gwork
|
||||||
|
alias gitcommitwork=gcommitw
|
||||||
|
|
||||||
|
# Alias ssh
|
||||||
alias ssh-restore="cp -rv ~/ssh-mega/config ~/.ssh/ ; ssh-permissions"
|
alias ssh-restore="cp -rv ~/ssh-mega/config ~/.ssh/ ; ssh-permissions"
|
||||||
alias ssh-backup="cp -rv ~/.ssh/config ~/ssh-mega/"
|
alias ssh-backup="cp -rv ~/.ssh/config ~/ssh-mega/"
|
||||||
|
|
||||||
@ -199,13 +206,10 @@ alias myip="curl ipinfo.io/ip"
|
|||||||
alias changefont="figlet"
|
alias changefont="figlet"
|
||||||
|
|
||||||
# Git
|
# Git
|
||||||
alias gwork='GIT_SSH_COMMAND="ssh -i ~/.ssh/work/id_rsa" git'
|
|
||||||
alias gitwork=gwork
|
|
||||||
alias gexclude="git update-index --assume-unchanged"
|
alias gexclude="git update-index --assume-unchanged"
|
||||||
alias gmaster="git checkout master; git checkout main"
|
alias gmaster="git checkout master; git checkout main"
|
||||||
alias gmain="git checkout master; git checkout main"
|
alias gmain="git checkout master; git checkout main"
|
||||||
alias gcommit="git commit --author='Marcin Woźniak <y0rune@aol.com>' -s"
|
alias gcommit="git commit --author='Marcin Woźniak <y0rune@aol.com>' -s"
|
||||||
alias gcommitw="git commit --author='Marcin Woźniak <marcin.wozniak@wundermanthompson.com>'"
|
|
||||||
alias gdel="git push origin --delete"
|
alias gdel="git push origin --delete"
|
||||||
alias gadd="git add"
|
alias gadd="git add"
|
||||||
alias gpush="git push"
|
alias gpush="git push"
|
||||||
|
Loading…
Reference in New Issue
Block a user