# See http://www.caliban.org/bash/#bashtips
export CDPATH=".:$HOME:$WORKPATH"
+# Default editor
+#if [ ! -z "$DISPLAY" ]; then
+# # Avoid "Avoiding protocol specified" error
+# export EDITOR="vim -X"
+#else
+# export EDITOR="vim"
+#fi
+export EDITOR="vim"
+
# Expand workpath
#for folder in `echo $WORKPATH | sed -e "s|:| |g" -e "s|~|$HOME|g"`; do
# PROJECTS="$PROJECTS`ls -d $folder/*`"
touch "$*"
}
-# Default editor
-#if [ ! -z "$DISPLAY" ]; then
-# # Avoid "Avoiding protocol specified" error
-# export EDITOR="vim -X"
-#else
-# export EDITOR="vim"
-#fi
-export EDITOR="vim"
+mkvim() {
+ mktouch "$*"
+ $EDITOR "$*"
+}
# Basic git configuration
# See http://stackoverflow.com/questions/4192014/git-ps1-extremely-slow-in-kernel-tree