Bug 154321 - Vim profile script is still broken
Vim profile script is still broken
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: vim (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
David Lawrence
:
Depends On:
Blocks: FC4Target
  Show dependency treegraph
 
Reported: 2005-04-09 17:22 EDT by Ivan Gyurdiev
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-11 05:38:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch fixing unwanted expansion (822 bytes, patch)
2005-04-10 12:13 EDT, Ronny Buchmann
no flags Details | Diff

  None (edit)
Description Ivan Gyurdiev 2005-04-09 17:22:52 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Firefox/1.0.2 Fedora/1.0.2-3

Description of problem:
  [ 100 -le 100 ] && return

What is this supposed to accomplish? It's always true,
which defeats the purpose of the rest of the script.

Prior to this the script was checking if I'm root,
and disabling the alias for root - I couldn't figure
out why it does that either.

Version-Release number of selected component (if applicable):


How reproducible:
Didn't try

Steps to Reproduce:


Additional info:
Comment 1 Ronny Buchmann 2005-04-10 12:10:25 EDT
>Description of problem:
>  [ 100 -le 100 ] && return
this is a bug in the spec file

it should read 
cat >$RPM_BUILD_ROOT/etc/profile.d/vim.sh <<'EOF'

> Prior to this the script was checking if I'm root,
> and disabling the alias for root - I couldn't figure
> out why it does that either.
Maybe because of not trusting modelines?

This could be done with alias vi=vim -c "set nomodeline"

So why is the alias disabled for system users/root?

Comment 2 Ronny Buchmann 2005-04-10 12:13:10 EDT
Created attachment 112926 [details]
patch fixing unwanted expansion
Comment 3 Karsten Hopp 2005-04-11 05:38:42 EDT
expansion fixed in in vim-6.3.068-2   

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