mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2026-11-23 02:26:00 +01:00
gwaa
This commit is contained in:
parent
2facc9ea45
commit
20ea4470dd
2 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;
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ source /home/jade/.config/nushell/shell-startup.nu;
|
|||
$env.STARSHIP_SHELL = "nu";
|
||||
$env.CMD_COUNT = 0;
|
||||
$env.EDITOR = "hx";
|
||||
$env.VIEWER = "zathura";
|
||||
$env.S10E_JRNL_FILE_LOC = "~/Docs/jrnl.md";
|
||||
|
||||
def create_right_prompt [] {
|
||||
|
|
|
|||
Loading…
Reference in a new issue