From d43b95df3db7b4ea6aa483b0e083f977f43aaad3 Mon Sep 17 00:00:00 2001 From: Root THC Date: Wed, 10 Jul 2024 17:44:02 +0100 Subject: [PATCH] loot --- tools/hackshell.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/hackshell.sh b/tools/hackshell.sh index 7617184..020bd39 100755 --- a/tools/hackshell.sh +++ b/tools/hackshell.sh @@ -274,12 +274,15 @@ hide() { hs_mkhome() { [ -d "${XHOME}" ] && return 255 mkdir -p "${XHOME:?}" 2>/dev/null || return - echo -e ">>> Using ${CDY}${XHOME}${CN}. ${CF}[will auto-destruct on exit]${CN}" + echo -e ">>> Using ${CDY}XHOME=${XHOME}${CN}. ${CF}[will auto-destruct on exit]${CN}" + echo -e ">>> Type ${CDC}cdx${CN} to change to your hidden ${CDY}\"\${XHOME}\"${CN} directory" echo -e ">>> Type ${CDC}keep${CN} to disable auto-destruct on exit." # [[ "$PATH" == "$XHOME"* ]] || export PATH="${XHOME}:$PATH" export PATH="${XHOME}:$PATH" } +cdx() { cd "${XHOME}"; } + # Keep this seperate because this actually creates data. mk() { UHOME="${HOME}"