Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 23 lines (15 sloc) 587 Bytes
#!/bin/bash
if [[ ! -d ${HOME}/bin ]]; then
mkdir ${HOME}/bin
fi
$(cd ${HOME}/bin && ln -s ${HOME}/MacAdm/tempadm.sh .)
touch ${HOME}/.bashrc ${HOME}/.bash_profile
echo 'export PATH=${HOME}/bin:${PATH}' >> ${HOME}/.bashrc
echo 'export PATH=${HOME}/bin:${PATH}' >> ${HOME}/.zshrc
echo 'source ${HOME}/.bashrc' >> ${HOME}/.bash_profile
chmod -R 700 ${HOME}/MacAdm
if [[ $SHELL == "/bin/zsh" ]]; then
echo "zum Aktivieren einmal < source ${HOME}/.zshrc > ausfuehren"
elif [[ $SHELL == "/bin/bash" ]]; then
echo "zum Aktivieren einmal < source ${HOME}/.bashrc > ausfuehren"
fi