Add public ssh keys ...
... to allow other people to give me access to their systems
This commit is contained in:
parent
33d5bd7890
commit
19f2786398
2 changed files with 11 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue