Difference between revisions of "Fish"

From ArchWiki
Jump to: navigation, search
(Pacman and fish: Completions for pacman built-in)
m
Line 2: Line 2:
  
 
== Introduction ==
 
== Introduction ==
fish is a user friendly commandline shell intended mostly for interactive use.
+
'''fish''' is a user friendly commandline shell intended mostly for interactive use.
  
 
== Installation instructions ==
 
== Installation instructions ==
 
To install the package for fish using pacman (the package is in the community repo)
 
To install the package for fish using pacman (the package is in the community repo)
 
run:
 
run:
  pacman -S fish
+
  # pacman -S fish
  
 
To verify that it has been installed you can run:
 
To verify that it has been installed you can run:
  less /etc/shells
+
  $ less /etc/shells
  
 
If you wanted to make fish your default shell run:
 
If you wanted to make fish your default shell run:
  chsh -s /usr/bin/fish
+
  $ chsh -s /usr/bin/fish
  
 
== Pacman and fish ==
 
== Pacman and fish ==
Line 36: Line 36:
  
 
== External Links ==
 
== External Links ==
http://www.fishshell.org HomePage<br>
+
*[http://www.fishshell.org HomePage]
http://www.fishshell.org/user_doc/index.html Documentation<br>
+
*[http://www.fishshell.org/user_doc/index.html Documentation]

Revision as of 13:11, 4 February 2009


Introduction

fish is a user friendly commandline shell intended mostly for interactive use.

Installation instructions

To install the package for fish using pacman (the package is in the community repo) run:

# pacman -S fish

To verify that it has been installed you can run:

$ less /etc/shells

If you wanted to make fish your default shell run:

$ chsh -s /usr/bin/fish

Pacman and fish

Context-aware completions for pacman and makepkg are built into fish, since the policy of the fish development is to include all the existent completions in the upstream tarball. The memory management is clever enough to avoid any negative impact on resources.

Troubleshooting

After you change your default shell to fish, you may find that you no longer have very much in your path.

Licenses

Fish Copyright (C) 2005-2006 Axel Liljencrantz.

Fish is released under the GNU General Public License, version 2.

Fish contains code under the BSD license, namely versions of the two functions strlcat and strlcpy, modified for use with wide character strings. This code is copyrighted by Todd C. Miller.

The XSel command, written and copyrighted by Conrad Parker, is distributed together with, and used by fish. It is released under the MIT license.

The xdgmime library, written and copyrighted by Red Hat, Inc, is used by the mimedb command, which is a part of fish. It is released under the LGPL.

Fish contains code from the glibc library, namely the wcstok function. This code is licensed under the LGPL.

External Links