diff options
author | contrixed <contrixed@users.noreply.github.com> | 2015-07-31 11:02:40 -0400 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2016-02-13 11:11:32 +0100 |
commit | 153d1a33966c91f8a2026a8110c370be96c910f3 (patch) | |
tree | 127e724822f4e5534dabe03e5c32551c6169ff73 /.functions | |
parent | 16a5d85d17bc9cdf4e4c48690905cccfa16de961 (diff) | |
download | dotfiles-153d1a33966c91f8a2026a8110c370be96c910f3.tar.gz dotfiles-153d1a33966c91f8a2026a8110c370be96c910f3.tar.bz2 dotfiles-153d1a33966c91f8a2026a8110c370be96c910f3.zip |
.functions: Improve `fs`
Accept file names with a dash without interpreting them as a command-line flag. Found by running `shellcheck`.
Closes #565.
Diffstat (limited to '.functions')
-rw-r--r-- | .functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ function fs() { if [[ -n "$@" ]]; then du $arg -- "$@"; else - du $arg .[^.]* *; + du $arg .[^.]* ./*; fi; } |