mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 16:27:02 +08:00
--wip-- [skip ci]
This commit is contained in:
parent
f75b02df17
commit
86a3a1ca97
|
@ -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
|
if [[ -f ~/.config/dotfiles/env ]]; then set -a; source ~/.config/dotfiles/env; set +a; fi
|
||||||
|
|
||||||
# parse args and set env, when it is sourced
|
# parse args and set env, when it is sourced
|
||||||
|
# todo: make this skipable
|
||||||
if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then
|
if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then
|
||||||
ORIGIN_ARGS=("$@")
|
ORIGIN_ARGS=("$@")
|
||||||
ARG=""
|
ARG=""
|
||||||
|
|
|
@ -17,7 +17,7 @@ apt_install()
|
||||||
apt-get install -y git zsh bash tmux vim curl inetutils-ping less bsdmainutils
|
apt-get install -y git zsh bash tmux vim curl inetutils-ping less bsdmainutils
|
||||||
# full
|
# full
|
||||||
if [[ -z "$DFS_LITE" || "$DFS_LITE" == "0" ]]; then
|
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
|
for i in {fzf,ripgrep,man-db}; do apt-get install -y $i; done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user