Add bash_alais in .zshrc (for kali)

This commit is contained in:
d3vyce 2023-02-18 11:23:17 -05:00
parent d56ba2432b
commit 4d7d537625

View File

@ -171,6 +171,13 @@ aliascmd() {
sed -i '/# Alias created by PenTools/,/# https:\/\/github.com\/d3vyce\/pentools/d' ~/.bash_aliases
fi
if ! grep -q ".bash_aliases" ~/.zshrc >/dev/null 2>&1; then
echo '{
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi}' >> ~/.zshrc
fi
echo "
# Alias created by PenTools" >> ~/.bash_aliases