figured out how to do it right with the alpine thing. checking for gcc works well i thonk
parent
bfc8362959
commit
ab2c5bb71c
3
.zshrc
3
.zshrc
|
|
@ -1,4 +1,5 @@
|
||||||
if [ "${CONTAINER_ID}" != "alpine" ]; then
|
gnuloc=$(command -v gcc)
|
||||||
|
if [ "${gnuloc}" = "/usr/bin/gcc" ]; then
|
||||||
#source ~/.bash_profile
|
#source ~/.bash_profile
|
||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue