feat: dir, install changes

This commit is contained in:
2024-03-03 21:06:52 +00:00
parent 3c5b255bcf
commit 25cd4dba5e
24 changed files with 127 additions and 206 deletions

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Configure zsh shell.
#
if ! command -v zsh &> /dev/null; then
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
sudo apt-get install -qq zsh
elif [[ "$OSTYPE" == "darwin"* ]]; then
brew install zsh
fi
fi
zsh --version
# check if oh-my-zsh is installed
if [[ ! -d "$HOME/.oh-my-zsh" ]]; then
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fi