traewelling,fish: fix some formatting
This commit is contained in:
parent
1a771f5af1
commit
ef8f869c70
2 changed files with 1 additions and 1 deletions
1
home.nix
1
home.nix
|
@ -104,7 +104,6 @@ in
|
|||
# check träwelling
|
||||
traewelling
|
||||
set_color normal
|
||||
echo
|
||||
end
|
||||
function edit-todo
|
||||
hx ~/sync/todo.txt
|
||||
|
|
|
@ -31,6 +31,7 @@ pkgs.writeShellScriptBin "traewelling" ''
|
|||
date -d "@$(( $(date -d "$(j .train.destination.arrival)" +%s) - $(date +%s) - 60 * 60))" +%H:%M
|
||||
) at $(j .train.destination.rilIdentifier) $(j .train.destination.arrivalPlatformReal)"
|
||||
echo "bahn.expert: https://bahn.expert/details/$(j .train.lineName | sed -E 's/(.*?) .*/\1/g')%20$(j .train.journeyNumber)"
|
||||
echo
|
||||
fi
|
||||
''
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue