Skip to content

Commit

Permalink
Remove ANSI color codes for terminal emulator compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
rednoah committed Apr 13, 2024
1 parent f3d7b73 commit 223d61c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions generic/opt/share/activate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ docker run --rm -it -v data:/data -e PUID=$(id -u) -e PGID=$(id -g) rednoah/file

if [ "$(id -u)" -eq 0 ]; then
echo '
\033[91m
!!! YOU ARE RUNNING AS ROOT AND NOT AS NORMAL USER !!!
\033[0m
'
fi


echo "
\033[93m
# env
USER=$(id -un)($(id -u))
HOME=$HOME
\033[0m
"

0 comments on commit 223d61c

Please sign in to comment.