bass icon indicating copy to clipboard operation
bass copied to clipboard

Shift $1 out prior to eval

Open zavorka opened this issue 4 years ago • 4 comments

Shift the first positional parameter out into a variable before running the eval command, so that it is not passed onto sourced scripts.

Fixes #89

zavorka avatar Jul 14 '21 01:07 zavorka

Sorry about the late response. Could you please add a quick test? Thanks!

edc avatar Jul 19 '21 17:07 edc

@zavorka @edc anything we could to to push things forward?

skycaptain avatar Aug 28 '21 17:08 skycaptain

Is it possible to merge this any time forthcoming?

JDuchniewicz avatar Dec 22 '21 10:12 JDuchniewicz

this seems left behind but it is still very frustrating behaviour... I think that the change requested by @edc is essentially this command = 'shift; eval $1 && ({}; alias) >&{}'.format(. If this is correct, can we satisfy this @zavorka ?

yoeluk avatar Jun 16 '22 03:06 yoeluk