diff options
author | makefu <github@syntax-fehler.de> | 2018-11-10 22:05:40 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-11-10 22:05:40 +0100 |
commit | e3efeb6dd5da00964ac6157df5920dc034482ef7 (patch) | |
tree | 1dff7e22bf632b4508a75a3d096f22b93aaf8c74 /tv/5pkgs/simple/q/default.nix | |
parent | 0c235a88a8391a6c3b67573f85fc03931e5402a2 (diff) | |
parent | 30a6c5219a120b7323e46c621a21da7ab8fc1d29 (diff) |
Merge remote-tracking branch 'lassul.us/master'
Diffstat (limited to 'tv/5pkgs/simple/q/default.nix')
-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}) & |