aliases: only add julia alias if julia is present

This commit is contained in:
PowerUser64 2025-03-26 01:24:06 -07:00
parent 11a422e1fe
commit 671acaa74f

View file

@ -38,7 +38,8 @@ alias bc='bc -ql' # Make bc usable for fast math
alias ffmpeg='ffmpeg -hide_banner'
[ -z "$VIMRUNTIME" ] &&
alias glow='glow -p' # force Glow to preview with `less` if not in vim
alias juliai='julia -i ${XDG_CONFIG_HOME:-"$HOME/.config"}/julia/startup.jl'
command -v julia > /dev/null &&
alias juliai='julia -i ${XDG_CONFIG_HOME:-"$HOME/.config"}/julia/startup.jl'
alias bash='LAUNCH_ZSH=false bash'