summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/np9
-rw-r--r--dot-profile2
2 files changed, 10 insertions, 1 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
+
diff --git a/dot-profile b/dot-profile
index c158ae9..ec030cb 100644
--- a/dot-profile
+++ b/dot-profile
@@ -1,6 +1,6 @@
# MacPorts Installer addition on 2010-01-16_at_22:19:33: adding an appropriate PATH variable for use with MacPorts.
-export PATH=/opt/local/bin:/opt/local/sbin:$PATH
+export PATH=~/bin:/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
. ~/bin/navigation.sh