Skip to content

Instantly share code, notes, and snippets.

@lgarron
Last active April 5, 2017 04:24
Show Gist options
  • Save lgarron/de988df10e57f1714fd640df3b55dab6 to your computer and use it in GitHub Desktop.
Save lgarron/de988df10e57f1714fd640df3b55dab6 to your computer and use it in GitHub Desktop.
Replace using `ag` and `sed` in fish
# brew install gsed
for file in (ag -i -l "PageInfoPopupView" .)
echo $file
gsed --in-place="" "s/PageInfoPopupView/PageInfoBubbleView/g" $file
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment