cfg/bin/zsh-refresh-godirs

5 lines
120 B
Text
Raw Normal View History

2016-07-21 13:48:49 +00:00
#!/bin/bash
find $HOME -type f -name '.gopath' | sed 's!/.gopath$!!' > /tmp/godirs
mv /tmp/godirs $HOME/.config/godirs