irongit

A combination of vim and bash that I find useful

had to add wd again

huncholanehuncholaneauthored
parent fe72d60commit aaaa5b8c92f679f9eccd8f50711b720159d26f51Browse files

2 files changed, +7 -1

+6-0gfuncs.sh
@@ -96,3 +96,9 @@ function vbash {
9696 done
9797 cd $start
9898 }
99+function wdl {
100+ dirname `which $1`
101+}
102+function wd {
103+ cd `wdl $1`
104+}
+1-1ghost.sh
@@ -6,7 +6,7 @@ if uname -a | grep -q MINGW;then
66 export thisos='windows'
77 alias python3=python
88 alias Python=python
9- alias drivers='cd /c/Windows/System32/drivers/etc'
9+ alias drivers='/c/Windows/System32/drivers/etc'
1010 else
1111 alias python=python3
1212 fi