smartcd icon indicating copy to clipboard operation
smartcd copied to clipboard

varstash cannot be used alone: calls _smartcd_base

Open blueyed opened this issue 11 years ago • 2 comments

Without loading smartcd:

% source path/to/lib/varstash
% stash FOO
stash:7: command not found: _smartcd_base

blueyed avatar Nov 15 '14 15:11 blueyed

I've been considering removing the "help" from varstash that uses this functionality. At best, it's useful the first time someone stumbles on it, but mostly it's just annoying

cxreg avatar Nov 15 '14 17:11 cxreg

Makes sense.

The help could be moved to smartcd maybe.

Here is my approach of integrating it into another autoenv tool: https://github.com/blueyed/zsh-autoenv/blob/varstash/lib/varstash (Diff: https://github.com/blueyed/zsh-autoenv/commit/6b7ed4bc634bf21a4899550cbd6f535da9171c14#diff-3623c02ba3be96da0202de2c4ebc3edb).

btw: have you looked into my pull requests?

blueyed avatar Nov 15 '14 20:11 blueyed