mirror of
https://github.com/tedkulp/dotfiles
synced 2026-03-05 13:40:18 -05:00
23 lines
763 B
Bash
23 lines
763 B
Bash
alias glvw="glab repo view --web"
|
|
alias glmr="glab mr create --fill --squash-before-merge --remove-source-branch --allow-collaboration"
|
|
|
|
#compdef gitlab-ci-local
|
|
###-begin-gitlab-ci-local-completions-###
|
|
#
|
|
# yargs command completion script
|
|
#
|
|
# Installation: /opt/homebrew/bin/gitlab-ci-local completion >> ~/.zshrc
|
|
# or /opt/homebrew/bin/gitlab-ci-local completion >> ~/.zprofile on OSX.
|
|
#
|
|
_gitlab-ci-local_yargs_completions()
|
|
{
|
|
local reply
|
|
local si=$IFS
|
|
IFS=$'
|
|
' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" /opt/homebrew/bin/gitlab-ci-local --get-yargs-completions "${words[@]}"))
|
|
IFS=$si
|
|
_describe 'values' reply
|
|
}
|
|
compdef _gitlab-ci-local_yargs_completions gitlab-ci-local
|
|
###-end-gitlab-ci-local-completions-###
|