summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Amago <mamago@gmail.com>2019-09-08 06:10:12 +0100
committerManuel Amago <mamago@gmail.com>2019-09-08 06:10:12 +0100
commit18f5afe6634d52d38fd6651fe30dbcc3294cf927 (patch)
treebe57e23855dedc94d695d1cc8d6f3fbdc1ec83f0
parent1a1bcf35921b627fd6bda1a64fd88227cbbcfcc7 (diff)
downloaddotfiles-master.tar.gz
dotfiles-master.zip
Add notepad script and add ~/bin to pathHEADmaster
-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