changeset 56:9343fa4dfd91

[bash] we have vim. Probably.
author Edho Prima Arief <me@myconan.net>
date Fri, 29 Apr 2011 16:27:09 +0700
parents c6d78ab9af22
children ada5b9534765
files bash
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bash	Thu Apr 28 14:35:32 2011 +0700
+++ b/bash	Fri Apr 29 16:27:09 2011 +0700
@@ -58,4 +58,6 @@
 unset _has_bsd_ls
 
 export PATH
+
+command -v vim > /dev/null 2>&1 && alias vi=vim
 [ -f .ecos_bash.after ] && . .ecos_bash.after