diff --git a/home/zshrc b/home/zshrc index 41c3a8d..cb79778 100644 --- a/home/zshrc +++ b/home/zshrc @@ -176,3 +176,11 @@ reload() { [ -e "/home/$USER/opt/local/bin/torch-activate" ] && \ . "/home/$USER/opt/local/bin/torch-activate" + +function { + local gm + printf "%s\n" "/c/Program Files/GraphicsMagick"*(On/N[1]) | read gm + if [ -d "$gm" ]; then + ADDPATH $gm + fi +}