Added windows .bashrc gist
https://gist.github.com/opensiriusfox/2ebefc009d8f33541d7dd1cf4e36840c
This commit is contained in:
parent
89b6b66f78
commit
e76b2c3f45
1 changed files with 16 additions and 0 deletions
16
2023-03-00_windows.basdhrc
Normal file
16
2023-03-00_windows.basdhrc
Normal 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 $$'
|
Loading…
Add table
Add a link
Reference in a new issue