mirror of
https://github.com/d3vyce/PenTools.git
synced 2025-04-03 13:53:22 +02:00
Add bash_alais in .zshrc (for kali)
This commit is contained in:
parent
d56ba2432b
commit
4d7d537625
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user