@@ -48,9 +48,9 @@ function __phpbrew_set_path
48
48
end
49
49
50
50
if set -q PHPBREW_PATH
51
- set -gx PATH $PHPBREW_PATH $PHPBREW_BIN $ PATH _WITHOUT_PHPBREW
51
+ set -gx PATH $PHPBREW_PATH $PATH _WITHOUT_PHPBREW
52
52
else
53
- set -gx PATH $PHPBREW_BIN $ PATH _WITHOUT_PHPBREW
53
+ set -gx PATH $PATH _WITHOUT_PHPBREW
54
54
return 0
55
55
end
56
56
end
@@ -601,13 +601,10 @@ if [ -z "$PHPBREW_SKIP_INIT" ]
601
601
end
602
602
603
603
[ -z " $PHPBREW_ROOT " ]; and set -gx PHPBREW_ROOT " $HOME /.phpbrew"
604
- [ -z " $PHPBREW_BIN " ]; and set -gx PHPBREW_BIN " $PHPBREW_HOME /bin"
605
604
606
605
[ ! -d " $PHPBREW_ROOT " ]; and mkdir $PHPBREW_ROOT
607
606
[ ! -d " $PHPBREW_HOME " ]; and mkdir $PHPBREW_HOME
608
607
609
- [ ! -d $PHPBREW_BIN ]; and mkdir -p $PHPBREW_BIN
610
-
611
608
# top level options
612
609
complete -f -c phpbrew -n " __fish_phpbrew_needs_command" -s v -l verbose -d " Print verbose message"
613
610
complete -f -c phpbrew -n " __fish_phpbrew_needs_command" -s d -l debug -d " Print debug message"
@@ -620,7 +617,6 @@ complete -f -c phpbrew -n "__fish_phpbrew_needs_command" -l no-interact -d "Do n
620
617
complete -f -c phpbrew -n " __fish_phpbrew_needs_command" -l no-progress -d " Do not display progress bar"
621
618
622
619
# commands
623
- complete -f -c phpbrew -n " __fish_phpbrew_needs_command" -a app -d " [deprecated] php app store"
624
620
complete -f -c phpbrew -n " __fish_phpbrew_needs_command" -a archive -d " Build executable phar file from composer.json"
625
621
complete -f -c phpbrew -n " __fish_phpbrew_needs_command" -a bash -d " This command generate a bash completion script automatically"
626
622
complete -f -c phpbrew -n " __fish_phpbrew_needs_command" -a cd -d " Change to directories"
@@ -656,19 +652,6 @@ complete -f -c phpbrew -n "__fish_phpbrew_needs_command" -a use -d "Use php, swi
656
652
complete -f -c phpbrew -n " __fish_phpbrew_needs_command" -a variants -d " List php variants"
657
653
complete -f -c phpbrew -n " __fish_phpbrew_needs_command" -a zsh -d " This function generate a zsh-completion script automatically"
658
654
659
- # app
660
- complete -f -c phpbrew -n " __fish_phpbrew_using_command app" -a get -d " [deprecated] Get PHP application"
661
- complete -f -c phpbrew -n " __fish_phpbrew_using_command app" -a list -d " [deprecated] List PHP applications"
662
-
663
- # app get
664
- complete -x -c phpbrew -n " __fish_phpbrew_using_command app get" -l chmod -d " Set downloaded file mode"
665
- complete -x -c phpbrew -n " __fish_phpbrew_using_command app get" -l downloader -d " Use alternative downloader"
666
- complete -f -c phpbrew -n " __fish_phpbrew_using_command app get" -l continue -d " Continue getting a partially downloaded file"
667
- complete -x -c phpbrew -n " __fish_phpbrew_using_command app get" -l http-proxy -d " HTTP proxy address"
668
- complete -x -c phpbrew -n " __fish_phpbrew_using_command app get" -l http-proxy-auth -d " HTTP proxy authentication"
669
- complete -x -c phpbrew -n " __fish_phpbrew_using_command app get" -l connect-timeout -d " Connection timeout"
670
- complete -x -c phpbrew -n " __fish_phpbrew_using_command app get" -a " (__fish_phpbrew_arg_meta app.app.get 0 valid-values)" -d " Application name"
671
-
672
655
# archive
673
656
complete -x -c phpbrew -n " __fish_phpbrew_using_command archive" -s d -l working-dir -d " If specified, use the given directory as working directory"
674
657
complete -x -c phpbrew -n " __fish_phpbrew_using_command archive" -s c -l composer -d " The composer.json file"
0 commit comments