{bash,zsh}rc: very lazy acl aware ls

This commit is contained in:
Aminda Suomalainen 2024-08-04 14:23:25 +03:00
parent 7bfc1d75ad
commit 7819cfac8c
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 16 additions and 0 deletions

View File

@ -922,6 +922,14 @@ adduser-to-group() {
usermod -aG "$2" "$1"
}
# Very lazy ACL aware ls
unalias ls
ls() {
env ls --all --color=auto --human-readable "$@"
getfacl --absolute-names --skip-base "$@"
}
alias ll="ls -la"
# Source files for miscannellious modifications.
# acme.sh

View File

@ -908,6 +908,14 @@ adduser-to-group() {
usermod -aG "$2" "$1"
}
# Very lazy ACL aware ls
unalias ls
ls() {
env ls --all --color=auto --human-readable "$@"
getfacl --absolute-names --skip-base "$@"
}
alias ll="ls -la"
# Source files for miscannellious modifications.
# acme.sh