{"action":"created","issue":{"url":"https://api.github.com/repos/TACC/Lmod/issues/379","repository_url":"https://api.github.com/repos/TACC/Lmod","labels_url":"https://api.github.com/repos/TACC/Lmod/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/TACC/Lmod/issues/379/comments","events_url":"https://api.github.com/repos/TACC/Lmod/issues/379/events","html_url":"https://github.com/TACC/Lmod/issues/379","id":351131486,"node_id":"MDU6SXNzdWUzNTExMzE0ODY=","number":379,"title":"set_shell_function ending with symbol","user":{"login":"poinu","id":7153980,"node_id":"MDQ6VXNlcjcxNTM5ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/7153980?v=4","gravatar_id":"","url":"https://api.github.com/users/poinu","html_url":"https://github.com/poinu","followers_url":"https://api.github.com/users/poinu/followers","following_url":"https://api.github.com/users/poinu/following{/other_user}","gists_url":"https://api.github.com/users/poinu/gists{/gist_id}","starred_url":"https://api.github.com/users/poinu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poinu/subscriptions","organizations_url":"https://api.github.com/users/poinu/orgs","repos_url":"https://api.github.com/users/poinu/repos","events_url":"https://api.github.com/users/poinu/events{/privacy}","received_events_url":"https://api.github.com/users/poinu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-16T09:44:54Z","updated_at":"2018-08-16T13:39:42Z","closed_at":null,"author_association":"NONE","body":"I'm trying to set a shell function using `set_shell_function` where the function name to define must be `c++`:\r\n\r\n```\r\nset_shell_function(\"c++\", \"whatever\", \"whatever\")\r\n```\r\nWhen trying to load the module, I get the following error:\r\n\r\n```\r\nbash: syntax error near unexpected token `}'\r\n```\r\nIs there any workaround for this?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/TACC/Lmod/issues/comments/413548777","html_url":"https://github.com/TACC/Lmod/issues/379#issuecomment-413548777","issue_url":"https://api.github.com/repos/TACC/Lmod/issues/379","id":413548777,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzU0ODc3Nw==","user":{"login":"rtmclay","id":2041448,"node_id":"MDQ6VXNlcjIwNDE0NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/2041448?v=4","gravatar_id":"","url":"https://api.github.com/users/rtmclay","html_url":"https://github.com/rtmclay","followers_url":"https://api.github.com/users/rtmclay/followers","following_url":"https://api.github.com/users/rtmclay/following{/other_user}","gists_url":"https://api.github.com/users/rtmclay/gists{/gist_id}","starred_url":"https://api.github.com/users/rtmclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtmclay/subscriptions","organizations_url":"https://api.github.com/users/rtmclay/orgs","repos_url":"https://api.github.com/users/rtmclay/repos","events_url":"https://api.github.com/users/rtmclay/events{/privacy}","received_events_url":"https://api.github.com/users/rtmclay/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T13:39:42Z","updated_at":"2018-08-16T13:39:42Z","author_association":"MEMBER","body":"What version of Lmod are you using?   This works perfectly for me:\r\n\r\n```\r\nmijo(3212)% module --version   \r\n\r\nModules based on Lua: Version 7.8.1 (7.8.1-3-g154025f4) 2018-08-08 19:41 -05:00\r\n    by Robert McLay mclay@tacc.utexas.edu\r\n\r\nmijo(3213)% module --raw show b\r\n--------------------------------------------------------------------------------------------------\r\n   /Users/mclay/t/mf/b/1.0.lua:\r\n--------------------------------------------------------------------------------------------------\r\nset_shell_function(\"c++\",\"whatever\",\"whatever\")\r\nmijo(3214)% module load b      \r\nmijo(3215)% \r\n\r\n```"}}
{"actor":{"display_login":"rtmclay"}}