mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] Fix plugin timer positioning
This commit is contained in:
parent
1a479eb5e1
commit
c4e5eba65a
2 changed files with 8 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
_plugin() {
|
_plugin() {
|
||||||
_perf_timer_start "plugin $1"
|
[ -z "$DOTFILES_LOAD_SILENT" ] && _perf_timer_start "plugin $1"
|
||||||
plugin "$@"
|
plugin "$@"
|
||||||
_perf_timer_stop "plugin $1"
|
[ -z "$DOTFILES_LOAD_SILENT" ] && _perf_timer_stop "plugin $1"
|
||||||
}
|
}
|
||||||
|
|
||||||
_plugin gitio 'denysdovhan/gitio-zsh'
|
_plugin gitio 'denysdovhan/gitio-zsh'
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
DOTFILES_DISABLE_WELCOME=1
|
||||||
|
|
||||||
# Get this file's current directory and source Dima's zshrc from there
|
# Get this file's current directory and source Dima's zshrc from there
|
||||||
K_ZSH_DOTFILES="$( dirname "$( readlink -f "$0" )" )"
|
K_ZSH_DOTFILES="$( dirname "$( readlink -f "$0" )" )"
|
||||||
source $K_ZSH_DOTFILES/../dmitmel-dotfiles/zsh/zshrc
|
source $K_ZSH_DOTFILES/../dmitmel-dotfiles/zsh/zshrc
|
||||||
|
@ -13,3 +15,7 @@ if [[ -d "$K_ZSH_DOTFILES/custom" ]]; then
|
||||||
source "$script"
|
source "$script"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "$KDOTFILES_DISABLE_WELCOME" && -z "$POETRY_ACTIVE" ]]; then
|
||||||
|
welcome
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue