Add ZSH to installable programs #27

Merged
noah.knegt merged 3 commits from zsh into master 2023-05-31 14:58:52 +02:00
2 changed files with 196 additions and 0 deletions
Showing only changes of commit 3054bb77ea - Show all commits

View File

@@ -98,6 +98,12 @@ plugins=(
# User configuration
# Set the XDG_CONFIG_HOME in this file
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:=${HOME}/.config}
# Source the env variables from the XDG_CONFIG_HOME
source $XDG_CONFIG_HOME/zsh/.zshenv
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
@@ -122,8 +128,9 @@ plugins=(
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# Custom aliases
alias zshrc="nvim ~/.zshrc && source ~/.zshrc"
alias zshenv="nvim ~/.zshenv && source ~/.zshenv"
source $XDG_CONFIG_HOME/zsh/.aliases
ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh
if [[ ! -d $ZSH_CACHE_DIR ]]; then
@@ -131,7 +138,7 @@ if [[ ! -d $ZSH_CACHE_DIR ]]; then
fi
source $ZSH/oh-my-zsh.sh
source $HOME/.zshenv
# For sharship rs loading
eval "$(starship init zsh)"