A few more small changes
[~bandali/configs] / .profile
index 555bfb4..5e70783 100644 (file)
--- a/.profile
+++ b/.profile
@@ -38,7 +38,7 @@ export MAILDIR="$HOME/mail"
 export CVS_RSH="ssh"
 
 if [ -x "$(command -v go)" ]; then
-    export GOPATH="$HOME/src/go"
+    export GOPATH="$HOME/s/go"
     export PATH="$GOPATH/bin:$PATH"
 fi
 
@@ -80,7 +80,7 @@ export PATH="$HOME/u/local/bin:$HOME/.local/bin:$PATH"
 # start an ssh-agent (with guix's openssh)
 if [ -z "$IS_GUIX_SYSTEM" ]; then
     if ! pgrep -u "$USER" ssh-agent > /dev/null; then
-        rm ~/.ssh-agent-thing
+        rm -f ~/.ssh-agent-thing
         ssh-agent > ~/.ssh-agent-thing
     fi
     if [[ ! "$SSH_AUTH_SOCK" ]]; then