{"action":"created","issue":{"url":"https://api.github.com/repos/ros/xacro/issues/102","labels_url":"https://api.github.com/repos/ros/xacro/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/ros/xacro/issues/102/comments","events_url":"https://api.github.com/repos/ros/xacro/issues/102/events","html_url":"https://github.com/ros/xacro/pull/102","id":92070294,"number":102,"title":"bash completion","user":{"login":"rhaschke","id":5376030,"avatar_url":"https://avatars.githubusercontent.com/u/5376030?v=3","gravatar_id":"","url":"https://api.github.com/users/rhaschke","html_url":"https://github.com/rhaschke","followers_url":"https://api.github.com/users/rhaschke/followers","following_url":"https://api.github.com/users/rhaschke/following{/other_user}","gists_url":"https://api.github.com/users/rhaschke/gists{/gist_id}","starred_url":"https://api.github.com/users/rhaschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhaschke/subscriptions","organizations_url":"https://api.github.com/users/rhaschke/orgs","repos_url":"https://api.github.com/users/rhaschke/repos","events_url":"https://api.github.com/users/rhaschke/events{/privacy}","received_events_url":"https://api.github.com/users/rhaschke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-30T11:41:01Z","updated_at":"2015-07-01T19:54:34Z","closed_at":"2015-07-01T19:21:58Z","pull_request":{"url":"https://api.github.com/repos/ros/xacro/pulls/102","html_url":"https://github.com/ros/xacro/pull/102","diff_url":"https://github.com/ros/xacro/pull/102.diff","patch_url":"https://github.com/ros/xacro/pull/102.patch"},"body":"I worked a little on a bash completion function. Besides completing the options, it also parses the xacro file (using `awk`) to list all handled `<xacro:arg>s`.\r\nQuestion is: Where to install the script? I have it manually copied to /etc/bash_completion.d/xacro."},"comment":{"url":"https://api.github.com/repos/ros/xacro/issues/comments/117806746","html_url":"https://github.com/ros/xacro/pull/102#issuecomment-117806746","issue_url":"https://api.github.com/repos/ros/xacro/issues/102","id":117806746,"user":{"login":"codebot","id":5263834,"avatar_url":"https://avatars.githubusercontent.com/u/5263834?v=3","gravatar_id":"","url":"https://api.github.com/users/codebot","html_url":"https://github.com/codebot","followers_url":"https://api.github.com/users/codebot/followers","following_url":"https://api.github.com/users/codebot/following{/other_user}","gists_url":"https://api.github.com/users/codebot/gists{/gist_id}","starred_url":"https://api.github.com/users/codebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebot/subscriptions","organizations_url":"https://api.github.com/users/codebot/orgs","repos_url":"https://api.github.com/users/codebot/repos","events_url":"https://api.github.com/users/codebot/events{/privacy}","received_events_url":"https://api.github.com/users/codebot/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T19:54:34Z","updated_at":"2015-07-01T19:54:34Z","body":"Yeah, it's not quite clear to me, either. I think for now we should just leave the bash_completion script in the xacro install path, and people wanting to use it can symlink it themselves. I'm guessing it should probably land in CATKIN_PACKAGE_SHARE_DESTINATION , next to \"xacro.py\" in the debians."}}