Browse Source

Ssh support

main
Yigit Colakoglu 4 years ago
parent
commit
db36553212
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      install.sh
  2. +1
    -0
      profile

+ 2
- 0
install.sh View File

@ -143,6 +143,8 @@ mkdir -p "$HOME/.local/share/zsh"
mkdir -p "$XDG_DATA_HOME/mail"
mkdir -p "$XDG_CONFIG_HOME/git"
mkdir -p "$XDG_CACHE_HOME/surf"
mkdir -p "$HOME/.ssh"
echo "AddKeysToAgent yes" > "$HOME/.ssh/config"
chmod 700 "$GNUPGHOME"
touch "$XDG_CONFIG_HOME/git/config"


+ 1
- 0
profile View File

@ -79,6 +79,7 @@ esac
if [ ! "$SSH_AUTH_SOCK" ]; then
eval "$(ssh-agent | head -n 2)"
grep -slR "PRIVATE" ~/.ssh/ | xargs ssh-add > /dev/null 2> /dev/null &
fi
if [ "$DISPLAY" = "" ] && [ "$(tty)" = /dev/tty1 ]; then


Loading…
Cancel
Save