From 18f5afe6634d52d38fd6651fe30dbcc3294cf927 Mon Sep 17 00:00:00 2001 From: Manuel Amago Date: Sun, 8 Sep 2019 06:10:12 +0100 Subject: Add notepad script and add ~/bin to path --- bin/np | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 bin/np (limited to 'bin/np') 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 + -- cgit v1.2.1