Skip to content

Instantly share code, notes, and snippets.

View nihilismus's full-sized avatar

Antonio Hernández Blas nihilismus

View GitHub Profile
@yogthos
yogthos / clojure-beginner.md
Last active July 15, 2024 20:45
Clojure beginner resources

Introductory resources

@agusvama
agusvama / bash_prompt
Last active August 12, 2020 23:16
Get a prompt that reacts to either a proper or wrong command, with git branch support
PS1="\`if [ \$? = 0 ];
then echo '\[\033[38;5;79m\]\w > \[\033[38;5;99m\]['\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)']\[\033[00m\]
\[\033[30;48;5;6m\]( ._.)φ__\[\033[00m\] '
else echo '\[\033[38;5;79m\]\w > \[\033[38;5;99m\]['\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)']\[\033[00m\]
\[\033[31m\]( o_o)φ__\[\033[00m\] '; fi
\`"