aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.bashrc_netwrix
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc_netwrix')
-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