Skip to content

Commit

Permalink
loot
Browse files Browse the repository at this point in the history
  • Loading branch information
rootTHC committed Jul 10, 2024
1 parent 0f14b80 commit d43b95d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/hackshell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit d43b95d

Please sign in to comment.