fix minor bug
This commit is contained in:
parent
194064c601
commit
7a9cbedeca
@ -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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user