mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
{bash,zsh}rc: very lazy acl aware ls
This commit is contained in:
parent
7bfc1d75ad
commit
7819cfac8c
@ -922,6 +922,14 @@ adduser-to-group() {
|
|||||||
usermod -aG "$2" "$1"
|
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.
|
# Source files for miscannellious modifications.
|
||||||
|
|
||||||
# acme.sh
|
# acme.sh
|
||||||
|
8
rc/zshrc
8
rc/zshrc
@ -908,6 +908,14 @@ adduser-to-group() {
|
|||||||
usermod -aG "$2" "$1"
|
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.
|
# Source files for miscannellious modifications.
|
||||||
|
|
||||||
# acme.sh
|
# acme.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user