Ensure that oh-my-zsh file exists not just the dir

This commit is contained in:
Kevin Cotugno 2019-10-02 08:10:25 -07:00
parent 4995ffb3e7
commit 0be2e9e6f8

2
.zshrc
View File

@ -1,7 +1,7 @@
local oh_my_zsh="$HOME/.oh-my-zsh" local oh_my_zsh="$HOME/.oh-my-zsh"
source $HOME/.ssh-sentinel source $HOME/.ssh-sentinel
if [[ -d "$oh_my_zsh" ]]; then if [[ -f "$oh_my_zsh/oh-my-zsh.sh" ]]; then
local theme="jispwoso" local theme="jispwoso"
export ZSH="$oh_my_zsh" export ZSH="$oh_my_zsh"