diff --git a/home/.zsh-server/zshrc b/home/.zsh-server/zshrc index 4255700..8329618 100644 --- a/home/.zsh-server/zshrc +++ b/home/.zsh-server/zshrc @@ -17,6 +17,8 @@ alias egrep="grep -E" alias lgrep="find | grep" alias psgrep="ps axu | grep" alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"' +alias gg=lazygit +alias reload="source ~/.zshrc" alias gls=/bin/ls ### Functions @@ -79,3 +81,12 @@ source ~/.local/share/nnn/quitcd/quitcd.bash_zsh ### --- local Config ------------------------------------ source ~/.local.zsh + +### --- zoxide Config ------------------------------------ +if ! command -v zoxide &> /dev/null +then + # zoxide not installed, skipping + exit +else + eval "$(zoxide init zsh)" +fi diff --git a/home/.zsh/zshrc b/home/.zsh/zshrc index 621cd3e..7b47bb9 100644 --- a/home/.zsh/zshrc +++ b/home/.zsh/zshrc @@ -106,4 +106,10 @@ alias kimg="kitty +kitten icat" source ~/.local.zsh ### --- zoxide Config ------------------------------------ -eval "$(zoxide init zsh)" +if ! command -v zoxide &> /dev/null +then + # zoxide not installed, skipping + exit +else + eval "$(zoxide init zsh)" +fi