Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colorized results cause file open problems #2

Open
cfeduke opened this issue Jan 31, 2013 · 2 comments
Open

Colorized results cause file open problems #2

cfeduke opened this issue Jan 31, 2013 · 2 comments

Comments

@cfeduke
Copy link

cfeduke commented Jan 31, 2013

By default both ag and ack colorize their results on my terminal.

sack tries to open the colorized file name which includes escape characters and fails.

Running with the --no-color option works as expected.

Update: I see sack__os is initialized in ~/.sackrc but apparently sack isn't sourcing that file? In any case putting a manual sack__os=uname within the function to strip out escape code characters with sed also doesn't seem to work.

@sapegin
Copy link

sapegin commented Feb 27, 2013

👍

@jordanlewis
Copy link
Contributor

Uploaded a patch for this issue. #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants