summaryrefslogtreecommitdiff
path: root/Source/Kernel/Shell
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-13 17:43:53 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-13 17:43:53 +0200
commit2d5426a233d9bd37186697e508113e07fc05141f (patch)
treea8032f58d299b666492253d1f62c4241a4e79873 /Source/Kernel/Shell
parent277d5fcb3b378089c0f3390a0b4d1b529075958a (diff)
downloadMelon-2d5426a233d9bd37186697e508113e07fc05141f.tar.gz
Melon-2d5426a233d9bd37186697e508113e07fc05141f.zip
Nothing, really
Diffstat (limited to 'Source/Kernel/Shell')
-rw-r--r--Source/Kernel/Shell/KernelShell.class.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Kernel/Shell/KernelShell.class.cpp b/Source/Kernel/Shell/KernelShell.class.cpp
index 4232cd9..e2fbb69 100644
--- a/Source/Kernel/Shell/KernelShell.class.cpp
+++ b/Source/Kernel/Shell/KernelShell.class.cpp
@@ -3,6 +3,7 @@
#include <DeviceManager/Kbd.ns.h>
#include <Library/Rand.ns.h>
#include <Library/SimpleList.class.h>
+#include <VFS/VFS.ns.h>
u32int KernelShell::m_instances = 0;
@@ -62,7 +63,7 @@ u32int KernelShell::run() {
while (1) {
m_vt->setColor(SHELL_LIGHTCOLOR);
- *m_vt << "[" << m_cwd->getName() << "]# ";
+ *m_vt << VFS::path(m_cwd) << " : ";
m_vt->setColor(SHELL_ENTRYCOLOR);
Vector<String> tokens = m_vt->readLine().split(" ");
m_vt->setColor(SHELL_FGCOLOR);