base-files: remove profile.d/vim.sh, conflicts with busybox vi.

This commit is contained in:
Juan RP
2012-01-29 11:54:34 +01:00
parent b0b168942d
commit d5569aa9ac
2 changed files with 2 additions and 9 deletions

View File

@@ -1,6 +0,0 @@
if [ -n "$BASH_VERSION" -o -n "$KSH_VERSION" -o -n "$ZSH_VERSION" ]; then
[ -x /bin/id ] || return
[ `/bin/id -u` -le 100 ] && return
# for bash and zsh, only if no alias is already set
alias vi >/dev/null 2>&1 || alias vi=vim
fi