This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function prompt_my_msa() { | |
p10k segment -e -t '$my_msa_content' -b black -f white | |
(( $+my_msa_content )) && return | |
typeset -g my_msa_content | |
local -r msa=~/minimal_spectrum_analyzer/build/analyzer | |
[[ -x $msa ]] || return | |
local fd | |
exec {fd}< <("$msa" --line_feed LF -a off -c 16 0<&- 2>&- &!) || return |
OlderNewer