mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Added dot-env plugin
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
This commit is contained in:
parent
f4944d5a95
commit
ae2db75f3e
20 changed files with 629 additions and 0 deletions
27
plugins/dot-env/global/global_env.sh
Normal file
27
plugins/dot-env/global/global_env.sh
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue