1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 09:07:12 -07:00

automatically add graphicsmagick to path

This commit is contained in:
Connor Olding 2018-02-20 11:57:04 +01:00
parent 288634f0fd
commit 6b50525e88

View File

@ -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
}