From 0a4b832b25b4c7f4525a3558dfe73501f4c3b8bd Mon Sep 17 00:00:00 2001 From: romkatv Date: Tue, 28 Jan 2020 13:08:02 +0100 Subject: [PATCH] add `tabbed` to the list of precommands --- internal/notes.txt | 1 - internal/parser.zsh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/notes.txt b/internal/notes.txt index b517ebb0..a37fbaa2 100644 --- a/internal/notes.txt +++ b/internal/notes.txt @@ -8,4 +8,3 @@ disabling implicit reset on every eval in _p9k_worker_receive. - implement fake gitstatus api on top of vcs_info (or plain git?) + worker and use it if there is no gitstatus. -- add `tabbed` to precommands; z-sy-h has added it like this: `'tabbed' gnprtTuU:cdfhs`. diff --git a/internal/parser.zsh b/internal/parser.zsh index abaf9e01..1f5d6eb3 100644 --- a/internal/parser.zsh +++ b/internal/parser.zsh @@ -53,6 +53,7 @@ typeset -grA __p9k_pb_precommand=( 'stdbuf' '-[^ioe]#[ioe]|--(input|output|error)' 'sudo' '-[^aghpuUCcrtT]#[aghpuUCcrtT]|--(close-from|group|host|prompt|role|type|other-user|command-timeout|user)' 'ssh-agent' '-[^aEPt]#[aEPt]' + 'tabbed' '-[^gnprtTuU]#[gnprtTuU]' ) typeset -grA __p9k_pb_redirect=(