diff options
| -rwxr-xr-x | bash/.bashrc | 2 |
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 | |||
| 89 | fi | 89 | fi |
| 90 | 90 | ||
| 91 | vim() { | 91 | vim() { |
| 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 |
