Skip to content

My personal shell setup automation, including daily used tools and OhMyZsh

Notifications You must be signed in to change notification settings

Hobart2967/shell-setup

Repository files navigation

shell-setup

PRE-REQUISITES

# Install ZSH on MacOs
brew install zsh

# Install ZSH on debian distros
sudo apt install zsh

Then, add oh my zsh:

# Install OhMyZsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

USAGE

Add to shell profile (~/.zshrc):

export PERSONAL_SHELL_SETUP_PATH=<path-to-this-dir>
source $PERSONAL_SHELL_SETUP_PATH/_index.sh

For zsh, put this right before the following call:

export MACHINE_TYPE=work # or: home
source $ZSH/oh-my-zsh.sh

Beauty-Setup

On Windows 10:

export TMP_DIR=/mnt/c/Temp
mkdir -p $TMP_DIR
curl -L -o $TMP_DIR/powerline.zip https://github.com/powerline/fonts/archive/refs/heads/master.zip
unzip $TMP_DIR/powerline.zip -d  $TMP_DIR/powerline
Set-ExecutionPolicy RemoteSigned
C:\Temp\powerline\fonts-master\install.ps1
Set-ExecutionPolicy Default
cd
Remove-Item -Recurse -Force C:\Temp\

Environment file

To make the shell setup load an non-version controlled, create a .env file in your home directory:

AN_ENVIRONMENT_VAR=WITH_VALUE

Upon next shell init it will be globally available for your user.

Install java

asdf plugin add java asdf install java corretto-11.0.19.7.1

About

My personal shell setup automation, including daily used tools and OhMyZsh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published