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:
parent
288634f0fd
commit
6b50525e88
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user