Added windows .bashrc gist

https://gist.github.com/opensiriusfox/2ebefc009d8f33541d7dd1cf4e36840c
This commit is contained in:
siriusfox 2023-10-07 15:29:38 -07:00
parent 89b6b66f78
commit e76b2c3f45

View file

@ -0,0 +1,16 @@
# When notepad++ is available, use it
function npp() {
export IFS=$'\n'
NOTEPADPP_EXE='/c/Program Files/Notepad++/notepad++.exe'
if [[ -e "${NOTEPADPP_EXE}" ]]; then
echo 'notepad++.exe '$*' &'
"${NOTEPADPP_EXE}" $* &
return 0
else
echo "notepad++ not found."
return 1
fi
}
alias _wrapping_fix='kill -WINCH $$'