Compare commits
2 Commits
b108ff5996
...
2b78defcad
| Author | SHA1 | Date | |
|---|---|---|---|
| 2b78defcad | |||
| 6d0ae1af22 |
@ -11,7 +11,6 @@ root 用户请使用 [init_root.sh](./init_root.sh)
|
|||||||
- [.nanorc](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.nanorc)
|
- [.nanorc](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.nanorc)
|
||||||
- [.tmux.conf](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.tmux.conf)
|
- [.tmux.conf](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.tmux.conf)
|
||||||
- [.vimrc](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.vimrc)
|
- [.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)
|
- [authorized_keys](https://gitlab.com/NanoApe/lazy/-/raw/main/files/authorized_keys)
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
alias -s txt='nano'
|
alias -s txt='vi'
|
||||||
alias -s xz='tar -xvf'
|
alias -s xz='tar -xvf'
|
||||||
alias -s gz='tar -xzvf'
|
alias -s gz='tar -xzvf'
|
||||||
alias -s tgz='tar -xzvf'
|
alias -s tgz='tar -xzvf'
|
||||||
@ -15,7 +15,7 @@ command_exists() { command -v "$@" >/dev/null 2>&1; }
|
|||||||
if command_exists iptables; then
|
if command_exists iptables; then
|
||||||
alias ipl='sudo iptables -L -n'
|
alias ipl='sudo iptables -L -n'
|
||||||
if [ -f "/etc/network/if-pre-up.d/iptables-load" ]; then
|
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'
|
alias ips='sudo /etc/network/if-pre-up.d/iptables-load'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user