fix minor bug

This commit is contained in:
Konano 2023-11-30 14:24:18 +08:00
parent 194064c601
commit 7a9cbedeca

View File

@ -10,6 +10,8 @@ alias cl='clear'
alias ag='alias | grep'
alias hg='history | grep'
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
@ -18,8 +20,6 @@ if command_exists iptables; then
fi
fi
command_exists() { command -v "$@" >/dev/null 2>&1; }
command_exists trash-put && alias rm='trash-put'
command_exists batcat && alias cat='batcat'
command_exists fdfind && alias fd='fdfind'