mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Dot-env is a cross-platform, cascading Zsh environment system for those who work on different hardware and OS environments. See: https://github.com/midwire/.env
27 lines
684 B
Bash
27 lines
684 B
Bash
# Some of this is taken from matt.blissett.me.uk
|
|
# Thanks Matt!
|
|
|
|
# Command History
|
|
export HISTIGNORE="&:ls:[bf]g:exit:reset:clear:cd:cd ..:cd.."
|
|
export HISTSIZE=25000
|
|
setopt INC_APPEND_HISTORY
|
|
setopt HIST_IGNORE_ALL_DUPS
|
|
setopt HIST_IGNORE_SPACE
|
|
setopt HIST_REDUCE_BLANKS
|
|
setopt HIST_VERIFY
|
|
|
|
# Say how long a command took, if it took more than 30 seconds
|
|
export REPORTTIME=30
|
|
|
|
# Prompts for confirmation after 'rm *' etc
|
|
# Helps avoid mistakes like 'rm * o' when 'rm *.o' was intended
|
|
setopt RM_STAR_WAIT
|
|
|
|
# Background processes aren't killed on exit of shell
|
|
setopt AUTO_CONTINUE
|
|
|
|
# Watch other user login/out
|
|
watch=notme
|
|
export LOGCHECK=60
|
|
|
|
export LSCOLORS="gxfxcxdxbxegedabagacad"
|