Skip to content

Commit

Permalink
The . command is deprecated
Browse files Browse the repository at this point in the history
and the `source` command is preferred
fish-shell/fish-shell#310
  • Loading branch information
ruffsl committed Sep 5, 2019
1 parent c3b6dac commit ca85b33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ros2cli/completion/ros2-argcomplete.fish
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

if type register-python-argcomplete3 > /dev/null 2>&1
eval "register-python-argcomplete3 --shell fish ros2 | ."
eval "register-python-argcomplete3 --shell fish ros2 | source"
else if type register-python-argcomplete > /dev/null 2>&1
eval "register-python-argcomplete3 --shell fish ros2 | ."
eval "register-python-argcomplete3 --shell fish ros2 | source"
end

0 comments on commit ca85b33

Please sign in to comment.