From dc1f7c5a3429321b10c6e05c11d99c94ff5c3e87 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Mon, 4 Sep 2000 21:10:29 +0000 Subject: Create "User Contributions" doc and make some assoctiated changes. --- Functions/Prompts/promptinit | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Functions/Prompts/promptinit') 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 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 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 -- cgit v1.2.3