feat: add ssh-gen submodule and update install script

This commit is contained in:
2025-07-11 11:50:40 +02:00
parent 67dab90b98
commit 3c4eee8ab9
4 changed files with 13 additions and 6 deletions

3
.gitmodules vendored
View File

@ -13,3 +13,6 @@
[submodule ".config/tmux/plugins/tmux"]
path = .config/tmux/plugins/tmux
url = https://github.com/catppuccin/tmux
[submodule "ssh-gen"]
path = ssh-gen
url = https://git.simonis.lol/projects/ssh-generator.git

View File

@ -26,7 +26,9 @@ $APT_CMD install -yqq \
btop \
stow \
tmux \
dos2unix
dos2unix \
python3 \
python3-yaml
if [ ! -d "$HOME/.oh-my-zsh" ]; then
echo
@ -39,11 +41,6 @@ if [ -f "$HOME/.zshrc" ] && [ ! -L "$HOME/.zshrc" ]; then
rm "$HOME/.zshrc"
fi
mkdir -p "$HOME/.ssh"
if ! grep -Fxq "Include ~/.config/ssh/*" "$HOME/.ssh/config" 2>/dev/null; then
echo "Include ~/.config/ssh/*" >> "$HOME/.ssh/config"
fi
if [ -f "./.git/hooks/post-merge" ]; then
rm "./.git/hooks/post-merge"
fi

View File

@ -25,3 +25,9 @@ echo "[+] Creating symlinks..."
echo
stow .
echo
echo "[+] Creating SSH config..."
echo
python3 ssh-gen/src/main.py --config=ssh-gen/conf.yaml

1
ssh-gen Submodule

Submodule ssh-gen added at 1ebb9719c6