mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 20:57:02 +08:00
Compare commits
No commits in common. "64808ce742c3a9f55e08e9467bdb99fdede2f5ce" and "3f8c071c65563be20f4eeaec3d4bfc892d1c8495" have entirely different histories.
64808ce742
...
3f8c071c65
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 -n 114.114.114.114'
|
alias "p114"='ping 114.114.114.114'
|
||||||
alias "p666"='ping6 -n 2001:da8::666'
|
alias "p666"='ping6 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
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y git zsh bash tmux vim curl iputils-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
|
||||||
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
|
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 DEBIAN_FRONTEND=noninteractive 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