feat: add ssh-gen submodule and update install script
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
1
ssh-gen
Submodule
Submodule ssh-gen added at 1ebb9719c6
Reference in New Issue
Block a user