style: format .gitignore and script files consistently
This commit is contained in:
@ -40,8 +40,14 @@ if [ -f "$HOME/.zshrc" ] && [ ! -L "$HOME/.zshrc" ]; then
|
||||
fi
|
||||
|
||||
mkdir -p "$HOME/.ssh"
|
||||
echo "Include $HOME/.config/ssh/*" >> "$HOME/.ssh/config"
|
||||
if ! grep -Fxq "Include ~/.config/ssh/*" "$HOME/.ssh/config" 2>/dev/null; then
|
||||
echo "Include ~/.config/ssh/*" >> "$HOME/.ssh/config"
|
||||
fi
|
||||
|
||||
ln -s $DOTFILES_INSTALL_DIR/scripts/post-merge .git/hooks/post-merge
|
||||
if [ -f "$DOTFILES_INSTALL_DIR/.git/hooks/post-merge" ]; then
|
||||
rm "$DOTFILES_INSTALL_DIR/.git/hooks/post-merge"
|
||||
fi
|
||||
|
||||
./setup
|
||||
ln -s $DOTFILES_INSTALL_DIR/scripts/post-merge .git/hooks/post-merge
|
||||
|
||||
./scripts/setup
|
||||
|
Reference in New Issue
Block a user