Re: replacement for clyde

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



On Fri, Aug 19, 2011 at 11:08 AM, Vitor Eiji Justus Sakaguti
<vitoreiji0@xxxxxxxxx> wrote:
>    # Better yaourt
>    yaourt () {
>        if [[ $# == 0 ]]
>        then
>            /usr/bin/yaourt -Sayu
>        else
>            /usr/bin/yaourt $@
>        fi
>    }
>
>

For something more terse:

yaourt () { yaourt ${@:--Sayu}; }

-- 
“The journey is more important than the destination—that’s part of
life, if you only live for getting to the end, you’re almost always
disappointed.”

Donald E. Knuth


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux