Closed lmarkov closed 8 years ago
The reference point is the home directory of the user. It is not possible to do this with the current code. I will set this as wishlist. If you have time to propose a patch. ;)
I added this:
#in
def updateprompt(self, path):
# new condition
elif self.conf['prompt_short'] == 2:
self.prompt = '%s:%s:$ ' % (self.promptbase, os.getcwd())
In my configuration file I use:
prompt_short : 2
In my configuration this works for me.
Thanks! I'll look into this.
Hello,
Is there option to see the path for symlink instead the real path. For example I have symlink in directory /home/myuser
access-logs -> /usr/local/apache/domlogs/myuser
and when I enter with:
cd access-logs
the result in pwd is
/usr/local/apache/domlogs/jadoreb
instead:
/home/myuser/access-logs
Can you suggest a solution?
@lmarkov I have opened a new issue here: https://github.com/ghantoos/lshell/issues/134
I will need to look into this bug, as what you are asking is currently not possible to achieve.
Thanks for the report!
Is there a way to configure more detailed prompt information? Using this options:
the path looks like:
I want to see the information from pwd for example:
Is it possible?