mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Also commit custom plugins (but do not pull on upstream)
This commit is contained in:
parent
6817a553a6
commit
4ac576daf8
3 changed files with 29 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,9 +1,5 @@
|
|||
locals.zsh
|
||||
log/.zsh_history
|
||||
projects.zsh
|
||||
custom/*
|
||||
!custom/example
|
||||
!custom/example.zsh
|
||||
*.swp
|
||||
!custom/example.zshcache
|
||||
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