summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@fsinf.at>2011-11-14 03:33:12 +0100
committerDavid Kaufmann <astra@fsinf.at>2011-11-14 03:33:12 +0100
commitda275ceb1e5c4813a7a27e92a002c18a6ff22072 (patch)
tree5836cbb1a1c85c248027f550bf844414fbcc0171 /src
parent2b4f3cadced6a0bc6e8b6f4b83414f928eee63ce (diff)
downloadconfig-da275ceb1e5c4813a7a27e92a002c18a6ff22072.tar.gz
updated scripts
Diffstat (limited to 'src')
-rwxr-xr-xsrc/vim-latex.sh4
-rwxr-xr-xsrc/zshrc.sh9
2 files changed, 11 insertions, 2 deletions
diff --git a/src/vim-latex.sh b/src/vim-latex.sh
index 4979e67..d0f8643 100755
--- a/src/vim-latex.sh
+++ b/src/vim-latex.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-# goto root dir (this script resides in bin)
-BASEDIR=$(dirname $0)
+# goto root dir (this script resides in src)
+BASEDIR=`dirname $(readlink -f $0)`
cd ${BASEDIR}/../
cd src/vim-latex
diff --git a/src/zshrc.sh b/src/zshrc.sh
new file mode 100755
index 0000000..36b76d7
--- /dev/null
+++ b/src/zshrc.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# goto root dir (this script resides in src)
+BASEDIR=`dirname $(readlink -f $0)`
+cd ${BASEDIR}/../
+
+rm -f gen/.zshrc
+WGET=$(which wget)
+$WGET -q -O gen/.zshrc http://git.grml.org/f/grml-etc-core/etc/zsh/zshrc