Owen Ou
Owen Ou
Sorry for the late reply. Can people not pipe it to `less`? e.g. `ccat FILE | less`
Could you share why you'd want this? Personally I would want to colorize all files regardless of their extensions.
This is doable. Instead of reimplementing all flags for `cat`, we could shell out to `cat` from `ccat` with the syntax highlighting content.
Your color may be on for diff that's why `ccat` outputs the color codes from `git-diff`. Try turning it off with: `git config --global color.diff off`.
> It would be cool to combine the two somehow. Like GitHub does That will prob. include changes to https://github.com/sourcegraph/syntaxhighlight to properly parse diffs.
Do you know the type when you call it? I would expect people call something like `conf.Float(key)` instead of `conf.Int(key)`
Any update on this? I'm trying to automate the install of `docker`: https://docs.docker.com/engine/install/fedora/
Does this still happen? Please note that `goup ls-ver` is renamted to `goup search`. And this is the result that I got: ```console $ goup search 1.15 1.15 1.15.1 1.15.2...
Does this still happen? On my local, I see that my `GOROOT="/Users/owen/.go/current"`. I would check whether you have other shell scripts overriding the `GO*` env vars.