zsh/aliases: add another check before adding nixGL
This commit is contained in:
parent
162c7022be
commit
67e2a1427f
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user