aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.bashrc_text
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.bashrc_text8
1 files changed, 7 insertions, 1 deletions
diff --git a/.bashrc_text b/.bashrc_text
index ed9bac6..2b32195 100644
--- a/.bashrc_text
+++ b/.bashrc_text
@@ -1,4 +1,10 @@
-[ ! -z "${BASHRC_TEXT+x}" ] && return || readonly BASHRC_TEXT=1
+#!/usr/bin/env bash
+
+if [ -n "${BASHRC_TEXT+x}" ]; then
+ return 0
+else
+ readonly BASHRC_TEXT=1
+fi
alias dos2eol='sed --binary --in-place '"'"'s/\(\r\?\)$//'"'"
alias eol2dos='sed --binary --in-place '"'"'s/\r\?$/\r/'"'"