Re: v l c whatchamacallit

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

 



Hi Paul,

On Wed, 10 Dec 2014 11:40:55 -0800
Paul Merrell <marbux@xxxxxxxxx> wrote:

> On Wed, Dec 10, 2014 at 8:08 AM, Shlomi Fish <shlomif@xxxxxxxxxxxxxx> wrote:
> 
> > Use the "alias" command:
> >
> > [QUOTE]
> >> get_title
> > Atomic Kitten- The Tide is High-EPFk0X1p2fs.flv
> >> gt
> > Error in `gt' libvlc's "gt" is not a command
> > Unknown command `gt'. Type `help' for help.
> >> alias gt get_title
> >> gt
> > Atomic Kitten- The Tide is High-EPFk0X1p2fs.flv
> >>
> > [/QUOTE]
> >
> > I don't see a way to make it permanent at startup except by using something
> > like:
> 
> Search your file system for a file named .bashrc (note the leading
> period). Usually this will be in your /home/username directory.  Add
> your aliases to this file. It is read into your bash shell's allocated
> memory any time you start a bash session. If you change or remove some
> aliases during the current session, you can reload the .bashrc back
> into the session with:
> 

I'm familiar with bash's .bashrc and .bash_profile, but it won't help for
setting up rvlc aliases, because rvlc does not use bash, but its own internal
command loop written in Lua :

http://git.videolan.org/?p=vlc.git;a=blob;f=share/lua/intf/cli.lua;h=5af1e736caf1ec5e8fe34b04965fab67bf8be74d;hb=HEAD

This command loop does not recognise Bash's aliases.

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
The Case for File Swapping - http://shlom.in/file-swap

Joel’s Generalisation: If it happens to you, it happens to everybody.
(Or: It’s never only you.)
    — Based on http://www.joelonsoftware.com/news/20020402.html

Please reply to list if it's a mailing list post - http://shlom.in/reply .

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list





[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]