diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-07-30 21:40:34 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-07-30 21:40:34 +1200 |
commit | bfd8cd62a9f60f69d0f242d366f1df48ec9dbb92 (patch) | |
tree | 5d8ee5c456d9e4ff159d553c4931b6c3a1ef1e63 /bash/bashrc.d/ls.bash | |
parent | ack-ish alias for git (diff) | |
download | dotfiles-bfd8cd62a9f60f69d0f242d366f1df48ec9dbb92.tar.gz dotfiles-bfd8cd62a9f60f69d0f242d366f1df48ec9dbb92.zip |
Place missing quotes
Diffstat (limited to 'bash/bashrc.d/ls.bash')
-rw-r--r-- | bash/bashrc.d/ls.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/ls.bash b/bash/bashrc.d/ls.bash index 26448e10..076f34df 100644 --- a/bash/bashrc.d/ls.bash +++ b/bash/bashrc.d/ls.bash @@ -1,10 +1,10 @@ # Function returns calculated options for ls __lsopts() { local lsopts= - local lshelp=$(ls --help 2>/dev/null) + local lshelp="$(ls --help 2>/dev/null)" [[ "$lshelp" == *--color* ]] \ && lsopts="${lsopts} --color=auto" - printf '%s' $lsopts + printf '%s' "$lsopts" } # Alias ls with these options |