[SOLVED] How to make "yaourt" run with "AUR" command?

I want to change the yaourt command so i can use something like aur or AUR.
for example, instead of
yaourt -S package-name-here
I want to use
AUR -S package-name-here
so that it's easier to type.  "yaourt" is such an odd string to type! hehe
I think i might use something like this:
function AUR {
  **something like: exec /.../yaourt**
  **and some other code to pass on -S or -U conditions...etc**
Can someone tell me what to put in this function and where to save it to?
Also, What's better: using the yaourt call above or the following custom function (instead of yaourt):
function AUR {
        cd $aurdir
        wget http://aur.archlinux.org/packages/$1/$1.tar.gz && tar -xzf $1.tar.gz && rm $1.tar.gz && cd $1 && makepkg -s
        pacman -U **some code goes here to output the correct filename**
I have to think to myself "yeah our t" to type yaourt (haha) so to think "AUR" is much simpler, since that's what we're getting packages from anyways.
Last edited by trusktr (2010-02-21 22:14:20)

When and if one uninstalls yaourt, still gonna leave the aliases in the .bashrc... that's untidy too... Wich is more simple, "ln -s /usr/bin/yaourt /usr/bin/AUR <enter>" or "nano ~/.bashrc <enter> alias AUR='yaourt' <ctrl+x> <y> <enter>" ... It's better to use aliases in .bashrc because you can do so much more and get to learn alil bit more for future reference, but the reasons for not symlinking it's really not that bad. If you've ever used windows for example, symlink works almost the same as creating a shortcut to an application on the desktop, once unistalled the application, you manually have to delete the shortcut. Aliases is the proper way to go, i didn't know this at all.. I just symlinked to yaort but after reading this i switched to alias Btw mark topic as solved ^^

Similar Messages

  • How to make netcfg2 run with regular user permissions

    when i want to run netcfg2 to connect to my wireless i always have to be superuser then run netfg2.  is there anyway to let the regular user run netcfg2?

    sudo is your friend. You can also set it to only work with certain commands. Instead of having
    USER_NAME   ALL=(ALL) ALL
    You can have
    USER_NAME   ALL=/usr/bin/netcfg2./usr/bin/netcfg-menu,[any other commands you want to add]

  • How to make iMac run less hot when in Bootcamp?

    When I play a game in win7 trough bootcamp, my iMac gets real hot.
    How to make it run cooler?
    It sounds like fans could be running faster; but I want it to do it automaticly.

    Download Lubbo Fancontrol for MacBook Pro to help with the fans.
    Lubbo FanControl for MacBook Prohttp://sourceforge.net/projects/lubbofancontrol/
    Also these
    AIDA64 Extreme Editionhttp://www.aida64.com
    http://www.aida64.com/product/aida64-extreme-edition/overview
    CCleaner
    http://www.piriform.com/ccleaner

  • How to make text columns with adobe muse

    Hi,How to make text columns with adobe muse (like InDesign)?

    Multiple columns can be acheived with CSS - http://www.w3schools.com/css/css3_multiple_columns.asp
    div
    -moz-column-count:3; /* Firefox */
    -webkit-column-count:3; /* Safari and Chrome */
    column-count:3;
    I'm surprised that Muse does not support text columns yet, but perhaps the custom CSS can be added in style tags on page properties. Haven't tried it, but don't see why it wouldn't work.

  • How to make turning page with ibooks author?

    How to make turning page with ibooks author?

    This question has been answered on this thread
    https://discussions.apple.com/message/17981772#17981772#17981772
    Best regards.
    Alex

  • How to make this work with Firefox, HELP!

    Downloading for Real-player, after watching the full movie, I click download and it has to reread the movie from the internet. When using explorer, after downloading the movie, it reads it from memory, which makes it a fast download. How to make this work with Firefox, I like not to use Microsoft products, and I really like Firefox 7.0.1!!!! HELP!

    -> click '''Firefox''' button and click '''Options''' (OR File Menu -> Options)
    * Advanced panel -> Network tab
    * place Checkmark on '''Override Automatic Cache Management''' -> under '''Limit Cache''' specify a large size of space
    * Remove Checkmark from '''Tell me when websites asks to store data for offline use'''
    * click OK on Options window
    * Restart Firefox
    Check and tell if ts working.

  • I have downloaded OS X Mountain Lion from the App Store. It took two hours to download but now its not running and I have no idea how to make it run!

    I have downloaded OS X Mountain Lion from the App Store. It took two hours to download but now its not running and I have no idea how to make it run!
    Download was complete and I accepted everything and restarted computer but its still running 10.7.5
    Any idea how to get OS X Mountain Lion to run?

    What you donwloaded was the OS installer. You still have to do the installation.
    To get started, double click on the download, then double click again and follow instructions.

  • How to make email link with a button with AC2 in flash cs3?

    How to make email link with a button with AC2 in flash cs3?
    I wrote this, but it does not work:
    btn_emailinfo.on (release) {
    getURL("mailto:"[email protected]");
    }

    I am guessing you put that on a frame?
    If so, the syntax is as follows:
    btn_emailinfo.onRelease = function(){
    getURL("mailto:[email protected]");
    Though, if you are placing it directly on the button itself,
    the syntax is:
    on(release){
    getURL("mailto:[email protected]");
    }

  • I reset my phone and it now receives calls that were meant for my husband. I know how to fix this with messaging and facetime, but can't seem to find how to make it stop with the calls. Please help.

    I reset my phone and it now receives calls that were meant for my husband. I know how to fix this with messaging and facetime, but can't seem to find how to make it stop with the calls. Please help.

    It may be due to Continuity
    The following quote is from  Connect your iPhone, iPad, and iPod touch using Continuity
    Turn off iPhone cellular calls
    To turn off iPhone Cellular Calls on a device, go to Settings > FaceTime and turn off iPhone Cellular Calls.

  • In JSF, how to make a menu with access control?

    In JSF, how to make a menu with access control?
    The access control can be guided by programming, database or other means if possible?
    Thanks

    I want to make a dvd menu in iMovie because i don't have IDVD and can't find anywhere to download it?
    For making DVDs I would recommend iMovie 06 and iDVD 09 both readily available on Amazon or eBay.  Shop for iLife 06 and iLife 09.
    You can make menus and chapters with any version of iMovie except the latest one. There's nothing wrong with iMovie 11 either but I prefer iMovie 06.
    By using iMovie 06 and iDVD 09 I make DVDs with professional moving menus with very little effort. They look almost as good as Hollywood.

  • How to make slide images with Dreamweaver CS6?

    How to make slide images with Dreamweaver CS6? Please teach me.

    Hello
    in addition to Jon's hint, I'll send you some links to nice sliders (have fun with the different representations ):
    http://sandbox.scriptiny.com/javascript-slideshow/
    http://jquery.malsup.com/cycle/
    http://wowslider.com/best-jquery-slider-crystal-linear-demo.html
    http://www.jcoverflip.com/demo
    http://www.jacksasylum.eu/ContentFlow/
    http://addyosmani.com/blog/jqueryuicoverflow/
    You only need to use the source code to implant these shows there where you want. In my eyes it would be the best that you use first a very new and blank DW file to perform (maybe in LiveView) the one or the other.
    Hans-Günter

  • How to make JRE5 run on Win7 with JRE6?

    Basically, what I want to do is run .jnlp files with JRE5. Everything else can be JRE6.
    On XP, all I had to do was associate .jnlp files with the javaws.exe (Java Web Start) file located in the JRE5 bin folder. That way, everytime I open a .jnlp file it runs with JRE5.
    On Win7 (x64), this is not the case. In fact, even if I select "Open with..." and choose the javaws.exe file in the JRE5 bin folder, it STILL runs with JRE6.
    Oddly, it works with Firefox. In Firefox, I can select which program to open .jnlp file with. If I select the JRE5 javaws.exe file then it opens correctly with JRE5.
    Does anyone have any idea how to get it working on Win7 as I've described?

    On Win7 (x64), this is not the case. In fact, even if I select "Open with..." and choose the javaws.exe file in the JRE5 bin folder, it STILL runs with JRE6.
    Try this...
    1. Open a console window.
    2. Modify env var PATH so it does not refer to 1.6.
    3. Use the full path to 1.5 JRE 'java' (not javaws) and then the full path to the jnlp
    If that still runs 1.6 then explain how you determined that it is running 1.6.

  • [solved]How to compile a software with debug symbol from aur?

    How does auch developers compile their project? Seems that archlinux user always trying to avoid build software from git/svn directly. But after searching a lot  I sill haven't found how to compile with debug symbol while using PKGBUILD.
    Anyone help?
    Last edited by ranjiao (2009-08-27 14:28:09)

    ranjiao wrote:PKGBUILD calls autogen.sh before calling make, and gnome-autogen.sh is called in autogen.sh
    I have tried to add --enable-debug while calling autogen.sh and gnome-autogen.sh, but it doesn't work.
    Isn't PKGBUILD just a script? It calls what you make it calls by adding commands...

  • How do you disable "Run with Multiple Threads" in a standalone EXE

    I have a program written in Labview 6.1.  After moving to a different hardware platform, my program has started crashing at the same point every time it is run.  I eventually found out that the cause of the crash is the fact that the new hardware has a dual core processor.  I confirmed this by disabling "Run with multiple threads" and now the program works fine.  What I need to know now is how to disable the same setting in a built EXE file, since as far as I know the "Run with multple threads" setting only affects execution in the Labview Dev environment.
    Thanks for any help,
    Dave

    Greg McKaskle once posted that using a non-reentrant (VI is NOT re-entrant) wrapper VI to make the calls to the dll will prevent simultaneous execution of the dll.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to make Macbook work with closed display?

    I need to make MacBook to be closed (display) most of the time and work with external monitor, keyboard and mouse (actually trackball as I have been hating any type of mice since 1998 and not using it even at work).
    Now I do not like mediocre resolution of small MacBook display and I prefer my 20 inch wide monitor. Also the keyboard is rather for quick work in small areas like restroom rather than comfortable work on big desk (I hate notebook keyboards either as they make me feel claustrophobic and crunching my fingers).
    Considering recent buzz on Mac Mini not living for too long into future I would love to find alternative solution (meaning I do not want computer with display and keyboard in one and I do not have needs of spending few thousand of dollars for big metal case good for feeding and breeding birds I have ergonomics demands, but not higg performnce processing needs.
    So can you tell me how I make Apple notebook being closed (and perhaps squashed by monitor stand) behave like a CPU box?
    Thanks,
    Maciek

    Thnaks, but I am not interested in bluethooth/wireless solution. That minimum of cable to reach CPU does not bother me and I do not buy big monitor to work on my computer from adjacent room. I just need space for more windows and I think Apple did great job having USB Hub on keyboard that allows stringing mouse and keayoboard with one cable to CPU.
    Also I haven't heard of wireless KVM and I use such solution. This is not my only computer as I run home network and two of them in my room are supposed to share keyboard, mouse and monitor. So far I was successful to run this setup, but I need inexpensive plain CPU from Apple to be able to find comfortable solution to work.
    Well I could drop the other computer if Apple managed to provide everything that I need (how about Safari properly working with Citrix client and Remote Desktop to Windows as I do not want Firefox on Apple computer? Only Firefox fixes the problems with this software).

Maybe you are looking for

  • My iPad reminder no longer works. Please help.

    There is no button for lists, like my iPhone. I have a calendar but cannot type any reminder on it.  I tried Siri, but her reply ended with her being sorry that she is unable to create a reminder..

  • Anchored graphics in margin intruding into text column

    I am creating what is basically a textbook chapter, two columns of text and a wide margin away from the spine. I am positioning some notes in the margin, but also some graphics. Some of the graphics need to be big enough that they intrude into the te

  • I can't install my DAQ in Windows

    I have an AT-MIO-16XE-10. I saw ways to install the AT-MIO-16E-10 in widnwos, bu nothing about the XE. It doesnot appear in the add hardware list along with all the other types of boards. I have installed the newest drivers... Can anyone help me?

  • [JS CS3] How to reach a item in a collection of pageitems whom label is the same ?

    Hi, I had a look through the forum and I didn't find any topic on it. I have several pageitems whom label is the same : "LogoBox" I can have interesting info such as b app.activeDocument.pageItems.count("LogoBox") So I can know how many iterations I

  • AS3 loading external swf files with buttons from inside a movieclip

    In my main .swf I have labels on the timeline, navs for those btns are on the first frame of the AS layer and each button sends the playhead to a different frame. On one frame called fr1 there is an mc called mc_1 that appears on stage when the playh