Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for sourcing rosfish #262

Merged
merged 4 commits into from Jun 15, 2020
Merged

fix for sourcing rosfish #262

merged 4 commits into from Jun 15, 2020

Conversation

iPaddy
Copy link
Contributor

@iPaddy iPaddy commented Jun 15, 2020

Fixes #261
Fixed the script such that it sources in fish.
Functionality should match the intentions of the bash part.

@dirk-thomas
Copy link
Member

Thanks for the patch.

I updated the ticket description to use the GitHub keyword "Fixes #261" to automatically close the referenced issue when this PR is merged.

@dirk-thomas dirk-thomas merged commit b89723c into ros:noetic-devel Jun 15, 2020
@@ -22,7 +22,7 @@ function _rosfind
# BSD find needs -E for extended regexp
find -E $argv
else
find $argv
find $arg

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iPaddy Excuse me, why was this changed? I believe $arg is empty here and $argv is correct.

How to confirm:

# Create directory to avoid slow `find`
mkdir tmp
cd tmp

# Shows no candidate
rosrun rviz <Tab>

# Edit `find $arg` to `find $argv`
sudo vim /opt/ros/noetic/share/rosbash/rosfish

# Correctly be complemented
rosrun rviz <Tab>

Copy link
Contributor

@eduidl eduidl Mar 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with you. I created PR.

#279

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rosfish from noetic release contains bash code and can't be sourced
4 participants