diff --git a/.zsh/aliases.zsh b/.zsh/aliases.zsh index 4733de4..57b8d0f 100644 --- a/.zsh/aliases.zsh +++ b/.zsh/aliases.zsh @@ -37,5 +37,7 @@ alias keyz='ssh-add -l' alias gitagain='GIT_COMMITTER_DATE="$(git show -s --format=%ci HEAD)" git commit -v --amend' [ -z "$IN_NIX_SHELL" ] && { - alias gor='nixGLIntel go run' + if command -v nixGLIntel &> /dev/null; then + alias gor='nixGLIntel go run' + fi }