ladybird/Userland/Shell
Gunnar Beutner 1e5a7ca0a7 Shell: Fix how cd handles the path argument
Previously this didn't work:

  $ cd -- /usr
  Invalid path '--'

This path fixes this issue and removes the unnecessary else
branch because we're already using realpath() later on to resolve
relative paths.
2021-04-23 11:33:57 +02:00
..
Tests Shell/Tests: Replace 'type f -f' with 'type -f f' 2021-04-19 10:07:58 +02:00
AST.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AST.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Builtin.cpp Shell: Fix how cd handles the path argument 2021-04-23 11:33:57 +02:00
CMakeLists.txt Shell: Add support for 'immediate' expressions as variable substitutions 2021-03-07 10:59:51 +01:00
Execution.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Formatter.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Formatter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ImmediateFunctions.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Job.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Job.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
main.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NodeVisitor.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NodeVisitor.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Shell.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Shell.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SyntaxHighlighter.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SyntaxHighlighter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00