class pathNavigator(object):

	def __pytermconfig__(self):
		return {"command":"cd","callback":self.cd}

	def cd(self,*args, **kwargs):
		pyTerm = kwargs["pyTerm"]
		try:
			sequence = kwargs["sequence"][0]
		except IndexError:
			sequence = ""
		if sequence == "..":
			currentPath = pyTerm.getPath().split("/")[::-1]
			currentPath = currentPath[1::]
			currentPath = currentPath[::-1]
			currentPath = "/".join(currentPath)
			pyTerm.setPath(currentPath)

		elif sequence == "":
			pyTerm.setPath("/home/"+pyTerm.getUser())
@@ -346,16 +346,78 @@
 th%5B1::%5D%0A
+%09%09%09if currentPath%5B0%5D == '':%0A%09%09%09%09pyTerm.setPath('/')%0A%09%09%09else:%0A%09
 %09%09%09curre
@@ -439,24 +439,25 @@
 tPath%5B::-1%5D%0A
+%09
 %09%09%09currentPa
@@ -483,16 +483,17 @@
 ntPath)%0A
+%09
 %09%09%09pyTer

stop going back to the previous directory before it gets into no-man's land