ZSH and Unraid
- Install NerdTools plugin (this replaces the legacy NerdPack)
- Install User Scripts plugin (in Community Applications)
/boot/config/go and add the following to the file:# Install Oh-My-Zsh
HOME="/root" sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
Create your .zshrc file at
/boot/config/extra/.zshrc:export ZSH="/root/.oh-my-zsh"
ZSH_THEME="robbyrussell"
DISABLE_UPDATE_PROMPT="true"
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=/root/.cache/zsh/history
plugins=(
zsh-autosuggestions
zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
# User configurations
alias l='ls -lFh' #size,show type,human readable
alias la='ls -lAFh' #long list,show almost all,show type,human readable
Create a new script named "zsh" in user scripts and set it to "At Startup of Array"