1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 09:15:24 +02:00

[bash] aliases - cdroot (git root dir)

This commit is contained in:
Hyacinthe Cartiaux 2021-06-30 16:46:22 +02:00
parent d187fe8496
commit 647aa2f4ee

View file

@ -83,6 +83,9 @@ cpold() {
# personnal desktop aliases
alias ssha="ssh-add"
# Git aliases
alias cdroot='git rev-parse && cd ./$(git rev-parse --show-cdup)'
alias cdcontrol='~/repos/work/gitlab.uni.lu/Puppet/control-repo'
alias cdpuppet=' ~/repos/work/gitolite.hpc/puppet-repo'
alias cdstor=' ~/repos/work/gitolite.hpc/storage-repo'