Use LAPTOP variable

This commit is contained in:
Santiago Lo Coco 2022-01-26 23:26:49 -03:00
parent 1cd0375e05
commit cfd08903eb
1 changed files with 8 additions and 3 deletions

View File

@ -6,9 +6,14 @@ HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/zsh/.histfile
export ZSH="/usr/share/oh-my-zsh"
ZSH_CUSTOM="/usr/share"
ZSH_THEME="zsh-theme-powerlevel10k/powerlevel10k"
if [[ -v $LAPTOP ]]; then
export ZSH="/usr/share/oh-my-zsh"
ZSH_CUSTOM="/usr/share"
ZSH_THEME="zsh-theme-powerlevel10k/powerlevel10k"
else
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
fi
# CASE_SENSITIVE="true"
# HYPHEN_INSENSITIVE="true"