Display the current path.
string- the symbol to use as a separator between folders - defaults to platfrom path separator
string- the icon to display when at
$HOME- defaults to
string- the icon to use as a folder indication - defaults to
string- the icon to display when in the Windows registry - defaults to
enum- how to display the current path
map[string]string- custom glyph/text for specific paths (only when
mapped_locations_enabledis set to
boolean- replace known locations in the path with the replacements before applying the style. defaults to
boolean- displays an hyperlink for the path - defaults to
number- the maximum length of a path segment that will be displayed when using
Mixed- defaults to
Style sets the way the path is displayed. Based on previous experience and popular themes, there are 5 flavors.
Renders each folder as the
folder_icon separated by the
Only the current folder name is displayed at the end,
$HOME is replaced by the
home_icon if you're
$HOME location or one of its children.
Renders each folder name separated by the
When more than 1 level deep, it renders one
folder_icon followed by the name of the current folder separated by the
$PWD as a string.
Display the name of the current folder.
Agnoster Full, but for any middle folder short enough it will display its name instead. The maximum length
for the folders to display is governed by the