Closed kotnik closed 8 years ago
If you give a reproducible example, I'll look into it.
A simple reproducible example:
$ git n -c ls 1
ls README.txt
README.txt
But when I use an alias:
$ alias sl='ls'
$ git n -c sl 1
sl README.txt
Can't exec "sl": No such file or directory at /home/kotnik/bin/git-number line 111.
Now I see the problem. I can't think of an elegant way to make it work. The following are workarounds (albeit a bit ugly :):
Assuming that you are using bash:
$ git n -c bash -c sl 1
I have complicated line I've put in shell alias, and can not use it with the -c option. Any time to implement this?