Fish shell "." is deprecated in favor of "source"
Per [the fish documentation for "source"](file:///usr/local/Cellar/fish/2.2.0/share/doc/fish/commands.html#source) - ". (a single period) is an alias for the source command. The use of . is deprecated in favour of source, and . will be removed in a future version of fish."
This commit is contained in:
parent
ad7dfa63ab
commit
b81f0a2c42
@ -70,7 +70,7 @@ if [ -z "$print" ]; then
|
|||||||
echo
|
echo
|
||||||
case "$shell" in
|
case "$shell" in
|
||||||
fish )
|
fish )
|
||||||
echo 'status --is-interactive; and . (rbenv init -|psub)'
|
echo 'status --is-interactive; and source (rbenv init -|psub)'
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
echo 'eval "$(rbenv init -)"'
|
echo 'eval "$(rbenv init -)"'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user