Skip to content

Commit

Permalink
Remove old prompt tempfile and pid variable
Browse files Browse the repository at this point in the history
This is a leftover of sorin-ionescu#1385, the temp file and the PID variable is not
needed any more.
  • Loading branch information
RIT80 authored and RIT80 committed Jan 8, 2019
1 parent 778764a commit c92ec36
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/prompt/functions/prompt_sorin_setup
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ function prompt_sorin_setup {
setopt LOCAL_OPTIONS
unsetopt XTRACE KSH_ARRAYS
prompt_opts=(cr percent sp subst)
_prompt_sorin_precmd_async_pid=0
_prompt_sorin_precmd_async_data=$(mktemp "${TMPDIR:-/tmp}/sorin-prompt-async-XXXXXXXXXX")

# Load required functions.
autoload -Uz add-zsh-hook
Expand Down

0 comments on commit c92ec36

Please sign in to comment.