Fish Shell
this shell is fantastic
Installation
the commands are here http://fishshell.com/files/2.1.0/linux/index.html
I used the red hat enterprise 5 for installation on linux ami
Set Env Variable
to set environment variables in ubuntu as is written here http://askubuntu.com/questions/33845/how-to-add-exports-to-fish-like-in-bashrc
you need to edit this file
~/.config/fish/config.fish
in this way
set -x PERL5LIB /home/iaco/workspace/perl:/home/iaco/devtools
Define Aliases
I found on the page http://stackoverflow.com/questions/2762994/how-to-define-an-alias-in-fish-shell
from a fish shell
alias tapply "terraform apply"
funcsave tapply
the last command creates a directory functions with a file for each alias with this content
cat ~/.config/fish/functions/tapply.fish
function tapply
terraform apply $argv;
end
versione della pagina: 2, ultima modifica: 07 Sep 2016 14:43