File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66zshrc=" $HOME /.zshrc"
77
8- read -p $' \e \033 [0;32mPlease install Docker from the Managed Software Center and press any key to continue .\e \033 [0m' docker
8+ read -p $' \e \033 [0;32mPlease install Docker from the Managed Software Center and press any key if Docker is running .\e \033 [0m' docker
99
1010read -p $' \e \033 [0;32mPlease enter an Alias to init your Docker Container a.e. "docker_init":\e \033 [0m' ali_ini
1111if [[ $ali_init == " " ]]
@@ -37,7 +37,6 @@ read -p $'\e\033[0;32mPlease enter an Alias to start your Valgrind Docker Contai
3737if [[ $ali_valgrind == " " ]]
3838then
3939 ali_valgrind=" docker_valgrind"
40- echo " Alias is now:$ali_valgrind "
4140fi
4241docker=$( grep " $ali_valgrind " $zshrc )
4342if [[ " $docker " != " " ]]
7170echo -e ' \033[0;33mCreating Aliase in ZSH.....\033[0m'
7271echo " alias $ali_init =\" bash $path /init_docker.sh\" " >> $zshrc
7372echo " alias $ali_build =\" docker build -t valgrind - < $path /valgrind\" " >> $zshrc
74- echo " alias $ali_valgrind =\ 'docker run -ti -v \$ PWD:/code -v \" $path /root\" :/root valgrind bash'" >> $zshrc
73+ echo " alias $ali_valgrind ='docker run -ti -v \$ PWD:/code -v \" $path /root\" :/root valgrind bash'" >> $zshrc
7574source $zshrc
7675
7776echo -e ' \033[0;33mCreating Scripts.....\033[0m'
You can’t perform that action at this time.
0 commit comments