diff --git a/install/install.sh b/install/install.sh index 060a375..e45bbb3 100644 --- a/install/install.sh +++ b/install/install.sh @@ -8,9 +8,9 @@ uci_bash_shell_install () { echo "Detected The UCI BASH Shell install directory: BASH_INSTALL_DIR=$install_dir" echo "Detected The UCI BASH Shell base directory: BASH_SHELL_BASE=$BASH_SHELL_BASE" [[ $EUID -ne 0 ]] && usesudo=sudo - $usesudo $SHELL $install_dir/scripts/copy-etc.sh - $usesudo $SHELL $install_dir/scripts/copy-root.sh - [[ $1 ]] && [[ $(id -u $1 2> /dev/null) ]] && $usesudo $SHELL $install_dir/scripts/copy-user.sh "$@" + $usesudo -m $SHELL $install_dir/scripts/copy-etc.sh + $usesudo -m $SHELL $install_dir/scripts/copy-root.sh + [[ $1 ]] && [[ $(id -u $1 2> /dev/null) ]] && $usesudo -m $SHELL $install_dir/scripts/copy-user.sh "$@" } # # if script was executed then call the function diff --git a/load/alias/02-git b/load/alias/02-git new file mode 100644 index 0000000..4b8d442 --- /dev/null +++ b/load/alias/02-git @@ -0,0 +1 @@ +alias gitdis="git clean -df" \ No newline at end of file diff --git a/modules/utility/sync.lib b/modules/utility/sync.lib index 4769b11..8d33739 100644 --- a/modules/utility/sync.lib +++ b/modules/utility/sync.lib @@ -73,10 +73,11 @@ touch $rfse [[ $delete ]] && rm $rfse cat < $rfse .[Tt]rash* -tmp/ -cache/ -log/ -log[s]/ +tmp/* +node_modules +[Cc]ache/* +logs/* +log/* lost+found EOF if [[ $list ]];then