mathiasbynens / mathiasbynens/dotfiles

errors in linux

Open
#497 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
31.5k
Forks
8.4k
PR merge metrics
No merged PRs in 30d

Description

following errors print at beginning of every shell in my new arch linux setup

``` bash
which: no brew in (/home/tejas/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
```

the brew one is obvious, the other two i'm not sure how to fix. as per the brew one, i think it'd be a good idea to add a check if we're on OS X in the script before looking for brew.

thoughts on this and how to fix other 2 errors?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the shell startup scripts that invoke brew and produce the GREP_OPTIONS warnings, then reproduce the messages in the reported Arch Linux setup. Done means opening a new shell no longer prints these errors on Linux while the macOS behavior remains appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, linux, shell
Domain
operating-systems, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.