Closed harrhp closed 5 months ago
aliae config
alias: - name: db value: "!basename $(git symbolic-ref refs/remotes/origin/HEAD)" type: git
after reloading profile git config looks like this
[alias] db = "!basename "
or like this if reloaded in context of git repository
[alias] db = !basename refs/remotes/origin/master
expected to see this
[alias] db = !basename $(git symbolic-ref refs/remotes/origin/HEAD)
Windows, Linux
bash, powershell
@harrhp this is a tricky one. That statement, when evaluated by the shell will always execute in the evaluation. This can be intentional or not, so how do we distinct between that?
Code of Conduct
What happened?
aliae config
after reloading profile git config looks like this
or like this if reloaded in context of git repository
expected to see this
What OS are you seeing the problem on?
Windows, Linux
Which shell are you using?
bash, powershell