mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 14:47:47 +00:00
Replace use of $nothing
with null
(#621)
`$nothing` will be deprecated in nu 0.86 This accompanies - https://github.com/nushell/nushell/pull/10478
This commit is contained in:
parent
9ceac61989
commit
6947014306
19 changed files with 40 additions and 40 deletions
|
@ -260,7 +260,7 @@ export def get_right_prompt [os use_nerd_fonts] {
|
|||
}
|
||||
|
||||
export def get_prompt [nerd?] {
|
||||
let use_nerd_fonts = ($nerd != $nothing)
|
||||
let use_nerd_fonts = ($nerd != null)
|
||||
let os = ((sys).host.name)
|
||||
let left_prompt = (get_left_prompt $os $use_nerd_fonts)
|
||||
let right_prompt = (get_right_prompt $os $use_nerd_fonts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue