fix(zshrc): add ~/.local/bin/ to PATH as required by systemd

The vast majority of modern Linux distributions are systemd based. User specific binaries can be placed inside `~/.local/bin/` ([SPEC](https://www.freedesktop.org/software/systemd/man/latest/file-hierarchy.html#~/.local/bin/)).

For this reason, .bashrc already adds that location to PATH.
E.g. (from a Fedora 40 brand new installation)
```
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
    PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
```
This commit is contained in:
Alessandro Miliucci 2024-05-14 08:51:55 +02:00 committed by GitHub
commit 19cbd14f56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh