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.
path with-parent
1 parent 977ffa6 commit a9b8291Copy full SHA for a9b8291
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