-
How do you change the "home" directory from "~" to 🏠 (house emoji) Also more generally how do we set it so some paths like ~/Desktop get rendered as 💻 (desktop) So I can get ~/My/Files be rendered as |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can take a look at my configuration files, where I have done that extensively, and in order to achieve what you have asked for, you need to add the following to your [directory.substitutions]
"~/Documents" = "📃"
"~/Desktop" = "💻"
"~" = "🏠" I'm not sure if it is possible to substitute "/*", as I'm replacing the slash with a powerline symbol (see above). Take care |
Beta Was this translation helpful? Give feedback.
You can take a look at my configuration files, where I have done that extensively, and in order to achieve what you have asked for, you need to add the following to your
starship.toml
config file:I'm not sure if it is possible to substitute "/*", as I'm replacing the slash with a powerline symbol (see above).
Take care
Mick