Skip to content

Instantly share code, notes, and snippets.

im back

Jayam Malviya midNight-jam

im back
Block or report user

Report or block midNight-jam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
midNight-jam / .bash_profile
Last active Dec 21, 2017
zzBashProfile [-_-]
View .bash_profile
alias al="ls -a"
alias all="ls -altr"
alias l="pwd"
alias cd2="cd ../.."
alias cd4="cd ../../../../"
alias cd6="cd ../../../../../../"
grep -rnw . -e $1
midNight-jam /
Last active Nov 16, 2017
stupd : Stash and Update, all git repos under the current dir, with stashing the changes, pulling the latest and applying the stashed changes over again.
# stash and update all the repos under this base dir
echo "Location : " $cur_dir
# get all git repos under the cur dir
for i in $(find . -name ".git" | rev | cut -f 2- -d '.' | rev); do
echo 'Repo : ' $i
# switch into the git repo
cd $i
You can’t perform that action at this time.