Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gitupdate(){ WD=$(pwd); cd /home/$USER/github; for D in */; do /bin/sh -c "cd $D && pwd && git pull; cd /home/$USER/github"; done; cd $WD; };
- function direnv_github_exec(){ direnv exec /home/$USER/github/$1/.direnv/py*/bin/ python -m $1; }
- twitter(){ direnv_github_exec rainbowstream; }
- reddit(){ direnv_github_exec rtv; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement