diff options
Diffstat (limited to '.bashrc_text')
-rw-r--r-- | .bashrc_text | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.bashrc_text b/.bashrc_text index 2b32195..1641859 100644 --- a/.bashrc_text +++ b/.bashrc_text @@ -1,9 +1,9 @@ #!/usr/bin/env bash if [ -n "${BASHRC_TEXT+x}" ]; then - return 0 + return 0 else - readonly BASHRC_TEXT=1 + readonly BASHRC_TEXT=1 fi alias dos2eol='sed --binary --in-place '"'"'s/\(\r\?\)$//'"'" @@ -20,9 +20,9 @@ alias doseol='sed --binary --in-place '"'"'$s/\r\?$/\r/;a\'"'" alias trimbom='sed --binary --in-place '"'"'1 s/^\xef\xbb\xbf//'"'" lint() { - trim "$@" && trimeol "$@" && eol "$@" + trim "$@" && trimeol "$@" && eol "$@" } doslint() { - trim "$@" && trimdoseol "$@" && doseol "$@" + trim "$@" && trimdoseol "$@" && doseol "$@" } |