nav


Logs | Files | LICENSE | GitLab


1
commit 8193d7a16c44f1820d7bdbe50191e2d148a21665
2
Author: Connor Etherington <[email protected]>
3
Date:   Thu Aug 18 18:17:39 2022 +0200
4
5
    Auto-Commit Update - 20220818
6
---
7
 usr/bin/nav | 6 +++---
8
 1 file changed, 3 insertions(+), 3 deletions(-)
9
10
diff --git a/usr/bin/nav b/usr/bin/nav
11
index cfdfbb3..4fb7a2d 100755
12
--- a/usr/bin/nav
13
+++ b/usr/bin/nav
14
@@ -39,12 +39,12 @@ ISCORRECT(){
15
 
16
 ! [ -d  ${PROD_DIR} ] && mkdir -p ${PROD_DIR}
17
 
18
-! [ -f  ${CONFIG} ] && echo 'alias NAV_INIT="initialized"' > ${CONFIG}
19
+! [ -f  ${CONFIG} ] && echo 'export NAV_INIT="initialized"' > ${CONFIG}
20
 
21
 
22
-[[ $NAV_INIT != "initialized" ]] && dialog \
23
+[[ ${NAV_INIT} != "initialized" ]] && dialog \
24
   --title "${TITLE}" \
25
-  --msgbox "\\n                         Welcome to Nav!\\n\\n\\nNav will create a configuration file in ${PROD_DIR}\\n\\n\\nPlease enter the line into your bash/zshrc file to enable Nav:\\n\\nsource ${CONFIG}\\n" \
26
+  --msgbox "\\n                         Welcome to Nav!\\n\\n\\nNav will create a configuration file in ${PROD_DIR}\\n\\n\\nPlease enter this line into your bash/zshrc file to enable Nav:\\n\\nsource ${CONFIG}\\n" \
27
   16 70 && trap "echo 'source ${CONFIG}   # --> (put in your bash/zshrc file)'" EXIT
28
 
29
 while [[ $CMD == "" ]] ; do