File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ public static class CommandLoader
1616 public static void RefreshCommands ( )
1717 {
1818 var paths = Environment . GetEnvironmentVariable ( "PATH" ) ? . Split ( ':' ) ?? Array . Empty < string > ( ) ;
19-
2019 var newCommands = new HashSet < string > ( ) ;
2120
2221 foreach ( var path in paths )
@@ -46,9 +45,7 @@ public static void RefreshCommands()
4645 AnsiConsole . MarkupLine ( $ "[[[red]-[/]]] - Error accessing directory { path } : [bold yellow]{ ex . Message } [/]") ;
4746 }
4847 }
49-
5048 HashSet < string > availableCommands = newCommands ;
5149 AnsiConsole . MarkupLine ( $ "[[[green]+[/]]] - Refreshed command list. Found { availableCommands . Count } new commands.") ;
5250 }
53-
5451}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ public class ShellConfig
77{
88 public int HistoryExpirationTime { get ; set ; }
99 public int HistoryMaxStorage { get ; set ; }
10- public string SelectedTheme { get ; set ; }
10+ public required string SelectedTheme { get ; set ; }
1111
1212 public static ShellConfig ? LoadConfig ( )
1313 {
Original file line number Diff line number Diff line change @@ -51,7 +51,5 @@ public void LoadPlugins()
5151 Directory . CreateDirectory ( PluginFolderPath ) ;
5252 }
5353 }
54-
5554 }
56-
5755}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ if [ -f "$BIN_PATH" ]; then
1818 echo " [*] - Removing $BIN_PATH & related folders/files..."
1919 sudo rm -rf " $BIN_PATH " " $N_SHELL_DIR "
2020else
21- echo " [-] - No executable found at $BIN_PATH "
21+ echo " [-] - No executable found at $BIN_PATH " discord
2222fi
2323
2424if grep -Fxq " $BIN_PATH " /etc/shells; then
You can’t perform that action at this time.
0 commit comments