mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-10 04:26:17 +02:00
zprof removed from n-preview
This commit is contained in:
parent
f5813c348f
commit
94651ea45e
1 changed files with 1 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
# The preamble comments apply when using ZNT as autoload functions
|
# The preamble comments apply when using ZNT as autoload functions
|
||||||
# https://github.com/psprint/zsh-navigation-tools
|
# https://github.com/psprint/zsh-navigation-tools
|
||||||
# License is GPLv3
|
# License is GPLv3
|
||||||
# ff7aa5840399c624ab753b58e2f3b18ef8ffebd3 refs/heads/master
|
# d24c34e1fac51a25d8fa6ca9622d982dc584b6d9 refs/heads/master
|
||||||
|
|
||||||
n-aliases() {
|
n-aliases() {
|
||||||
# Copy this file into /usr/share/zsh/site-functions/
|
# Copy this file into /usr/share/zsh/site-functions/
|
||||||
|
|
@ -1032,7 +1032,6 @@ n-preview() {
|
||||||
emulate -L zsh
|
emulate -L zsh
|
||||||
|
|
||||||
zmodload zsh/curses
|
zmodload zsh/curses
|
||||||
zmodload zsh/zprof
|
|
||||||
|
|
||||||
setopt localoptions typesetsilent localtraps extendedglob
|
setopt localoptions typesetsilent localtraps extendedglob
|
||||||
trap "return" TERM INT QUIT
|
trap "return" TERM INT QUIT
|
||||||
|
|
@ -1053,8 +1052,6 @@ _vpreview_exit() {
|
||||||
zcurses 2>/dev/null delwin status
|
zcurses 2>/dev/null delwin status
|
||||||
zcurses 2>/dev/null refresh
|
zcurses 2>/dev/null refresh
|
||||||
zcurses end
|
zcurses end
|
||||||
|
|
||||||
zprof
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Outputs a message in the bottom of the screen
|
# Outputs a message in the bottom of the screen
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue