non important commit
This commit is contained in:
parent
b739f3d0b5
commit
859b6a8751
1 changed files with 2 additions and 2 deletions
|
|
@ -43,10 +43,10 @@
|
||||||
|
|
||||||
def edit [user_file?: path] {
|
def edit [user_file?: path] {
|
||||||
let file = if ($user_file | is-empty) {
|
let file = if ($user_file | is-empty) {
|
||||||
"."
|
pwd
|
||||||
} else {
|
} else {
|
||||||
$user_file
|
$user_file
|
||||||
}
|
} | path parse | path expand
|
||||||
|
|
||||||
let git_result = do { git rev-parse --show-toplevel } | complete
|
let git_result = do { git rev-parse --show-toplevel } | complete
|
||||||
if $git_result.exit_code == 0 {
|
if $git_result.exit_code == 0 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue