Watch
1
0
Fork
You've already forked dotfiles
0

Add public ssh keys ...

... to allow other people to give
me access to their systems
This commit is contained in:
Alexander Hess 2026-08-03 03:48:41 +02:00
commit 19f2786398
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
2 changed files with 11 additions and 0 deletions

View file

@ -97,6 +97,12 @@ _git config --local status.showUntrackedFiles no
_git remote set-url origin "$DOTFILES_SSH"
if [ -f "$HOME/.ssh/authorized_keys" ]; then
chmod 700 "$HOME/.ssh"
chmod 600 "$HOME/.ssh/authorized_keys"
fi
if command -v batcat >/dev/null 2>&1 && ! command -v bat >/dev/null 2>&1; then
mkdir -p "$XDG_BIN_HOME"
ln -sf "$(command -v batcat)" "$XDG_BIN_HOME/bat"