Skip to content

Instantly share code, notes, and snippets.

@robotmay
Created January 21, 2015 16:54

Revisions

  1. robotmay created this gist Jan 21, 2015.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    set -x TERM screen-256color-bce
    set -U EDITOR vim
    source /usr/local/share/fry/fry.fish
    alias git=hub

    function recursive_replace
    grep -rl $argv[1] $argv[3] | xargs sed -i "s/$argv[1]/$argv[2]/g"
    end