# create the missing directories [ ! -d "$HISTFILE_DIR" ] && mkdir -p "$HISTFILE_DIR" [ ! -d "$COMPDIR" ] && mkdir -p "$COMPDIR" hash transmission-daemon 2>/dev/null && transmission-daemon hash kitty 2>/dev/null && export TERMINAL="kitty"