mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2026-11-23 03:36:03 +01:00
gwaa
This commit is contained in:
parent
2facc9ea45
commit
20ea4470dd
1 changed files with 12 additions and 9 deletions
|
|
@ -62,8 +62,8 @@ def nev [ unit = day ] {
|
|||
# TODO: intermediate stations
|
||||
def bx [from: string to: string] {
|
||||
let map = open ~/Docs/ril100map.json;
|
||||
let start = $map | get ($from | str upcase) | first;
|
||||
let dest = $map | get ($to | str upcase) | first;
|
||||
let start = $map | get ($from | str uppercase) | first;
|
||||
let dest = $map | get ($to | str uppercase) | first;
|
||||
|
||||
let url = $"https://bahn.expert/routing/($start)/($dest)/0/";
|
||||
print $url;
|
||||
|
|
|
|||
Loading…
Reference in a new issue