cfg/bin/zsh-refresh-godirs

5 lines
119 B
Text
Raw Permalink Normal View History

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