Bug 51304 - The definition of function 'vi' is printed out when login (zsh)
The definition of function 'vi' is printed out when login (zsh)
Product: Red Hat Public Beta
Classification: Retired
Component: vim (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-08-09 04:54 EDT by Satoru SATOH
Modified: 2007-04-18 12:35 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-09 04:54:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Satoru SATOH 2001-08-09 04:54:16 EDT
Description of Problem:
The definition of function 'vi' in /etc/profile.d/vim.sh is printed out
when login with zsh.

How Reproducible:everytime

Steps to Reproduce:
1. change any user's shell to zsh
2. logout and login as this user

Actual Results:
The following messages are printed out:

localhost login: ssato
Last Login: Thu Aug   9 16:50:48 on tty1
vi () {                                    <--  
     /usr/bin/vim $@                       <-- this
}                                          <--

Expected Results:
That function is defined quietly.

Additional Information:
Comment 1 Bernhard Rosenkraenzer 2001-08-09 04:59:24 EDT
vim.sh hasn't existed since 5.8-5 because a couple of people with too much 
influence don't like vim-enhanced.

Note You need to log in before you can comment on or make changes to this bug.