Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PATH=$PATH/sbin:/usr/sbin:
- extpaths=(
- $HOME/bin:'C:\Program Files (x86)\Notepad++'\
- 'C:\Program Files (x86)\Google\Chrome\Application'\
- 'C:\Program Files\nodejs'\
- 'C:\node_modules\nodewebkit\bin'\
- );
- c=${#extpaths[*]}
- for((i=0; i < c; i++)) ; do
- p=${extpaths[$i]}
- p="$(echo "$p" | sed 's/C\:/\/cygdrive\/c/')"
- p="$(echo "$p" | sed 's/\\/\//g')"
- np="${np}${p}:"
- done
- PATH=$PATH:$np
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement