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/ls.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/ls.bash')
-rw-r--r-- | bash/bashrc.d/ls.bash | 6 |
1 files changed, 3 insertions, 3 deletions
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 |