* renaming xdebug scripts for non-conflicts name with user defined scripts in home directory starts with s and q

+ tail db general log bash helper
* correct path to xdebug2 config for previous php 74 version
- remove unnecessary laradock example crontab because this script moved crontab-example dir
* improve (un)create symlinks script logic
* use only newly composer auth path
This commit is contained in:
2023-01-15 15:08:15 +03:00
parent 9fab9307b6
commit dbe3a916f1
8 changed files with 29 additions and 16 deletions

View File

@ -1,8 +1,10 @@
#!/bin/bash
DIR="$(realpath $(dirname "$(readlink -f "$0")"))"
ln -s ${DIR}/bash/start-xdebug.sh ${HOME}/
ln -s ${DIR}/bash/quit-xdebug.sh ${HOME}/
ln -s ${DIR}/bash/restart-nginx.sh ${HOME}/
ln -s ${DIR}/bash/mysql.sh ${HOME}/
ln -s ${DIR}/bash/enter-to-workspace.sh ${HOME}/
BASH_SCRIPTS_DIR="${DIR}/bash"
BASH_SCRIPTS=(ls $BASH_SCRIPTS_DIR)
for FILENAME in "${BASH_SCRIPTS[@]}"; do
ln -s ${BASH_SCRIPTS_DIR}/${FILENAME} ${HOME}/
done