summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parent1a1bcf35921b627fd6bda1a64fd88227cbbcfcc7 (diff)
downloaddotfiles-18f5afe6634d52d38fd6651fe30dbcc3294cf927.tar.gz
dotfiles-18f5afe6634d52d38fd6651fe30dbcc3294cf927.zip
Add notepad script and add ~/bin to pathHEADmaster
Diffstat (limited to 'bin')
-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
+