GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ABBR (1)

NAME

abbr -- manage fish abbreviations

    Synopsis

abbr -a word=’phrase’ abbr -s abbr -l abbr -e word

    Description

abbr manipulates the list of abbreviations that fish will expand.

Abbreviations are user-defined character sequences or words that are replaced with longer phrases after they are entered. For example, a frequently-run command such as git checkout can be abbreviated to gco. After entering gco and pressing [Space] or [Enter], the full text git checkout will appear in the command line.

Abbreviations are stored, by default, in a universal variable.

The following parameters are available:

o -a WORD PHRASE or --add WORD PHRASE Adds a new abbreviation, where WORD will be expanded to PHRASE.
o -s or --show Show all abbreviated words and their expanded phrases in a manner suitable for export and import.
o -l or --list Lists all abbreviated words.
o -e WORD or --erase WORD Erase the abbreviation WORD.

    Examples

abbr -a gco git checkout

Add a new abbreviation where gco will be replaced with git checkout.

abbr -e gco

Erase the gco abbreviation.

ssh another_host abbr -s | source

Import the abbreviations defined on another_host over SSH.

Search for    or go to Top of page |  Section 1 |  Main Index


Version 2.2.0 ABBR (1) Mon Jul 6 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.