diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-07-21 18:27:08 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-07-21 18:27:08 +1200 |
commit | 752cdfd035e77dc87d6ac8e598f2d3ada295db9f (patch) | |
tree | 30fed8c834047ac7928df6804b5ef8cd6eae2954 /bash/bashrc.d/grep.bash | |
parent | Move Bash options into separate file (diff) | |
download | dotfiles-752cdfd035e77dc87d6ac8e598f2d3ada295db9f.tar.gz dotfiles-752cdfd035e77dc87d6ac8e598f2d3ada295db9f.zip |
Remove trailing spaces before closing parentheses
I was only doing this to work around a Bash syntax highlighting bug
Diffstat (limited to 'bash/bashrc.d/grep.bash')
-rw-r--r-- | bash/bashrc.d/grep.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/grep.bash b/bash/bashrc.d/grep.bash index 625f10ac..7ac80518 100644 --- a/bash/bashrc.d/grep.bash +++ b/bash/bashrc.d/grep.bash @@ -1,7 +1,7 @@ # Function returns calculated options for grep function __grepopts { local grepopts='-I' - local grephelp=$(grep --help ) + local grephelp=$(grep --help) echo $grephelp | grep -- --color &>/dev/null \ && grepopts="${grepopts} --color=auto" echo $grephelp | grep -- --exclude &>/dev/null \ |