aboutsummaryrefslogtreecommitdiffstats
path: root/bash/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bash/.bashrc')
-rwxr-xr-xbash/.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 5edd73a..73e42a9 100755
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -89,7 +89,7 @@ elif exists vi; then
89fi 89fi
90 90
91vim() { 91vim() {
92 vim_bin=$(whereis -B $(sed "s/:/ /g" <(echo $PATH)) -b $EDITOR | cut -d' ' -f2-) 92 vim_bin=$(whereis -b -B $(sed "s/:/ /g" <(echo $PATH)) -f $EDITOR | cut -d' ' -f2-)
93 if [[ -z $@ ]]; then 93 if [[ -z $@ ]]; then
94 $vim_bin 94 $vim_bin
95 elif [[ -d $@ ]]; then 95 elif [[ -d $@ ]]; then