Merge pull request #255 from dmitmel/master
This commit is contained in:
commit
d2cbad6967
|
@ -1,3 +1,4 @@
|
||||||
*.pyc
|
*.pyc
|
||||||
node_modules/
|
node_modules/
|
||||||
.venv
|
.venv
|
||||||
|
*.md.html
|
||||||
|
|
|
@ -58,3 +58,6 @@ setopt hist_verify
|
||||||
setopt inc_append_history
|
setopt inc_append_history
|
||||||
# synchronize history between active sessions
|
# synchronize history between active sessions
|
||||||
setopt share_history
|
setopt share_history
|
||||||
|
|
||||||
|
# Among other things, used for compatibility with OMZ plugins.
|
||||||
|
ZSH_CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/dotfiles"
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
ZSH_CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/dotfiles"
|
mkdir -pv "$ZSH_CACHE_DIR"
|
||||||
if [[ ! -d "$ZSH_CACHE_DIR" ]]; then
|
|
||||||
mkdir -pv "$ZSH_CACHE_DIR"
|
|
||||||
fi
|
|
||||||
|
|
||||||
source "$ZSH_DOTFILES/zplg.zsh"
|
|
||||||
|
|
||||||
_plugin() {
|
_plugin() {
|
||||||
_perf_timer_start "plugin $1"
|
_perf_timer_start "plugin $1"
|
||||||
|
|
|
@ -46,7 +46,7 @@ _perf_timer_start "total"
|
||||||
fi
|
fi
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
for script in functions options path env plugins aliases completion zle prompt colorscheme; do
|
for script in functions options path env zplg plugins aliases completion zle prompt colorscheme; do
|
||||||
_perf_timer_start "$script.zsh"
|
_perf_timer_start "$script.zsh"
|
||||||
source "$ZSH_DOTFILES/$script.zsh"
|
source "$ZSH_DOTFILES/$script.zsh"
|
||||||
_perf_timer_stop "$script.zsh"
|
_perf_timer_stop "$script.zsh"
|
||||||
|
@ -60,8 +60,6 @@ if [[ -d "$ZSH_DOTFILES/custom" ]]; then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
command_exists rbenv && eval "$(rbenv init -)"
|
|
||||||
|
|
||||||
_perf_timer_stop "total"
|
_perf_timer_stop "total"
|
||||||
|
|
||||||
welcome
|
welcome
|
||||||
|
|
Loading…
Reference in New Issue