{"action":"closed","issue":{"url":"https://api.github.com/repos/Ninjaban/21sh/issues/3","repository_url":"https://api.github.com/repos/Ninjaban/21sh","labels_url":"https://api.github.com/repos/Ninjaban/21sh/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Ninjaban/21sh/issues/3/comments","events_url":"https://api.github.com/repos/Ninjaban/21sh/issues/3/events","html_url":"https://github.com/Ninjaban/21sh/issues/3","id":217987327,"number":3,"title":"[evironnement / 21sh & 42sh / gênant] ajout d'une variable locale","user":{"login":"kenjinsama","id":6301897,"avatar_url":"https://avatars1.githubusercontent.com/u/6301897?v=3","gravatar_id":"","url":"https://api.github.com/users/kenjinsama","html_url":"https://github.com/kenjinsama","followers_url":"https://api.github.com/users/kenjinsama/followers","following_url":"https://api.github.com/users/kenjinsama/following{/other_user}","gists_url":"https://api.github.com/users/kenjinsama/gists{/gist_id}","starred_url":"https://api.github.com/users/kenjinsama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenjinsama/subscriptions","organizations_url":"https://api.github.com/users/kenjinsama/orgs","repos_url":"https://api.github.com/users/kenjinsama/repos","events_url":"https://api.github.com/users/kenjinsama/events{/privacy}","received_events_url":"https://api.github.com/users/kenjinsama/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"KuroiAghi","id":17621794,"avatar_url":"https://avatars2.githubusercontent.com/u/17621794?v=3","gravatar_id":"","url":"https://api.github.com/users/KuroiAghi","html_url":"https://github.com/KuroiAghi","followers_url":"https://api.github.com/users/KuroiAghi/followers","following_url":"https://api.github.com/users/KuroiAghi/following{/other_user}","gists_url":"https://api.github.com/users/KuroiAghi/gists{/gist_id}","starred_url":"https://api.github.com/users/KuroiAghi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KuroiAghi/subscriptions","organizations_url":"https://api.github.com/users/KuroiAghi/orgs","repos_url":"https://api.github.com/users/KuroiAghi/repos","events_url":"https://api.github.com/users/KuroiAghi/events{/privacy}","received_events_url":"https://api.github.com/users/KuroiAghi/received_events","type":"User","site_admin":false},"assignees":[{"login":"KuroiAghi","id":17621794,"avatar_url":"https://avatars2.githubusercontent.com/u/17621794?v=3","gravatar_id":"","url":"https://api.github.com/users/KuroiAghi","html_url":"https://github.com/KuroiAghi","followers_url":"https://api.github.com/users/KuroiAghi/followers","following_url":"https://api.github.com/users/KuroiAghi/following{/other_user}","gists_url":"https://api.github.com/users/KuroiAghi/gists{/gist_id}","starred_url":"https://api.github.com/users/KuroiAghi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KuroiAghi/subscriptions","organizations_url":"https://api.github.com/users/KuroiAghi/orgs","repos_url":"https://api.github.com/users/KuroiAghi/repos","events_url":"https://api.github.com/users/KuroiAghi/events{/privacy}","received_events_url":"https://api.github.com/users/KuroiAghi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-03-29T19:42:33Z","updated_at":"2017-03-30T08:33:14Z","closed_at":"2017-03-30T08:33:14Z","body":"L'ajout d'une variable locale ne doit pas modifier l'environnement.\r\n\r\nReproduction sur 21sh : \r\n```bash\r\n$: commande nº44 - (21sh)\r\nsetenv titi=3\r\n$: commande nº45 - (21sh)\r\nset titi=5\r\n$: commande nº46 - (21sh)\r\necho \"titi = $titi\"\r\ntiti = 5\r\n$: commande nº47 - (21sh)\r\n```\r\n\r\nAttendu avec bash (utilisation de export au lieu de setenv) :\r\n```bash\r\n✔ ~/Documents/21sh [master|…141]\r\n$ export titi=3\r\n✔ ~/Documents/21sh [master|…141]\r\n$ set titi=5\r\n✔ ~/Documents/21sh [master|…141]\r\n$ echo \"titi = $titi\"\r\ntiti = 3\r\n✔ ~/Documents/21sh [master|…141]\r\n$\r\n```"}}
{"actor":{"display_login":"KuroiAghi"}}