Adds zsh as config

This commit is contained in:
Michel Fedde 2025-03-03 20:23:38 +01:00
parent e7cd52edaa
commit 091df60ed3
3 changed files with 14 additions and 0 deletions

View file

@ -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

1
.gitignore vendored
View file

@ -1,5 +1,6 @@
/* /*
!/.gitignore !/.gitignore
!/.zshrc
!/.config/ !/.config/
/.config/* /.config/*

6
.zshrc Normal file
View file

@ -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