aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/ls.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-07-21 18:27:08 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-07-21 18:27:08 +1200
commit752cdfd035e77dc87d6ac8e598f2d3ada295db9f (patch)
tree30fed8c834047ac7928df6804b5ef8cd6eae2954 /bash/bashrc.d/ls.bash
parentMove Bash options into separate file (diff)
downloaddotfiles-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/ls.bash')
-rw-r--r--bash/bashrc.d/ls.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/ls.bash b/bash/bashrc.d/ls.bash
index 3883c99a..24bdf4ac 100644
--- a/bash/bashrc.d/ls.bash
+++ b/bash/bashrc.d/ls.bash
@@ -4,7 +4,7 @@ eval "$(dircolors -b &>/dev/null)"
# Function returns calculated options for ls
function __lsopts {
local lsopts=
- local lshelp=$(ls --help )
+ local lshelp=$(ls --help)
echo $lshelp | grep -- --color &>/dev/null \
&& lsopts="${lsopts} --color=auto"
echo $lsopts