From e8fdd65d66a8cfd88d0f21af654b69d4ae6ca4be Mon Sep 17 00:00:00 2001 From: tcsenpai Date: Wed, 20 Mar 2024 13:10:44 +0100 Subject: [PATCH] now is safer and system wide --- bin/pathis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pathis b/bin/pathis index 1adec30..9a36910 100755 --- a/bin/pathis +++ b/bin/pathis @@ -1,7 +1,7 @@ #!/bin/bash THIS=$(pwd) -echo "export PATH=\$PATH:$THIS" >> "$HOME/.profile" +echo "PATH=\$PATH:$THIS" >> /etc/profile.d/pathis.sh" echo $PATH echo "Done!"