OK, cristal clear to me, thanks !
2013/5/23 dag.odenh...@gmail.com
> `export` is `set -x` in fish. Without quotes you get a list which when
> exported is joined with a colon; useful for $PATH but not $EDITOR:
>
> $ set -x EDITOR 'sublime -w'
>
> $PATH is a list in fish and when you use a list
`export` is `set -x` in fish. Without quotes you get a list which when
exported is joined with a colon; useful for $PATH but not $EDITOR:
$ set -x EDITOR 'sublime -w'
$PATH is a list in fish and when you use a list as an unquoted part of an
argument you get a cartesian product, similar to brace
actually I'm using zsh as a shell, i plan to switch to fish.
i don't know how to do some lines (from .zshrc) in config.fish :
export EDITOR='sublime -w'
could it be translated to :
set EDITOR sublime -w
(the -w arg is mandatory)
also i do have actually :
echo PATH=$PATH > .profile
echo PATH=$PAT