refactor: replace path icons

This commit is contained in:
Jan De Dobbeleer 2020-10-16 15:57:42 +02:00 committed by Jan De Dobbeleer
parent dd86c486dd
commit e0e79f59f0
16 changed files with 11 additions and 29 deletions

View file

@ -18,7 +18,6 @@ Display the current path.
"foreground": "#ffffff",
"background": "#61AFEF",
"properties": {
"prefix": "  ",
"style": "folder"
}
}

View file

@ -58,8 +58,8 @@ func (pt *path) init(props *properties, env environmentInfo) {
func (pt *path) getShortPath() string {
pwd := pt.env.getcwd()
mappedLocations := map[string]string{
"HKCU:": pt.props.getString(WindowsRegistryIcon, "REGISTRY"),
"HKLM:": pt.props.getString(WindowsRegistryIcon, "REGISTRY"),
"HKCU:": pt.props.getString(WindowsRegistryIcon, "\uE0B1"),
"HKLM:": pt.props.getString(WindowsRegistryIcon, "\uE0B1"),
"Microsoft.PowerShell.Core\\FileSystem::": "",
pt.env.homeDir(): pt.props.getString(HomeIcon, "~"),
}

View file

@ -28,10 +28,9 @@
"foreground": "#100e23",
"background": "#91ddff",
"properties" : {
"home_icon": "",
"folder_icon": "",
"windows_registry_icon": "",
"folder_separator_icon": "  ",
"home_icon": "\uF7DB",
"folder_icon": "\uF115",
"folder_separator_icon": " \uE0B1 ",
"style": "agnoster"
}
},

View file

@ -40,10 +40,9 @@
"foreground": "#100e23",
"background": "#91ddff",
"properties" : {
"home_icon": "",
"folder_icon": "",
"windows_registry_icon": "",
"folder_separator_icon": "  ",
"home_icon": "\uF7DB",
"folder_icon": "\uF115",
"folder_separator_icon": " \uE0B1 ",
"style": "agnoster"
}
},

View file

@ -23,7 +23,6 @@
"foreground": "#ffffff",
"background": "#C678DD",
"properties": {
"home_icon": "~",
"style": "short"
}
},

View file

@ -10,7 +10,6 @@
"foreground": "#ffffff",
"properties": {
"prefix": "",
"home_icon": "~",
"style": "short"
}
},

View file

@ -56,7 +56,6 @@
"style": "plain",
"foreground": "#ffffff",
"properties": {
"home_icon": "~",
"style": "short",
"prefix": "<#CB4B16>┖[</>",
"postfix": "<#CB4B16>]></>"

View file

@ -24,7 +24,6 @@
"style": "plain",
"foreground": "#61AFEF",
"properties": {
"home_icon": "~",
"style": "agnoster",
"postfix": " on"
}

View file

@ -31,9 +31,7 @@
"foreground": "#ffffff",
"background": "#007ACC",
"properties" : {
"home_icon": "~",
"folder_icon": "",
"windows_registry_icon": "",
"folder_icon": "\uF115",
"folder_separator_icon": "",
"style": "short",
"prefix": "<transparent>\uE0B0</> ",

View file

@ -20,9 +20,7 @@
"style": "plain",
"foreground": "#0973C0",
"properties": {
"home_icon": "~",
"folder_icon": "",
"windows_registry_icon": "",
"folder_icon": "\uF115",
"folder_separator_icon": "",
"style": "short"
}

View file

@ -28,9 +28,7 @@
"foreground": "#100e23",
"background": "#91ddff",
"properties": {
"home_icon": "~",
"folder_icon": "",
"windows_registry_icon": "",
"folder_icon": "\uF115",
"folder_separator_icon": "",
"style": "short"
}

View file

@ -25,7 +25,6 @@
"foreground": "#26C6DA",
"background": "#546E7A",
"properties": {
"home_icon": "~",
"style": "short",
"postfix": " "
}

View file

@ -28,7 +28,6 @@
"foreground": "#77E4F7",
"properties": {
"prefix": "",
"home_icon": "~",
"style": "short"
}
},

View file

@ -24,7 +24,6 @@
"foreground": "#100e23",
"background": "#91ddff",
"properties" : {
"home_icon": "~",
"style": "short"
}
},

View file

@ -27,7 +27,6 @@
"style": "plain",
"foreground": "#0973C0",
"properties": {
"home_icon": "~",
"style": "short"
}
},

View file

@ -19,7 +19,6 @@
"style": "plain",
"foreground": "#55B9C4",
"properties": {
"home_icon": "~",
"style": "folder",
"prefix": ""
}