mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-28 06:57:01 +08:00
Compare commits
2 Commits
3f8c071c65
...
64808ce742
Author | SHA1 | Date | |
---|---|---|---|
|
64808ce742 | ||
|
b631d32b22 |
4
.zshrc2
4
.zshrc2
|
@ -105,8 +105,8 @@ alias "sl"='sudo zsh -l'
|
||||||
alias "cps"='rsync -avh --info=progress2'
|
alias "cps"='rsync -avh --info=progress2'
|
||||||
alias "mvs"='rsync -avh --info=progress2 --remove-source-files'
|
alias "mvs"='rsync -avh --info=progress2 --remove-source-files'
|
||||||
alias "pbd"='ping baidu.com'
|
alias "pbd"='ping baidu.com'
|
||||||
alias "p114"='ping 114.114.114.114'
|
alias "p114"='ping -n 114.114.114.114'
|
||||||
alias "p666"='ping6 2001:da8::666'
|
alias "p666"='ping6 -n 2001:da8::666'
|
||||||
alias "cbd"='curl http://www.baidu.com'
|
alias "cbd"='curl http://www.baidu.com'
|
||||||
alias "cbds"='curl https://www.baidu.com'
|
alias "cbds"='curl https://www.baidu.com'
|
||||||
alias "gdebug"='git add -A; git commit --allow-empty -m "bug fix ($(date))"'
|
alias "gdebug"='git add -A; git commit --allow-empty -m "bug fix ($(date))"'
|
||||||
|
|
|
@ -14,11 +14,11 @@ apt_install()
|
||||||
{
|
{
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
# lite
|
# lite
|
||||||
apt-get install -y git zsh bash tmux vim curl inetutils-ping less bsdmainutils
|
DEBIAN_FRONTEND=noninteractive apt-get install -y git zsh bash tmux vim curl iputils-ping less bsdmainutils
|
||||||
# full
|
# full
|
||||||
if [[ -z "$DFS_LITE" || "$DFS_LITE" == "0" ]]; then
|
if [[ -z "$DFS_LITE" || "$DFS_LITE" == "0" ]]; then
|
||||||
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
|
DEBIAN_FRONTEND=noninteractive 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 DEBIAN_FRONTEND=noninteractive apt-get install -y $i; done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user