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