diff --git a/tools/common.sh b/tools/common.sh index 99d73bc..5f3b80c 100755 --- a/tools/common.sh +++ b/tools/common.sh @@ -5,6 +5,7 @@ export DOTFILES=$( cd "$THIS_DIR_COMMON_SH/.." && pwd ) if [[ -f ~/.config/dotfiles/env ]]; then set -a; source ~/.config/dotfiles/env; set +a; fi # parse args and set env, when it is sourced +# todo: make this skipable if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then ORIGIN_ARGS=("$@") ARG="" diff --git a/tools/ubuntu.sh b/tools/ubuntu.sh index 224ebfb..4fcd6f0 100755 --- a/tools/ubuntu.sh +++ b/tools/ubuntu.sh @@ -17,7 +17,7 @@ apt_install() apt-get install -y git zsh bash tmux vim curl inetutils-ping less bsdmainutils # full if [[ -z "$DFS_LITE" || "$DFS_LITE" == "0" ]]; then - apt-get install wget dialog net-tools dnsutils netcat traceroute sudo python3 python3-pip cron openssh-client openssh-server htop gcc g++ cmake make zip + apt-get install -y wget dialog net-tools dnsutils netcat traceroute sudo python3 python3-pip cron openssh-client openssh-server htop gcc g++ cmake make zip for i in {fzf,ripgrep,man-db}; do apt-get install -y $i; done fi }