From e76b2c3f45784014bef197102e58a852fbe3b784 Mon Sep 17 00:00:00 2001 From: siriusfox <siriusfox@noreply@git.lil-bird.xyz> Date: Sat, 7 Oct 2023 15:29:38 -0700 Subject: [PATCH] Added windows .bashrc gist https://gist.github.com/opensiriusfox/2ebefc009d8f33541d7dd1cf4e36840c --- 2023-03-00_windows.basdhrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 2023-03-00_windows.basdhrc diff --git a/2023-03-00_windows.basdhrc b/2023-03-00_windows.basdhrc new file mode 100644 index 0000000..b50c3c0 --- /dev/null +++ b/2023-03-00_windows.basdhrc @@ -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 $$'