# create the missing directories [ ! -d "$HISTFILE_DIR" ] && mkdir -p "$HISTFILE_DIR" [ ! -d "$COMPDIR" ] && mkdir -p "$COMPDIR" # transmission if hash transmission-daemon 2>/dev/null; then transmission-daemon fi