traewelling: always enable color
This commit is contained in:
parent
611bb49a50
commit
b1ea84e3ad
1 changed files with 1 additions and 3 deletions
|
@ -4,9 +4,7 @@ pkgs.writeShellScriptBin "traewelling" ''
|
|||
#!/bin/sh
|
||||
|
||||
function color() {
|
||||
if test -t 1 ; then
|
||||
echo -ne "\e[38;5;$1"m
|
||||
fi
|
||||
echo -ne "\e[38;5;$1"m
|
||||
}
|
||||
function j() {
|
||||
jq -r $1 <<< "$json"
|
||||
|
|
Loading…
Add table
Reference in a new issue