You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
227 B

#!/bin/bash
DIR="$(realpath $(dirname "$(readlink -f "$0")"))"
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