This commit is contained in:
2025-06-14 20:52:55 +02:00
parent 5d24bfda0b
commit 248068c55a
7 changed files with 105 additions and 103 deletions

12
.config/.gitignore vendored
View File

@ -1,7 +1,7 @@
/*
!.gitignore
!btop/
btop/btop.log
!neofetch/
/*
!.gitignore
!btop/
btop/btop.log
!neofetch/
!ssh/

View File

@ -1,3 +1,3 @@
/*
!.gitignore
/*
!.gitignore
!example.gitconfig

View File

@ -1,14 +1,14 @@
[user]
email = user@mail
name = John Doe
signingkey = 1234
[credential]
helper = store
[push]
autoSetupRemote = true
[core]
autocrlf = true
[pull]
rebase = true
[commit]
gpgsign = true
[user]
email = user@mail
name = John Doe
signingkey = 1234
[credential]
helper = store
[push]
autoSetupRemote = true
[core]
autocrlf = true
[pull]
rebase = true
[commit]
gpgsign = true

31
.gitignore vendored
View File

@ -1,15 +1,16 @@
/*
!setup
!zsh/
!.gitignore
!.alias.d/
!.config/
!.gitconfig
!.gitconfig.d
!.p10k.zsh
!.zshrc
!.zshenv.template
!.profile
!install
!README.md
/*
!setup
!zsh/
!.gitignore
!.alias.d/
!.config/
!.gitconfig
!.gitconfig.d
!.p10k.zsh
!.zshrc
!.zshenv.template
!.profile
!install
!README.md
!.stow-ignore-local

18
.gitmodules vendored
View File

@ -1,9 +1,9 @@
[submodule "zsh/plugins/zsh-autosuggestions"]
path = zsh/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions
[submodule "zsh/plugins/zsh-syntax-highlighting"]
path = zsh/plugins/zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting
[submodule "zsh/themes/powerlevel10k"]
path = zsh/themes/powerlevel10k
url = https://github.com/romkatv/powerlevel10k
[submodule "zsh/plugins/zsh-autosuggestions"]
path = zsh/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions
[submodule "zsh/plugins/zsh-syntax-highlighting"]
path = zsh/plugins/zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting
[submodule "zsh/themes/powerlevel10k"]
path = zsh/themes/powerlevel10k
url = https://github.com/romkatv/powerlevel10k

59
install
View File

@ -1,29 +1,30 @@
#!/usr/bin/env bash
set -e
echo
echo "[+] Updating System Packages..."
echo
sudo apt update -qq
echo
echo "[+] Installing Dependencies..."
echo
sudo apt install -yqq \
zsh \
curl \
exa \
direnv \
bat \
btop
echo
echo "[+] Installing Oh My Zsh..."
echo
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
echo "Include $HOME/.config/ssh/*" >> "$HOME/.ssh/config"
./setup
#!/usr/bin/env bash
set -e
echo
echo "[+] Updating System Packages..."
echo
sudo apt update -qq
echo
echo "[+] Installing Dependencies..."
echo
sudo apt install -yqq \
zsh \
curl \
exa \
direnv \
bat \
btop \
stow
echo
echo "[+] Installing Oh My Zsh..."
echo
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
echo "Include $HOME/.config/ssh/*" >> "$HOME/.ssh/config"
./setup

56
setup
View File

@ -1,29 +1,29 @@
#!/usr/bin/env bash
set -e
echo "[+] Cloning submodules..."
git submodule update --init --recursive
echo "[+] Creating Gitconfigs..."
(
for config in $PWD/.gitconfig.d/*.gitconfig; do
echo "[include]"
echo " path = $config"
done;
) > "$HOME/.gitconfig"
echo "[+] Creating symlinks..."
ln -sf "$PWD/.zshrc" "$HOME/.zshrc"
ln -sf "$PWD/.p10k.zsh" "$HOME/.p10k.zsh"
ln -sf "$PWD/.config" "$HOME/.config"
ln -sf "$PWD/.alias.d" "$HOME/.alias.d"
ln -sf "$PWD/.profile" "$HOME/.profile"
if [ ! -f "$PWD/.zshenv" ]; then
cp "$PWD/.zshenv.template" "$PWD/.zshenv"
fi
#!/usr/bin/env bash
set -e
echo "[+] Cloning submodules..."
git submodule update --init --recursive
echo "[+] Creating Gitconfigs..."
(
for config in $PWD/.gitconfig.d/*.gitconfig; do
echo "[include]"
echo " path = $config"
done;
) > "$HOME/.gitconfig"
echo "[+] Creating symlinks..."
ln -sf "$PWD/.zshrc" "$HOME/.zshrc"
ln -sf "$PWD/.p10k.zsh" "$HOME/.p10k.zsh"
ln -sf "$PWD/.config" "$HOME/.config"
ln -sf "$PWD/.alias.d" "$HOME/.alias.d"
ln -sf "$PWD/.profile" "$HOME/.profile"
if [ ! -f "$PWD/.zshenv" ]; then
cp "$PWD/.zshenv.template" "$PWD/.zshenv"
fi
ln -sf "$PWD/.zshenv" "$HOME/.zshenv"