Commit 6faa666
authored
Strip ANSI from the main branch name (#1139)
`find` highlights the returned value,
which breaks the `gcm` macro,
it returns
```
error: pathspec '?[37m?[0m?[41;37mmain?[0m?[37m?[0m' did not match any file(s) known to git
```
I opted in to using `ansi strip` instead of `--no-highlight`, because I
think it covers wider range of nu shell versions1 parent 4593492 commit 6faa666
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments