We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd28d2 commit 61c43b0Copy full SHA for 61c43b0
Sources/Swiftly/Install.swift
@@ -109,8 +109,8 @@ struct Install: SwiftlyCommand {
109
try await Swiftly.currentPlatform.getShell()
110
}
111
112
- // Fish doesn't cache its path, so this instruction is not necessary.
113
- if pathChanged && !shell.hasSuffix("fish") {
+ // Fish or Nushell don't seem to cache their `PATH` env var, so this instruction is not necessary.
+ if pathChanged && !shell.hasSuffix("fish") && !shell.hasSuffix("/nu") {
114
SwiftlyCore.print("""
115
NOTE: We have updated some elements in your path and your shell may not yet be
116
aware of the changes. You can run this command to update your shell.
0 commit comments