linux 中安装 fish

UBUNTU 16.04/18.04

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

RHEL 7

sudo yum-config-manager --add-repo https://download.opensuse.org/repositories/shells:/fish:/release:/3/RHEL_7/shells:fish:release:3.repo
sudo yum install fish

bash 和 fish 中使用别名执行 git 常用命令

更多详见:https://www.jianshu.com/p/21bf56500b89