better handling of startup process

This commit is contained in:
Gal@Shefet 2023-05-09 00:31:22 -04:00
parent 520a20479e
commit df695525e9
8 changed files with 136 additions and 68 deletions

View file

@ -1,4 +1,9 @@
#! /usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
USER_HOME=$HOME
[[ -n "${SUDO_USER}" ]] && USER_HOME="$(eval "echo ~${SUDO_USER}")"
. ${SHRC_D:-$USER_HOME/.pqb.shrc.d}/01_util.functions
set -e
get_catalogs() {