Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i change ~ from my prompt #2705

Open
sviim opened this issue Jun 13, 2024 · 3 comments
Open

How can i change ~ from my prompt #2705

sviim opened this issue Jun 13, 2024 · 3 comments

Comments

@sviim
Copy link

sviim commented Jun 13, 2024

I want to remove the ~ from my prompt from my .p10k, I have tried many things but I can't, can anyone give me a solution?

image

@sviim sviim changed the title How can i change ~ from my promp How can i change ~ from my promt Jun 13, 2024
@sviim sviim changed the title How can i change ~ from my promt How can i change ~ from my prompt Jun 13, 2024
@romkatv
Copy link
Owner

romkatv commented Jun 13, 2024

Do you know what it means?

@sviim
Copy link
Author

sviim commented Jun 13, 2024

Yes, I know its the user's home directory, but I have seen in other prompt's that the ~ does not exist

@Syphdias
Copy link
Contributor

So you want not directory segment?
Go to your .p10k.zsh file and search for POWERLEVEL9K_LEFT_PROMPT_ELEMENTS and remove the line containing dir, you could also comment it out by prefixing it with #.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants