1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# /etc/pathfix.toml - pathfix configuration - pathfix.toml(5)
#
# This is the base config. If base = true,
# configs in higher directories will be ignored.
# You should set this if you create a custom config in ~/.pathfix.toml
# and overwrite the system config.
# If base is false after the root path is read, /etc/pathfix.toml will also be included.
# If base is still false after that, a config which is included in the
# binary and managed py the packet maintainer/developer will be used.
= true
# Append paths like /sbin, /usr/sbin only if the
# user is in one of those groups or he is root
= { = [ "wheel", "sudo" ] }
# Paths to check if they are present and to add
= [
"~/.cargo/bin",
"$GOPATH/bin",
"$GOROOT/bin",
"~/.local/bin",
"~/bin",
"/snap",
{ = "/usr/local/sbin", = true },
"/usr/local/bin",
{ = "/usr/sbin", = true },
"/usr/bin",
{ = "/sbin", = true },
"/bin",
"/usr/local/games",
"/usr/games",
]
# Environment variables which will be used to substitute in paths.
# Variables will be overwritten from configs in subdirectories and
# in the end with real environment variables, if they exist.
[]
= "/usr/local/go"