add fchmod and dchmod aliases

This commit is contained in:
Sebastian Bugge 2023-05-07 18:33:05 +02:00
parent 35588686fe
commit 81ceddd299
No known key found for this signature in database
GPG key ID: 49D435DEDD6B2829

View file

@ -61,6 +61,13 @@ itks() {
alias clip="xclip -selection clip"
dchmod () {
find $2 -type d -exec chmod $1 {} +
}
fchmod () {
find $2 -type f -exec chmod $1 {} +
}
if [ -f ~/.local_aliases ]; then
source ~/.local_aliases