#!/bin/sh if [ -z "$XDG_CONFIG_HOME" ]; then echo "Config directory (shell variable XDG_CONFIG_HOME) not setup in the computer" return 1 fi [ -d "$XDG_CONFIG_HOME/shell/" ] || mkdir "$XDG_CONFIG_HOME/shell/" || return for x_10 in "$PWD"/10x*.sh; do ln -sf "$x_10" "$XDG_CONFIG_HOME/shell/" done