Better uptime format, added variable for Dart development
This commit is contained in:
parent
1c7173764d
commit
38ccd3362d
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user