mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-28 18:14:13 -05:00
fix(home/cli/nushell): fix deprecated flag
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user