Set PATH in .login_conf
authorCameron Katri <me@cameronkatri.com>
Fri, 23 Jul 2021 14:27:14 +0000 (10:27 -0400)
committerCameron Katri <me@cameronkatri.com>
Fri, 23 Jul 2021 14:27:14 +0000 (10:27 -0400)
.login_conf [new file with mode: 0644]
.zprofile

diff --git a/.login_conf b/.login_conf
new file mode 100644 (file)
index 0000000..fdcf2ae
--- /dev/null
@@ -0,0 +1,9 @@
+# $FreeBSD$
+#
+# see login.conf(5)
+#
+me:\
+       :lang=en_US.UTF-8:\
+       :charset=UTF-8:\
+       :path=/usr/local/libexec/ccache /usr/local/llvm12/bin /sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin ~/.local/bin /opt/limd/bin /usr/local/libexec/apple/bin ~/Documents/go/bin:\
+       :umask=027:
index e43a3440b7147fbda9b79b6926bf2b3def2ac8a5..33435bbb3b45fee67430b24a50dfaa3a6f0f0a4b 100644 (file)
--- a/.zprofile
+++ b/.zprofile
@@ -1,5 +1 @@
 export GOPATH=$HOME/Documents/go
-export PATH="$GOPATH/bin:$PATH"
-export PATH="/usr/local/llvm12/bin:$PATH"
-export PATH="/usr/local/libexec/apple/bin:$PATH"
-export PATH="$HOME/.local/bin:/usr/local/libexec/ccache:/opt/limd/bin:$PATH"