Comments on ssh-agent and realpath
parent
c586fc8eec
commit
ae61e8a513
3
.profile
3
.profile
|
@ -124,7 +124,8 @@ command -v dwb >/dev/null 2>&1 && export BROWSER="dwb"
|
|||
## SSH-Agent
|
||||
## WARNING: this is insecure on machines where someone else has root access.
|
||||
command -v ssh-agent >/dev/null 2>&1 && eval "$(ssh-agent)"
|
||||
## Kill ssh-agent on session end.
|
||||
## Kill ssh-agent on session end. WARNING: this does not seem to work with some
|
||||
## login managers.
|
||||
trap 'test -n "$SSH_AGENT_PID" && eval $(ssh-agent -k)' 0
|
||||
|
||||
## Set TEMP dir if you want to override /tmp for some applications that check
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
## This is a compatibility wrapper for 'realpath'.
|
||||
## This is a compatibility wrapper for 'realpath'. This script is not seen if
|
||||
## the parent folder is after /usr/{local/}bin in PATH.
|
||||
|
||||
if command -v greadlink >/dev/null 2>&1; then
|
||||
## On BSD systems, we might have greadlink
|
||||
|
|
Loading…
Reference in New Issue