summaryrefslogtreecommitdiff
path: root/bin/np
diff options
context:
space:
mode:
Diffstat (limited to 'bin/np')
-rw-r--r--bin/np9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/np b/bin/np
new file mode 100644
index 0000000..e53c83d
--- /dev/null
+++ b/bin/np
@@ -0,0 +1,9 @@
+!#/usr/bin/bash
+
+if [ $# -eq 0 ]; then
+ echo "Please specify a file to open."
+else
+ args="$(cygpath -w $@)"
+ /path/to/notepad++.exe $args
+fi
+