non important commit
This commit is contained in:
parent
8357ab281a
commit
dd4787d5b2
1 changed files with 3 additions and 0 deletions
|
|
@ -52,12 +52,15 @@
|
||||||
if $git_result.exit_code == 0 {
|
if $git_result.exit_code == 0 {
|
||||||
let root = $git_result.stdout | str trim
|
let root = $git_result.stdout | str trim
|
||||||
let flake_path = $root | path join "flake.nix"
|
let flake_path = $root | path join "flake.nix"
|
||||||
|
|
||||||
if not ($flake_path | path exists) {
|
if not ($flake_path | path exists) {
|
||||||
nvim $file
|
nvim $file
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
cd $root
|
cd $root
|
||||||
nix develop . --command nvim $file
|
nix develop . --command nvim $file
|
||||||
|
|
||||||
|
print "Please"
|
||||||
} else {
|
} else {
|
||||||
nvim $file
|
nvim $file
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue