Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kelbyers
Copy link
Contributor

@kelbyers kelbyers commented Oct 10, 2024

Resolves #114

use a local variable within wd_show to check if we are in a warp point directory or not

❯ wd list
 * All warp points:
control-deploy  ->  ~/git/ose-automation-puppet/control-deploy
          dope  ->  ~/git/one-thd/dope
       ls-base  ->  ~/git/one-thd/locksmith

V6YNJVV4QCMBP in ~/git
❯ wd dope

V6YNJVV4QCMBP in git/one-thd/dope
❯ wd show
 * 1 warp point(s) to current directory: dope

V6YNJVV4QCMBP in git/one-thd/dope
❯ cd ..

V6YNJVV4QCMBP in ~/git/one-thd
❯ wd show
 * No warp point to ~/git/one-thd

V6YNJVV4QCMBP in ~/git/one-thd
❯ echo $PWD
/Users/jxb2016/git/one-thd

@alpha-tango-kilo alpha-tango-kilo merged commit e37f808 into mfaerevaag:master Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug report: after running wd show PWD environment variable is changed and impacts other zsh plugins that need it

2 participants