From b81f0a2c42fddeedf50a2b50aa3f84e73a9ce86c Mon Sep 17 00:00:00 2001 From: Donald Merand Date: Wed, 17 Feb 2016 15:48:00 -0500 Subject: [PATCH] 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." --- libexec/rbenv-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rbenv-init b/libexec/rbenv-init index 7ddae5e5..82df3229 100755 --- a/libexec/rbenv-init +++ b/libexec/rbenv-init @@ -70,7 +70,7 @@ if [ -z "$print" ]; then echo case "$shell" in fish ) - echo 'status --is-interactive; and . (rbenv init -|psub)' + echo 'status --is-interactive; and source (rbenv init -|psub)' ;; * ) echo 'eval "$(rbenv init -)"'