local alias not respected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 23 December 2009 20:57:50 Patrick Boutilier wrote:
> >> I defined:
> >>
> >> alias yu="sudo yum --skip-broken update"
> >>
> >> the only differences being that I put the flag first, then the argument,
> >>   and I used quotation marks, not apostrophes. I know there is a
> >> difference in bash between ' and ", but mine really DOES work (on both
> >> of my computers, for both me and root on each).
> >>
> >> Maybe try?
> >
> > I tried this, but 'which yus' still returns the old one.  Do I need
> > 'newaliases' or something?
> 
> Nope, newaliases is for sendmail. :-)
> 
Thought so, that's why I said 'or something' :-)

> Does it still not work if you run the alias command from a shell prompt 
> and then try yus ?
> 
> 
> alias yus='yum update --skip-broken'
> 
It does.  A clue then - it seems to be a matter of paths.  The command is in 
my user bashrc, and it always worked from a root console before.  What do you 
think?

Anne
-- 
KDE Community Working Group
New to KDE Software? - get help from http://userbase.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/kde/attachments/20091224/64f0b166/attachment.bin 


[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux