zplug changed the $PATH order.

Created on 21 Aug 2016  路  4Comments  路  Source: zplug/zplug

Problem Summary

The $PATH order has changed because the $ZPLUG_HOME is empty on https://github.com/zplug/zplug/blob/master/base/core/core.zsh#L102

System Information

  • uname -a

    Linux tndl.net 4.5.7-200.fc23.x86_64 #1 SMP Wed Jun 8 17:41:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
    
  • zsh version

    zsh 5.1.1 (x86_64-redhat-linux-gnu)
    
  • zplug version/commit

    
    

    Minimal zshrc

Create a minimal reproducing set of configurations for this issue. Please
remove all unnecessary parts!

source ~/.zplug/init.zsh

Steps to Reproduce

  1. exec zsh

    $ echo $PATH | sed -e 's/:/\n/g'
    /usr/lib64/qt-3.3/bin
    /usr/lib64/ccache
    /usr/local/bin
    /usr/bin
    /home/test/bin
    /usr/local/sbin
    /usr/sbin
    
  2. source ~/.zplug/init.zsh

    $ echo $PATH | sed -e 's/:/\n/g'
    /home/test/.zplug/bin
    /bin
    /usr/lib64/qt-3.3/bin
    /usr/lib64/ccache
    /usr/local/bin
    /usr/bin
    /home/test/bin
    /usr/local/sbin
    /usr/sbin
    

All 4 comments

Thank you for reporting. Give me a second, let me check...

Note:

--- before  2016-08-21 15:26:36.000000000 +0900
+++ after   2016-08-21 15:26:14.000000000 +0900
@@ -1,3 +1,5 @@
+/home/test/.zplug/bin
+/bin
 /usr/lib64/qt-3.3/bin
 /usr/lib64/ccache
 /usr/local/bin

In the meantime, it may be better to use stable version ( zplug "zplug/zplug", at:2.1.0 )

@eru Try fix-230 branch!

@b4b4r07 Thank you for the quick response! It works.

Was this page helpful?
0 / 5 - 0 ratings