Compare commits

...

2 commits

Author SHA1 Message Date
Hippolyte Chauvin
b7e89027d8 qemush : ajout d'un umask 2023-12-01 16:24:52 +01:00
Hippolyte Chauvin
8f9e62dc20 qemush : suppression d'espaces inutiles 2023-12-01 16:24:36 +01:00

View file

@ -21,12 +21,11 @@ if [ -t 1 ]; then
else
cat='cat'
fi
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' "$*"
@ -97,7 +96,7 @@ public_diskls() {
public_edit() {
local file="${bin}/${1}"
"$EDITOR" "$file"
exec chmod 740 "$file"
exec chmod u+x "$file"
}
public_rm() {