diff --git a/.gitmodules b/.gitmodules index 9d1a118..107cc5e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "easybashgui"] path = easybashgui url = https://github.com/BashGui/easybashgui.git +[submodule "decrypt"] + path = decrypt + url = https://github.com/DoubleLabyrinth/how-does-SecureCRT-encrypt-password.git diff --git a/decrypt b/decrypt new file mode 160000 index 0000000..aa0792b --- /dev/null +++ b/decrypt @@ -0,0 +1 @@ +Subproject commit aa0792baf9cb7179f219c53c41ecffcfaa1c7f33 diff --git a/shcrt b/shcrt index b58b1a1..952b4c5 100755 --- a/shcrt +++ b/shcrt @@ -106,8 +106,11 @@ function scrt_menu { return elif [[ "$menu_choice" == "" ]]; then scrt_cd .. - if [[ "$current_path" == "" ]]; then + echo "$current_path" + if [[ "$current_path" == "" ]] || [[ "$current_path" == ".." ]]; then return + else + scrt_menu fi else alert_message "Could not find selected item \"$menu_choice\"" @@ -116,9 +119,6 @@ function scrt_menu { function main { scrt_menu - if [[ "$mode" == "$dialog" ]] || [[ "$supermode" == "dialog" ]]; then - clear - fi } # Run if not sourced