projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bash: Disallow overwriting existing file using shell redirection
[~bandali/configs]
/
.profile
diff --git
a/.profile
b/.profile
index
96c67fb
..
555bfb4
100644
(file)
--- a/
.profile
+++ b/
.profile
@@
-80,6
+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
ssh-agent > ~/.ssh-agent-thing
fi
if [[ ! "$SSH_AUTH_SOCK" ]]; then