Last active
March 26, 2020 13:46
-
-
Save jaredpalmer/324ba6892869928c1da6505b9390dc94 to your computer and use it in GitHub Desktop.
some zsh utils
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Take a screenshot every n seconds | |
# Fun for making timelapse gifs later | |
# run `creep 20` for every 20 seconds | |
function creep() { | |
while :; do; echo "📸" $(date +%H:%M:%S); screencapture -x ~/Screenshots/wes/$(date +%s).png; sleep $1; done | |
} | |
alias db="cd ~/Dropbox/" | |
alias zs="source ~/.zshrc" | |
alias gum="git pull upstream master" | |
# Changed your .gitignore _after_ you have added / committed some files? | |
# run `gri` to untrack anything in your updated .gitignore | |
# Put this in your .zshrc file | |
alias gri="git ls-files --ignored --exclude-standard | xargs -0 git rm -r" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment