Re: [PATCH] An alias that starts with "!!" runs in the current directory.
- From
Jared Hance <jaredhance@gmail.com>
- Date
- May 5, 2010, 20:52 UTC
- Message-ID
- <loom.20100505T225117-534@post.gmane.org>
- In-Reply-To
- <19425.54504.163875.379151@winooski.ccs.neu.edu>
Eli Barzilay <eli <at> barzilay.org> writes:
> ret = system(alias_string + 1);
I don't think that this is correct. You already changed alias_string to the actual code earlier in the command, so I think that this will actually chop off the first letter of the command.