From 034f857c3e9829205564fc54d2ca5a11949fd44f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20F=C3=B6rster?= Date: Sat, 19 Apr 2025 21:02:54 +0200 Subject: [PATCH] change to shorter typing --- .commonrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.commonrc b/.commonrc index d00614d..abaf8da 100755 --- a/.commonrc +++ b/.commonrc @@ -4,10 +4,7 @@ export MC_SKIN=$HOME/.config/mc/skins/solarized.ini export EDITOR=vim - -if [ -d "/opt/homebrew/bin" ]; then - cd /opt/homebrew/bin -fi +[[ -d "/opt/homebrew/bin" ]] && cd /opt/homebrew/bin [[ -f "$HOME/.dotfiles/aliases" ]] && source "$HOME/.dotfiles/aliases" [[ -f "$HOME/.iterm2_shell_integration.zsh" ]] && source "$HOME/.iterm2_shell_integration.zsh"