1
0
Fork 0
forked from ahurac/dotfiles

qemush : ajout d'un umask

This commit is contained in:
Hippolyte Chauvin 2023-12-01 16:24:52 +01:00
parent 8f9e62dc20
commit b7e89027d8

View file

@ -25,6 +25,7 @@ PATH="./${bin}:${PATH}"
EDITOR="${EDITOR:-nvim}"
alias ls='ls --color=auto'
shopt -s expand_aliases
umask 027
perror() {
>&2 printf '\033[1;31mERROR:\033[0m \033[1m%s\033[0m\n' "$*"
@ -95,7 +96,7 @@ public_diskls() {
public_edit() {
local file="${bin}/${1}"
"$EDITOR" "$file"
exec chmod 740 "$file"
exec chmod u+x "$file"
}
public_rm() {