We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 977ffa6 commit 98df4c7Copy full SHA for 98df4c7
stdlib-candidate/std-rfc/path/mod.nu
@@ -63,9 +63,9 @@ export def with-stem [stem: string] { with-field stem $stem }
63
#
64
# - replace parent path with `/root/` for all filenames in list
65
# > ["/home/rose/meow", "/home/fdncred/"] | path with-parent "/root/"
66
-# ╭───┬────────────╮
67
-# │ 0 │ /root/meow │
68
-# │ 1 │ /root/spam │
69
-# ╰───┴────────────╯
+# ╭───┬───────────────╮
+# │ 0 │ /root/meow │
+# │ 1 │ /root/fdncred │
+# ╰───┴───────────────╯
70
# ```
71
export def with-parent [parent: string] { with-field parent $parent }
0 commit comments