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 | |
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')
-rw-r--r-- | bash/bashrc.d/grep.bash | 6 | ||||
-rw-r--r-- | bash/bashrc.d/ls.bash | 6 |
2 files changed, 6 insertions, 6 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 diff --git a/bash/bashrc.d/ls.bash b/bash/bashrc.d/ls.bash index 5ae31fea..57e6dc73 100644 --- a/bash/bashrc.d/ls.bash +++ b/bash/bashrc.d/ls.bash @@ -1,5 +1,5 @@ # Function returns calculated options for ls -__lsopts() { +lsopts() { # Declare options array local -a lsopts @@ -19,10 +19,10 @@ __lsopts() { } # Alias ls with these options -alias ls="ls $(__lsopts)" +alias ls="ls $(lsopts)" # Unset helper function -unset __lsopts +unset lsopts # Define and store appropriate colors for ls if hash dircolors 2>/dev/null; then |