diff options
author | lassulus <lass@blue.r> | 2018-11-10 20:19:20 +0100 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-11-10 20:19:20 +0100 |
commit | ee8196c20f5fad3ff640ca5484f6a24ff304c444 (patch) | |
tree | a4e82ab8fce2c30c1dbb6e13c541fa7882bab79f /tv/5pkgs/simple/q | |
parent | cd720e1a9ed12413504ddae2d381279ec30ce24a (diff) | |
parent | dfb9c237607b73f00cd52ca5c5b731f45d83f932 (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/5pkgs/simple/q')
-rw-r--r-- | tv/5pkgs/simple/q/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tv/5pkgs/simple/q/default.nix b/tv/5pkgs/simple/q/default.nix index 655c75e1b..cbcec1bae 100644 --- a/tv/5pkgs/simple/q/default.nix +++ b/tv/5pkgs/simple/q/default.nix @@ -71,6 +71,11 @@ let '+[1m%Y-%m-%d[;30mT[;38;5;088m%H:%M[m:%S%:z' ''; + q-utcdate = '' + ${pkgs.coreutils}/bin/date -u \ + '+[1m%Y-%m-%d[;30mT[;38;5;065m%H:%M[m:%S%:z' + ''; + q-gitdir = '' if test -d .git; then #git status --porcelain @@ -295,6 +300,7 @@ pkgs.writeBashBin "q" '' set -eu export PATH=/var/empty ${q-cal} + ${q-utcdate} ${q-isodate} ${q-sgtdate} (${q-gitdir}) & |