mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 03:52:12 +03:00
Use read instead of command substitution
This commit is contained in:
parent
4169dbf1cb
commit
ccabacb629
@ -9,8 +9,8 @@ source (functions --details _tide_pwd)
|
||||
set -l prompt_var _tide_prompt_$fish_pid
|
||||
set -U $prompt_var # Set var here so if we erase $prompt_var, bg job won't set a uvar
|
||||
|
||||
set -l color_normal (set_color normal)
|
||||
set -l fish_path (status fish-path)
|
||||
set_color normal | read -l color_normal
|
||||
status fish-path | read -l fish_path
|
||||
|
||||
# _tide_repaint prevents us from creating a second background job
|
||||
function _tide_refresh_prompt --on-variable $prompt_var --on-variable COLUMNS
|
||||
|
Loading…
Reference in New Issue
Block a user