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
alias vsd='"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe" //edit $(git diff --name-only)' |
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
alias gh='history | grep "\sgit\s" | tail' | |
alias gs='git status' | |
alias gl="git log --pretty=format:'%C(yellow)%h %C(blue)%>(12,trunc)%ar %C(magenta)%<(15,trunc)%aN %Creset%s' -10" |
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
function prompt_command { | |
es=$? | |
tput sgr0 | |
tput sc | |
let xpos=$(tput cols)-10 | |
tput cuf $xpos | |
tput dim | |
if [ $es -eq 0 ] | |
then | |
tput setab 2 |
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
test= (e)-> throw e unless e() | |
square = (x) -> x * x | |
test -> square(5)==25 | |
test -> square(5)==24 |