{bash,zsh}rc: send unalias to /dev/null

Apparently while Fedora does magick the aliases up from somewhere, Kali will complain about no such hassh table element
This commit is contained in:
Aminda Suomalainen 2024-08-08 09:37:12 +03:00
parent 6920491e44
commit 8acc9b391b
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 4 additions and 4 deletions

View File

@ -927,7 +927,7 @@ adduser-to-group() {
}
# Lazyish ACL aware ls
unalias ls
unalias ls > /dev/null 2>&1
ls() {
env ls --all --color=auto --human-readable "$@"
if hash getfacl 2> /dev/null; then
@ -937,7 +937,7 @@ ls() {
fi
fi
}
unalias ll
unalias ll > /dev/null 2>&1
ll() {
env ls -l --all --color=auto --human-readable "$@"
if hash getfacl 2> /dev/null; then

View File

@ -913,7 +913,7 @@ adduser-to-group() {
}
# Lazyish ACL aware ls
unalias ls
unalias ls > /dev/null 2>&1
ls() {
env ls --all --color=auto --human-readable "$@"
if hash getfacl 2> /dev/null; then
@ -923,7 +923,7 @@ ls() {
fi
fi
}
unalias ll
unalias ll > /dev/null 2>&1
ll() {
env ls -l --all --color=auto --human-readable "$@"
if hash getfacl 2> /dev/null; then