1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 22:57:46 +00:00

Using def --env instead of def-env (#673)

This commit is contained in:
WindSoilder 2023-11-20 20:55:35 +08:00 committed by GitHub
parent 9d02fb1ef8
commit 06d3095ab1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 28 additions and 28 deletions

View file

@ -103,7 +103,7 @@ def marks [] {
}
# Goto your bookmark
export def-env goto [
export def --env goto [
pth: path@marks # Path to "go to"
] {
let prev = $env.PWD
@ -112,7 +112,7 @@ export def-env goto [
}
# Experimental use of `input` instead of completion
export def-env goto_alternative [] {
export def --env goto_alternative [] {
let prev = $env.PWD
list | input list -f | cd $in.path
change_prev $prev