Browse Source

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."
pull/927/head^2
Donald Merand 8 years ago
parent
commit
b81f0a2c42
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libexec/rbenv-init

+ 1
- 1
libexec/rbenv-init View File

@ -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…
Cancel
Save