Based on reading the source that Shlomi linked to (and blowing the dust off my Lua skills), if you can find and edit the cli.lua file on your local machine (it's likely owned by root, so you might have to use sudo to edit it), you can add an alias. You want to look for the line that reads { get_title"; { func = get_title; help = "the title of the current stream" } }; and add an aliases entry to the second item of the table: { get_title"; { func = get_title; help = "the title of the current stream"; aliases = { "gt" } } }; You should be able to find the file with either locate cli.lua which should be fast if your locatedb is kept up to date, or you can use find / -type f name cli.lua 2> /dev/null which will churn over your entire drive's file-structure in hunt of the file (taking a LOT longer). Note that, unless you installed from source and are maintaining the installation yourself, you likely have a package-manager maintaining this file so (1) you likely have to edit the file as root or with sudo, and (2) it might complain if you try to upgrade VLC or the CLI, complaining that the file was modified locally. -tim On December 11, 2014, Shlomi Fish wrote: > 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 _______________________________________________ Blinux-list mailing list Blinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/blinux-list