Pixsy Docs

Pixsy | Command Your Internet

Current version: 0.5.11

Aliases

What is an alias?

An alias is a replacement name for any built-in Pixsy command or combination of a built-in command and series of options.

One of the benefits of an alias is that it allows you to assign your own name to commands to make them easier to remember. They are also very helpful because they can help to reduce a complex command and option sequence to a short alias which makes it much easier to type at the command line.

Alias syntax

<useralias> pixsycommand pixsyoptions

An alias can range in length between 1 and 20 characters. You can use lowercase and uppercase letters, the numbers 0-9, and the underscore character.

In order to make an alias, you place the name of the alias between the < and > characters. Then enter a space between the alias declaration and the Pixsy command sequence that you are assigning to that alias.

Example

Here is an example of an alias for a realtime, encrypted Google search:

<gre> .g -r-e

In this example, we assigned the built-in realtime, encrypted Google search command to an alias that is named 'gre'. g is the Pixsy short form command for a Google search. -r is the option for a realtime search and -e is the option for an encrypted search.

With this alias, it is no longer necessary to use the .g -r-e command sequence on the command line. The alias now represents that command and can be used in its place in the command line like this:

.gre a test search

In the above example, the alias is used to perform a realtime, encrypted Google search for the search term, 'a test search'.

Tutorial

The following two-part tutorial goes into more detail about the possible applications for aliases and demonstrates how to assign them in the settings window. It also provides additional examples of how to use them on the Pixsy command line:

How to Make and Use a Pixsy Alias (Part 1)

How to Make and Use a Pixsy Alias (Part 2)