Zum Inhalt springen

Fish

Aus Computech CMS Wiki

Einrichten

Fish als Standart Shell einrichten

 chsh -s /usr/bin/fish

Einstellungen und Funktionen von internen GIT Repo einfügen

rm -rf ~/.config/fish/
git clone http://git.zeberliedv.ch/modules/shell/fish.git ~/.config/fish
nano  ~/.config/fish/functions/fish_title.fish

Updaten

cd ~/.config/fish
git fetch --all
git reset --hard origin/master 

Fish Alias

allgemeine Alias ********************************
aliases -> Die Datei alieases.fish anpassen
ls -> "ls -all"

Drupal Spezifisch *******************************
d8 -> change Directory  to D8 Folder
d8 arg -> "d8 dev8" change Directory to D8 Drupal Root  Folder
d7 -> change Directory  to D7 Folder
d7 arg -> "d7 dev" change Directory to D7 Drupal Root  Folder
www -> change Directory to www Folder

FISH ********************************************
fish_update -> Fish einstellungen werden von Git wiederherstellen / updaten

Installation

https://hackercodex.com/guide/install-fish-shell-mac-ubuntu/

sudo apt-add-repository ppa:fish-shell/release-2
sudo apt-get update
sudo apt-get install fish

Set Fish als Standard

chsh -s /usr/bin/fish