git-project-manager/contrib/gpm_func_omz.zsh

31 lines
530 B
Bash
Raw Normal View History

2023-12-10 16:53:59 +00:00
# Completion
source <(gitlab-project-manager completion zsh)
alias gpm="gitlab-project-manager"
2023-12-10 04:45:30 +00:00
# Go to a project, specify a fzf filter or filter
# through them all
pgo () {
project=` gitlab-project-manager project cd $1 `
if [ $? -eq 0 ]; then
cd $project
fi
}
# Add a new project to your local projects path
padd () {
gitlab-project-manager project add
}
plist () {
gitlab-project-manager alias list
}
pshow () {
gitlab-project-manager project show --current
}
2023-12-12 21:30:33 +00:00
popen () {
gitlab-project-manager project open $1
}