You are not logged in.
How can I get zsh to show the full directory path I'm in, instead of just my hostname?
Last edited by shoober420 (2014-07-31 16:53:51)
Offline
Read the wiki https://wiki.archlinux.org/index.php/Zsh#Prompts
Offline
Moving from Applications & Desktop Environments to Newbie Corner.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Okay, I got the path showing. Now, how do I add a space in the prompt, so that the path is seperated from whats being typed?
Offline
You should be able to just add a space in your prompt. Can you post the prompt you have now?
Have a look at https://wiki.archlinux.org/index.php/Color_Bash_Prompt
PS1='[\u@\h \W]\$ 'The prompt goes between the ' ' - the last two characters are $ and a space. Try doing something similar.
Offline
Here is my prompt.
PROMPT=%~%#_I'm using an underscore for now, just to seperate the path from the commands being typed so they're not next to each other.
Offline
Try
PROMPT="%~%# "Offline
Nice! Thank you so much karol. I have settled with the following prompt.
PROMPT="[%~]%# "Last edited by shoober420 (2014-07-31 16:42:59)
Offline