mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-17 04:33:02 +01:00
remove unused files
This commit is contained in:
parent
893764b9ae
commit
564cf33258
2 changed files with 0 additions and 1647 deletions
24
zprofile
24
zprofile
|
|
@ -1,24 +0,0 @@
|
|||
SSH_ENV="$HOME/.ssh/agent-environment"
|
||||
|
||||
function start_agent {
|
||||
echo "Initialising new SSH agent..."
|
||||
ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"
|
||||
echo succeeded
|
||||
chmod 600 "${SSH_ENV}"
|
||||
. "${SSH_ENV}" > /dev/null
|
||||
ssh-add;
|
||||
}
|
||||
|
||||
# Source SSH settings, if applicable
|
||||
|
||||
if [ -f "${SSH_ENV}" ]; then
|
||||
. "${SSH_ENV}" > /dev/null
|
||||
#ps ${SSH_AGENT_PID} doesn't work under cywgin
|
||||
ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {
|
||||
start_agent;
|
||||
}
|
||||
else
|
||||
start_agent;
|
||||
fi
|
||||
|
||||
#source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue