add root configuration

This commit is contained in:
2020-04-29 14:08:57 +02:00
parent aa6bf82476
commit 3dcfa93301
4 changed files with 35 additions and 0 deletions

19
root.zsh Normal file
View File

@@ -0,0 +1,19 @@
# bip at command end, resize font
function precmd() {
echo -n -e "\a"
}
# do not share history between terms...
unsetopt share_history
# Everyday aliases
j() {if [ $# -eq 0 ]; then marks; else jump $@; fi}
# Some exports
export EDITOR=emacs
export LESS=-cex2MRX
export LESSOPEN='|~/.lessfilter %s'
export LOGCHECK=60
export READNULLCMD=${PAGER:-/usr/bin/pager}
export WATCH=all
export WATCHFMT="%n has %a %l from %M"