Skip to content

Commit

Permalink
Fix incorrect home path
Browse files Browse the repository at this point in the history
  • Loading branch information
ysdragon committed Nov 26, 2024
1 parent c3ab528 commit bdbe448
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ if [ ! -e "/.installed" ]; then
touch "/.installed"
fi


printf "\033c"
printf "${GREEN}Starting..${NC}\n"
sleep 1
Expand All @@ -46,8 +45,8 @@ cleanup() {
get_formatted_dir() {
current_dir="$PWD"
case "$current_dir" in
/root*)
printf "~${current_dir#/root}"
"$HOME"*)
printf "~${current_dir#$HOME}"
;;
*)
printf "$current_dir"
Expand Down

0 comments on commit bdbe448

Please sign in to comment.