diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2000-09-04 21:10:29 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-09-04 21:10:29 +0000 |
commit | dc1f7c5a3429321b10c6e05c11d99c94ff5c3e87 (patch) | |
tree | 904366741d50f3a05e55ecf909aaf41f14c1380f /Functions/Prompts/promptinit | |
parent | 88b886e6034b1902c929eb6e6e2a06b9f4854c03 (diff) | |
download | zsh-dc1f7c5a3429321b10c6e05c11d99c94ff5c3e87.tar.gz zsh-dc1f7c5a3429321b10c6e05c11d99c94ff5c3e87.tar.xz zsh-dc1f7c5a3429321b10c6e05c11d99c94ff5c3e87.zip |
Create "User Contributions" doc and make some assoctiated changes.
Diffstat (limited to 'Functions/Prompts/promptinit')
-rw-r--r-- | Functions/Prompts/promptinit | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit index a07650500..4ccdcf55b 100644 --- a/Functions/Prompts/promptinit +++ b/Functions/Prompts/promptinit @@ -76,7 +76,7 @@ Options: Use prompt -h <theme> for help on specific themes.' - getopts "chlps" opt + getopts "chlps:" opt case "$opt" in (h|p) setopt localtraps @@ -136,7 +136,8 @@ Use prompt -h <theme> for help on specific themes.' print " autoload -U promptinit" print " promptinit" print " prompt $*[2,-1]" - ;; + shift + ;& *) if [[ "$1" == 'random' ]]; then local random_themes if (( $#* == 1 )); then |