diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-08-14 17:12:09 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-08-14 17:12:09 +0200 |
commit | a6a19cdfe26813dd871b32e99e4df77870b7ac25 (patch) | |
tree | 1f49263847f1517f856f3714a61c39fc2bc4a228 /.bashrc | |
parent | runc*: bugfix (diff) | |
download | linux-home-a6a19cdfe26813dd871b32e99e4df77870b7ac25.tar.gz linux-home-a6a19cdfe26813dd871b32e99e4df77870b7ac25.zip |
get rid of multi-`source`ing protection
Diffstat (limited to '')
-rw-r--r-- | .bashrc_cxx | 6 | ||||
-rw-r--r-- | .bashrc_distr | 6 | ||||
-rw-r--r-- | .bashrc_git | 6 | ||||
-rw-r--r-- | .bashrc_netwrix | 6 | ||||
-rw-r--r-- | .bashrc_text | 6 | ||||
-rw-r--r-- | .bashrc_third_party | 6 |
6 files changed, 0 insertions, 36 deletions
diff --git a/.bashrc_cxx b/.bashrc_cxx index cede40b..0746912 100644 --- a/.bashrc_cxx +++ b/.bashrc_cxx @@ -1,11 +1,5 @@ #!/usr/bin/env bash -if [ -n "${BASHRC_CXX+x}" ]; then - return 0 -else - readonly BASHRC_CXX=1 -fi - C_FLAGS=('-Wall' '-Wextra') runc() ( diff --git a/.bashrc_distr b/.bashrc_distr index f573653..ad01f57 100644 --- a/.bashrc_distr +++ b/.bashrc_distr @@ -1,11 +1,5 @@ #!/usr/bin/env bash -if [ -n "${BASHRC_DISTR+x}" ]; then - return 0 -else - readonly BASHRC_DISTR=1 -fi - checksums_path='sha1sums.txt' update_checksums() { diff --git a/.bashrc_git b/.bashrc_git index 5b930a1..7d76e4b 100644 --- a/.bashrc_git +++ b/.bashrc_git @@ -1,11 +1,5 @@ #!/usr/bin/env bash -if [ -n "${BASHRC_GIT+x}" ]; then - return 0 -else - readonly BASHRC_GIT=1 -fi - list_repo_files() ( set -o errexit -o nounset -o pipefail diff --git a/.bashrc_netwrix b/.bashrc_netwrix index c1df671..fb98fab 100644 --- a/.bashrc_netwrix +++ b/.bashrc_netwrix @@ -1,11 +1,5 @@ #!/usr/bin/env bash -if [ -n "${BASHRC_NETWRIX+x}" ]; then - return 0 -else - readonly BASHRC_NETWRIX=1 -fi - source .bashrc_git || return source .bashrc_text || return diff --git a/.bashrc_text b/.bashrc_text index 1641859..3f5c4fd 100644 --- a/.bashrc_text +++ b/.bashrc_text @@ -1,11 +1,5 @@ #!/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/'"'" diff --git a/.bashrc_third_party b/.bashrc_third_party index e90e39a..b276e5d 100644 --- a/.bashrc_third_party +++ b/.bashrc_third_party @@ -1,11 +1,5 @@ #!/usr/bin/env bash -if [ -n "${BASHRC_THIRD_PARTY+x}" ]; then - return 0 -else - readonly BASHRC_THIRD_PARTY=1 -fi - ensure_symlinks_enabled() { case "${CYGWIN:-}" in *winsymlinks:native*) ;; |