Skip to content

Instantly share code, notes, and snippets.

Mengbo WANG wangmengbo

View GitHub Profile
@wangmengbo
wangmengbo / template_bashrc.sh
Last active Jun 15, 2020
template_bashrc.sh
View template_bashrc.sh
# ============================================================ #
#
# PERSONAL $HOME/.bashrc FILE for bash-3.0 (or later)
#
# Last modified: Mon Jun 15 16:55:16 CST 2020
# This file is normally read by interactive shells only.
#+ Here is the place to define your aliases, functions and
#+ other interactive features like your prompt.
#
@wangmengbo
wangmengbo / ag-replace.sh
Last active Oct 24, 2018 — forked from cef62/ag-replace.sh
Search and replace using the silver searcher and sed
View ag-replace.sh
#!/usr/bin/env zsh
# Currently the script will choke on tilde characters used in either search or
# replace terms
# inspired by
# https://gist.github.com/hlissner/db74d23fc00bed81ff62
# https://gist.github.com/kates/5915285
# ag
You can’t perform that action at this time.