mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-16 02:27:03 +01:00
Also commit custom plugins (but do not pull on upstream)
This commit is contained in:
parent
15c510bbef
commit
f2116cf01c
3 changed files with 29 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,9 +1,6 @@
|
||||||
locals.zsh
|
locals.zsh
|
||||||
log/.zsh_history
|
log/.zsh_history
|
||||||
projects.zsh
|
projects.zsh
|
||||||
custom/*
|
|
||||||
!custom/example
|
|
||||||
!custom/example.zsh
|
|
||||||
*.swp
|
*.swp
|
||||||
*.un~
|
*.un~
|
||||||
cache/
|
cache/
|
||||||
|
|
|
||||||
28
custom/plugins/intelbuildbot/_launch_trial.sh
Normal file
28
custom/plugins/intelbuildbot/_launch_trial.sh
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
#compdef -P (|./)launch_trial.sh
|
||||||
|
|
||||||
|
__launch_trial_list_tests()
|
||||||
|
{
|
||||||
|
tests=($(./launch_trial.sh --list-tests))
|
||||||
|
_describe -t tests 'Select test to run' tests
|
||||||
|
}
|
||||||
|
|
||||||
|
_launch_trial()
|
||||||
|
{
|
||||||
|
typeset -A opt_args
|
||||||
|
local context state line curcontext="$curcontext"
|
||||||
|
|
||||||
|
local ret=1
|
||||||
|
|
||||||
|
_arguments -C : \
|
||||||
|
'(- 1 *)--help[show usage]'\
|
||||||
|
'(- 1 *)--htmlcov[generate html coverage report in htmlcov surbdirectory]'\
|
||||||
|
'(- 1 *)--list-tests[list all tests]'\
|
||||||
|
':projects:__launch_trial_list_tests' \
|
||||||
|
&& ret=0
|
||||||
|
|
||||||
|
return $ret
|
||||||
|
}
|
||||||
|
|
||||||
|
_launch_trial "$@"
|
||||||
|
return $?
|
||||||
|
|
||||||
1
custom/plugins/intelbuildbot/intelbuildbot.plugin.zsh
Normal file
1
custom/plugins/intelbuildbot/intelbuildbot.plugin.zsh
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# Aliases
|
||||||
Loading…
Add table
Add a link
Reference in a new issue