From cfd08903ebf3847af0ce5d82cf0622219843fd51 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Wed, 26 Jan 2022 23:26:49 -0300 Subject: [PATCH] Use LAPTOP variable --- dotfiles/.zshrc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index ab33caa..b006f8e 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -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"