From 091df60ed39930af688d4e9bfe0d424c523441b6 Mon Sep 17 00:00:00 2001 From: Michel Fedde Date: Mon, 3 Mar 2025 20:23:38 +0100 Subject: [PATCH] Adds zsh as config --- .config/yadm/bootstrap.d/30-Zsh.sh | 7 +++++++ .gitignore | 1 + .zshrc | 6 ++++++ 3 files changed, 14 insertions(+) create mode 100755 .config/yadm/bootstrap.d/30-Zsh.sh create mode 100644 .zshrc diff --git a/.config/yadm/bootstrap.d/30-Zsh.sh b/.config/yadm/bootstrap.d/30-Zsh.sh new file mode 100755 index 0000000..6a08939 --- /dev/null +++ b/.config/yadm/bootstrap.d/30-Zsh.sh @@ -0,0 +1,7 @@ +#!/bin/env sh + +yay -S --needed zsh oh-my-zsh + +chsh -s $(which zsh) + +sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --keep-zshrc --unattended || exit 0 diff --git a/.gitignore b/.gitignore index 0468063..a37fe9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /* !/.gitignore +!/.zshrc !/.config/ /.config/* diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..5bf2794 --- /dev/null +++ b/.zshrc @@ -0,0 +1,6 @@ +export ZSH="$HOME/.oh-my-zsh" +ZSH_THEME="jonathan" +plugins=(git fzf history npm zoxide sudo node colorize) + +source ~/.config/terminal/.setuprc +source $ZSH/oh-my-zsh.sh