rhub
sign in
map people groups locations

  # ? homehelp

Aliases

[edit] Aliases

Instead of having to type out long, full names of locations, aliases allow you to assign shortcut words. You can also use aliases to give a location alternative names that are used to refer to a location. For example, "New York City" is also commonly known as "NYC".

[edit] Creating Aliases

Aliases are similar to Tags in that they can only contain alphabetical characters and no spaces. You can assign your own aliases to a location and also take advantage of other aliases people have assigned.

To create an alias, navigate to a location, and click 'AKA'. A input box appears and allows you to modify aliases you have defined for the location. To add a new alias, simply type it in. To delete an alias, remove it. Use spaces to separate multiple aliases.

For example, if the following aliases already exist: "nyc bigapple"

Changing the list to: "nyc big apple hometown"

Will keep the original alias 'nyc', remove 'bigapple' and add 'big', 'apple' and 'hometown'.

[edit] Using Aliases

Aliases can be used where ever location references are accepted. In order for the shortcut to work, rhub has to resolve the alias you typed in to one particular location. If it is not clear-cut which location you mean when you use a particular alias, the command will return an error.

Location references are resolved in the following order:

  1. Matches a full location name
  2. Matches an alias you have defined yourself
  3. Matches an alias someone else has defined

Future Work

Retrieved from "http://rhub.net/wiki/Aliases"
Powered by MediaWiki

 

Help! | Console | Getting Started | Sitemap | Search | Feedback | About

Navigation
 
Personal tools

Extra