Merge branch 'master' into kusanagi

This commit is contained in:
Luke 2023-06-03 17:54:23 -07:00
commit 9a37b1f6f2

18
bashrc.windows.sh Normal file
View file

@ -0,0 +1,18 @@
#!/bin/bash
# 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 $$'