Skip to content

Commit

Permalink
added things
Browse files Browse the repository at this point in the history
  • Loading branch information
ta-yuhyeon committed Aug 21, 2024
1 parent 3d24be8 commit 8ce31af
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions files/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -258,5 +258,13 @@ if [ -f /etc/zsh_command_not_found ]; then
. /etc/zsh_command_not_found
fi

export PATH="$PATH:/opt/homebrew/bin"
ssh-add
if [ -d "/Users" ]; then
export PATH="$PATH:/opt/homebrew/bin"
echo "La cartella esiste."
fi
if ssh-add -l >/dev/null 2>&1; then
echo "Chiavi SSH sono già aggiunte all'agente."
else
echo "Nessuna chiave SSH aggiunta. Aggiungendo una chiave..."
ssh-add
fi

0 comments on commit 8ce31af

Please sign in to comment.