Move PATH extension to profile

This commit is contained in:
ItsDrike 2021-07-22 00:16:41 +02:00
parent 7c291408e1
commit 84c15ef496
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
2 changed files with 5 additions and 4 deletions

View file

@ -5,6 +5,10 @@
# .zshrc/.bashrc, which will run whenever a new terminal
# is opened.
# Add all folders in ~/.local/bin into PATH
# Some window managers require this line to be in profile
# not in .zshenv
PATH+=":${$(find ~/.local/bin -type d | tr '\n' ':')%%:}"
# Start graphical session automatically on tty1 if startx is aviable
if [ "$(tty)" = "/dev/tty1" ] && [ "$UID" != 0 ]; then