Compare commits

..

No commits in common. "2b78defcad61654828c3de1598b2beedfd95eff5" and "b108ff599600951572292c89553703e235ccbff4" have entirely different histories.

2 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,7 @@ root 用户请使用 [init_root.sh](./init_root.sh)
- [.nanorc](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.nanorc)
- [.tmux.conf](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.tmux.conf)
- [.vimrc](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.vimrc)
- [.zshrc](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.zshrc)
- [authorized_keys](https://gitlab.com/NanoApe/lazy/-/raw/main/files/authorized_keys)
# TODO

View File

@ -1,4 +1,4 @@
alias -s txt='vi'
alias -s txt='nano'
alias -s xz='tar -xvf'
alias -s gz='tar -xzvf'
alias -s tgz='tar -xzvf'
@ -15,7 +15,7 @@ command_exists() { command -v "$@" >/dev/null 2>&1; }
if command_exists iptables; then
alias ipl='sudo iptables -L -n'
if [ -f "/etc/network/if-pre-up.d/iptables-load" ]; then
alias ipe='sudo vi /etc/network/if-pre-up.d/iptables-load'
alias ipe='sudo nano /etc/network/if-pre-up.d/iptables-load'
alias ips='sudo /etc/network/if-pre-up.d/iptables-load'
fi
fi