fix(home/cli/nushell): fix deprecated flag

This commit is contained in:
Gabriel Fontes
2025-12-30 17:05:40 -03:00
parent 603dafb93f
commit 2ec0c19c59
+1 -1
View File
@@ -3,7 +3,7 @@
enable = true;
extraConfig = /* nu */ ''
def create_left_prompt [] {
let dir = match (do --ignore-shell-errors { $env.PWD | path relative-to $nu.home-path }) {
let dir = match (do --ignore-errors { $env.PWD | path relative-to $nu.home-path }) {
null => $env.PWD
''' => '~'
$relative_pwd => ([~ $relative_pwd] | path join)