diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-28 13:16:29 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-28 13:16:29 +1200 |
commit | 12ceb3a0cc4a0c3ceab8ab6e93632a70567e22fa (patch) | |
tree | c1575755ce26bac2a87bec9ec2e224586e63cedd /bash/bashrc.d/grep.bash | |
parent | Don't expand arithmetic operation on OPTIND (diff) | |
download | dotfiles-12ceb3a0cc4a0c3ceab8ab6e93632a70567e22fa.tar.gz dotfiles-12ceb3a0cc4a0c3ceab8ab6e93632a70567e22fa.zip |
Remove unneeded underscores before helper funcs
Diffstat (limited to 'bash/bashrc.d/grep.bash')
-rw-r--r-- | bash/bashrc.d/grep.bash | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/bashrc.d/grep.bash b/bash/bashrc.d/grep.bash index 440c8f70..a5a7ba28 100644 --- a/bash/bashrc.d/grep.bash +++ b/bash/bashrc.d/grep.bash @@ -1,5 +1,5 @@ # Function returns calculated options for grep -__grepopts() { +grepopts() { # Declare options array local -a grepopts @@ -32,8 +32,8 @@ __grepopts() { } # Alias grep with those options -alias grep="grep $(__grepopts)" +alias grep="grep $(grepopts)" # Unset helper function -unset __grepopts +unset grepopts |