Skip to content

Instantly share code, notes, and snippets.

@squarism
Last active January 9, 2022 07:39
Show Gist options
  • Save squarism/7f0fb6640465ebbd6f33 to your computer and use it in GitHub Desktop.
Save squarism/7f0fb6640465ebbd6f33 to your computer and use it in GitHub Desktop.
Best Developer In The World

Probably Best Thing You Can Do Ever™

git init yolo
cd yolo
# setup remote (or not)

alias gyolo='git add . > /dev/null; git commit -a -m "$(curl -s whatthecommit.com/index.txt)" > /dev/null; git push -f origin master > /dev/null'

export PS1='$FG[032]%2~\
$(git_prompt_info) \
$(gyolo 2>&1 > /dev/null) \
$FG[105]%(!.#.>)%{$reset_color%}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment