aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.bashrc_netwrix
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-08-13 23:38:11 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2016-08-13 23:38:11 +0200
commit1bc5eea5274881a299da19ff5df1c7ddc61cbe93 (patch)
treede2c6c9c9ae633c50941ffb244ffea91185e21a3 /.bashrc_netwrix
parent.ghci: add :hoogle (diff)
downloadlinux-home-1bc5eea5274881a299da19ff5df1c7ddc61cbe93.tar.gz
linux-home-1bc5eea5274881a299da19ff5df1c7ddc61cbe93.zip
fix ShellCheck warnings
Diffstat (limited to '')
-rw-r--r--.bashrc_netwrix18
1 files changed, 12 insertions, 6 deletions
diff --git a/.bashrc_netwrix b/.bashrc_netwrix
index 56ba148..5b6211a 100644
--- a/.bashrc_netwrix
+++ b/.bashrc_netwrix
@@ -1,11 +1,17 @@
-[ ! -z "${BASHRC_NETWRIX+x}" ] && return || readonly BASHRC_NETWRIX=1
+#!/usr/bin/env bash
-source .bashrc_git
-source .bashrc_text
+if [ -n "${BASHRC_NETWRIX+x}" ]; then
+ return 0
+else
+ readonly BASHRC_NETWRIX=1
+fi
-nwx_host=172.28.10.2
-nwx_dev2=172.28.19.60
-nwx_dev3=172.28.19.61
+source .bashrc_git || return
+source .bashrc_text || return
+
+export nwx_host=172.28.10.2
+export nwx_dev2=172.28.19.60
+export nwx_dev3=172.28.19.61
lint_webapi() (
set -o errexit