mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
{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:
parent
6920491e44
commit
8acc9b391b
@ -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
|
||||
|
4
rc/zshrc
4
rc/zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user