From eeb78753dc85e2d52bacde59cdbe8338e5fb2489 Mon Sep 17 00:00:00 2001 From: Mitchell Simon Date: Sun, 1 Sep 2019 23:31:36 -0400 Subject: [PATCH] Remove flutter version due to speed --- .config/fish/functions/fish_prompt.fish | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish index cf8d67e..e5c462d 100644 --- a/.config/fish/functions/fish_prompt.fish +++ b/.config/fish/functions/fish_prompt.fish @@ -9,7 +9,6 @@ function fish_prompt --description 'Write out the prompt' set -l node_version set -l ex_version set -l dart_version - set -l flutter_version set -l jobs_num set -l exit_code @@ -134,11 +133,6 @@ function fish_prompt --description 'Write out the prompt' if test -e ./pubspec.yaml set -l version_str (string match -r '\d+\.\d+\.?\d*' (dart --version 2>| cat)) set dart_version ' with ' (set_color brblue) 'dart' $version_str (set_color normal) - - if cat pubspec.yaml | grep flutter > /dev/null - set -l version_str (string sub -s 9 (string match -r 'Flutter \d+\.\d+\.?\d*' (flutter --version))) - set flutter_version ' on ' (set_color blue) 'flutter' $version_str (set_color normal) - end end # Combine all prompt variables