make cd respect environment variables
This commit is contained in:
@@ -44,6 +44,11 @@ void exit_shell(StringArray *args);
|
||||
*/
|
||||
void change_directory(StringArray *args);
|
||||
|
||||
/**
|
||||
* Print the current working directory.
|
||||
*/
|
||||
void print_current_directory();
|
||||
|
||||
/**
|
||||
* Print all of the environment variables.
|
||||
* @param args The arguments the user input.
|
||||
|
||||
Reference in New Issue
Block a user