aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rwxr-xr-xbash/.bashrc22
1 files changed, 11 insertions, 11 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 9ba47fd..9ccd0e3 100755
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -110,17 +110,17 @@ elif exists vi; then
110 export EDITOR="vi" 110 export EDITOR="vi"
111fi 111fi
112 112
113vim() { 113# vim() {
114 vim_bin=$(which $EDITOR) 114# vim_bin=$(which $EDITOR)
115 if [[ -z "$@" ]]; then 115# if [[ -z "$@" ]]; then
116 $vim_bin 116# $vim_bin
117 elif [[ -d "$@" ]]; then 117# elif [[ -d "$@" ]]; then
118 dir=$(pwd) 118# dir=$(pwd)
119 cd $@ && $vim_bin && cd $dir 119# cd $@ && $vim_bin && cd $dir
120 else 120# else
121 $vim_bin $@ 121# $vim_bin $@
122 fi 122# fi
123} 123# }
124 124
125# Programming language specifics 125# Programming language specifics
126if exists go; then 126if exists go; then