local alias not respected

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

 



On Wednesday 23 December 2009 03:05:05 Petrus de Calguarium wrote:
> Anne Wilson wrote:
> > On Tuesday 22 December 2009 17:51:27 Patrick Boutilier wrote:
> >> On 12/22/2009 01:46 PM, Anne Wilson wrote:
> >> > On Tuesday 22 December 2009 17:30:44 Patrick Boutilier wrote:
> >> >> On 12/22/2009 01:13 PM, Anne Wilson wrote:
> >> >>> In ~/.bashrc I have the following alias:
> >> >>>
> >> >>> alias yus='yum update --skip-broken'
> >> >>>
> >> >>> This no longer works since I installed F12.  Any idea why?
> >> >>
> >> >> What is the result of running "alias" from the command line?
> >> >
> >> > alias l.='ls -d .* --color=auto'
> >> > alias ll='ls -l --color=auto'
> >> > alias ls='ls --color=auto'
> >> > alias vi='vim'
> >> > alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot
> >> > --show- tilde'
> >> > alias yus='yum update --skip-broken'
> >>
> >> alias has been added. What doesn't work? :-)
> >
> > bash doesn't recognise the command.
> >
> > -bash: yus: command not found
> >
> > Anne
> 
> 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?

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/20091223/90cf9b96/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