Closed blueyed closed 8 years ago
I have noticed that autostash called an (accidentally) defined/overwritten stash function.
autostash
stash
While it's not possible to put this into a local scope, this will at least make it less polluting by default (when autostashing is not used).
Additionally we could source it always (not just once), but then it would only re-overwrite the function.
A better fix would be to prefix the functions explicitly, e.g. autoenv_autostash etc.
autoenv_autostash
To be honest I haven't used any of the autostash stuff yet. I don't know where to begin to review ^^
Don't worry, merged it.. :)
I have noticed that
autostash
called an (accidentally) defined/overwrittenstash
function.While it's not possible to put this into a local scope, this will at least make it less polluting by default (when autostashing is not used).
Additionally we could source it always (not just once), but then it would only re-overwrite the function.
A better fix would be to prefix the functions explicitly, e.g.
autoenv_autostash
etc.