From 671acaa74fa6d98d793e8bef8e3f6f7eb07a62fb Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Wed, 26 Mar 2025 01:24:06 -0700 Subject: [PATCH] aliases: only add julia alias if julia is present --- .config/shell/aliases | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/shell/aliases b/.config/shell/aliases index d31afa0..dcff270 100644 --- a/.config/shell/aliases +++ b/.config/shell/aliases @@ -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'