local alias not respected

Petrus de Calguarium kwhiskerz at gmail.com
Wed Dec 23 03:05:05 UTC 2009


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?





More information about the kde mailing list