Compare commits

..

2 Commits

Author SHA1 Message Date
2b78defcad
remove discarded .zshrc 2024-09-11 10:40:22 +08:00
6d0ae1af22
use vi, instread of nano 2024-09-11 10:40:00 +08:00
2 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,6 @@ 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='nano'
alias -s txt='vi'
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 nano /etc/network/if-pre-up.d/iptables-load'
alias ipe='sudo vi /etc/network/if-pre-up.d/iptables-load'
alias ips='sudo /etc/network/if-pre-up.d/iptables-load'
fi
fi