From 38ccd3362d267af599071c683193c373b29d6334 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sat, 11 Jul 2020 18:14:49 +0200 Subject: [PATCH] Better uptime format, added variable for Dart development --- org/config/fish.org | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/org/config/fish.org b/org/config/fish.org index 5c6a31f..ab4d36a 100644 --- a/org/config/fish.org +++ b/org/config/fish.org @@ -132,7 +132,7 @@ set -l ruler (string repeat -n $ruler_length "=") set -l osname (cat /etc/os-release | grep -i pretty_name | sed 's/.*"\(.*\)".*/\1/') - set -l uptime (uptime | sed 's/\(.*\):\(.*\):\(.*\) up.*/\1 hours \2 minutes/' | sed 's/ *\(.*\)/\1/') + set -l uptime (uptime | sed 's/up \(.*\)/\1/') set -l root (df -Ph | grep -E "/\$") set -l root_p (echo $root | awk '{print $5}' | tr -d '%') @@ -213,6 +213,11 @@ set -gx ANDROID_HOME $HOME/Android/Sdk #+END_SRC + Still related to Dart and Flutter development, + #+BEGIN_SRC fish + set -gx CHROME_EXECUTABLE /usr/bin/chromium + #+END_SRC + Next, we have two variables from Deno, the Node.js destroyer. Its base directory will be set in my XDG config directory, and its binaries will be located in my local binaries directory (see below).