From ad5dc5bcb48fa37f5102d8bcd1897758dcb3ed78 Mon Sep 17 00:00:00 2001 From: Chen Asraf Date: Tue, 17 May 2022 22:41:27 +0300 Subject: [PATCH] cleanups --- .zshrc | 3 --- sources.sh | 6 ++++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.zshrc b/.zshrc index cf6a882d..7a8e3c38 100644 --- a/.zshrc +++ b/.zshrc @@ -4,6 +4,3 @@ source $HOME/.dotfiles/aliases.sh source $HOME/.dotfiles/sources.sh source $HOME/.dotfiles/home.sh source $HOME/.dotfiles/scripts/java.sh - -if [[ -f "$HOME/.dotfiles/_local.sh" ]]; then source "$HOME/.dotfiles/_local.sh"; fi -if [[ -f "$HOME/.iterm2_shell_integration.zsh" ]]; then source "$HOME/.iterm2_shell_integration.zsh"; fi diff --git a/sources.sh b/sources.sh index 339bac38..5e3f404b 100755 --- a/sources.sh +++ b/sources.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash -[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh || : -[ -f /opt/homebrew/opt/chruby/share/chruby/chruby.sh ] && source /opt/homebrew/opt/chruby/share/chruby/chruby.sh || : +if [[ -f "$HOME/.dotfiles/_local.sh" ]]; then source "$HOME/.dotfiles/_local.sh"; fi +if [[ -f "$HOME/.iterm2_shell_integration.zsh" ]]; then source "$HOME/.iterm2_shell_integration.zsh"; fi +if [[ -f ~/.fzf.zsh ]]; then source ~/.fzf.zsh; fi +if [[ -f /opt/homebrew/opt/chruby/share/chruby/chruby.sh ]]; then source /opt/homebrew/opt/chruby/share/chruby/chruby.sh; fi