์๋
ํ์ธ์ ๋์ปค๋จธ์ ์๊ฐ๋,
๋๋ bash ์์ฑ ์คํฌ๋ฆฝํธ๋ฅผ ์๋ํ๊ณ ์์๋ค. ์ถ๊ฐ ํ
docker-machine.bash
docker-machine-prompt.bash
~/.bashrc ๋ฐ "์์ค"์ ๋ค์ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
$ docker-machine -bash: _get_comp_words_by_ref: command not found
-bash: ((: i < : syntax error: operand expected (error token is " ")
-bash: _get_comp_words_by_ref: command not found
-bash: ((: i < : syntax error: operand expected (error token is " ")
์ด ์ ์ฅ์์์ _get_comp_words_by_ref๋ฅผ ๊ฒ์ํ์ง๋ง ์ฌ์ฉ๋ฒ๋ง ์ฐพ์์ต๋๋ค. ์ ๊ฑฐ๋์์ ์๋ ์์ต๋๋ค. ํน์ ์์ง๋ ๊ทธ ๊ธฐ๋ฅ์ด ์๋์?
_get_comp_words_by_ref
๋ _bash-completion_ ํจํค์ง์์ ์ ๊ณตํ๋ ๊ธฐ๋ฅ์
๋๋ค.
์ค๋ฅ ๋ฉ์์ง์ ๊ฐ๋ฅํ ์์ธ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
@albers๋ ๊ฐ์ฌํฉ๋๋ค. ์ค์น ๋ฌธ์ ์ ๊ด๋ จ๋ ๊ฒ ๊ฐ์์ ๋ฌธ์ ๋ฅผ ์ข ๋ฃํ๊ฒ ์ต๋๋ค.
source /etc/profile
์์ง ์ฌ์ฉํ์ง ์์ ๊ฒฝ์ฐ(์: bash๋ฅผ ์ํ์ธ๊ณผ ํจ๊ป ์ฌ์ฉํ๋ ๊ฒฝ์ฐ).
source /etc/profile
์์ง ์ฌ์ฉํ์ง ์์ ๊ฒฝ์ฐ(์: bash๋ฅผ ์ํ์ธ๊ณผ ํจ๊ป ์ฌ์ฉํ๋ ๊ฒฝ์ฐ).
์ด๊ฒ์ centos์ ํจ๊ป bash์์๋ ์๋ํ์ต๋๋ค.
๊ฐ์ฌ ํด์!
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
_get_comp_words_by_ref
๋ _bash-completion_ ํจํค์ง์์ ์ ๊ณตํ๋ ๊ธฐ๋ฅ์ ๋๋ค.์ค๋ฅ ๋ฉ์์ง์ ๊ฐ๋ฅํ ์์ธ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.