Fish

Aus wiki.archlinux.de
Zur Navigation springen Zur Suche springen

Einführung

fish ist eine Benutzerfreundliche Shell, die vor allem zur interaktiven Nutzung vorgesehen ist.

Installation

fish ist im [community] Repository vorhanden:

# pacman -S fish

Um herauszufinden, ob fish schon installiert ist:

$ less /etc/shells

Um fish zur Standardshell zu machen:

$ chsh -s /usr/bin/fish

Pacman und fish

Komplettierung fuer pacman und makepkg sind in fish eingebaut, seit es die Regel der fish-Entwickler ist, alle Komplettierungen aufzunehmen. Das Speichermanagement ist schlau genug, keinen unnoetigen Platz im Hauptspeicher in Anspruch zu nehmen.

Troubleshooting

After you change your default shell to fish, you may find that you no longer have very much in your path. You can add a section to your ~/.config/fish/config.fish file that will set your path correctly on login. This is much like .profile or .bash_profile as it is only executed for login shells.

if status --is-login
    set PATH $PATH /usr/bin /sbin
end

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