Compare commits
2 commits
2cdd2427a2
...
b7e89027d8
Author | SHA1 | Date | |
---|---|---|---|
|
b7e89027d8 | ||
|
8f9e62dc20 |
1 changed files with 2 additions and 3 deletions
|
@ -21,12 +21,11 @@ if [ -t 1 ]; then
|
||||||
else
|
else
|
||||||
cat='cat'
|
cat='cat'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PATH="./${bin}:${PATH}"
|
PATH="./${bin}:${PATH}"
|
||||||
EDITOR="${EDITOR:-nvim}"
|
EDITOR="${EDITOR:-nvim}"
|
||||||
|
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
shopt -s expand_aliases
|
shopt -s expand_aliases
|
||||||
|
umask 027
|
||||||
|
|
||||||
perror() {
|
perror() {
|
||||||
>&2 printf '\033[1;31mERROR:\033[0m \033[1m%s\033[0m\n' "$*"
|
>&2 printf '\033[1;31mERROR:\033[0m \033[1m%s\033[0m\n' "$*"
|
||||||
|
@ -97,7 +96,7 @@ public_diskls() {
|
||||||
public_edit() {
|
public_edit() {
|
||||||
local file="${bin}/${1}"
|
local file="${bin}/${1}"
|
||||||
"$EDITOR" "$file"
|
"$EDITOR" "$file"
|
||||||
exec chmod 740 "$file"
|
exec chmod u+x "$file"
|
||||||
}
|
}
|
||||||
|
|
||||||
public_rm() {
|
public_rm() {
|
||||||
|
|
Loading…
Reference in a new issue