dotfiles/home/.config/shell
ItsDrike 3b5ac91ae8
Only add ~/.local/bin to PATH if it exists
Without existence check, the `find` command prints a fail message to
stderr, and leaves stdout empty. This means only the prefix `:` is
appended to the `$PATH` variable.

Leaving a trailing `:` in `$PATH` is however something we really don't
want to be doing, as it makes the current directory get treated as a
part of `$PATH`.

While the `~/.local/bin` directory is generally going to exist, during
installation and in some other edge cases, it might not yet be there,
and we need to account for that.
2023-08-02 14:13:44 +02:00
..
aliases Add git commit ammend alias 2023-07-23 00:13:19 +02:00
environment export XDG_STATE_HOME 2023-08-02 01:53:00 +02:00
functions Initial commit 2022-11-20 03:14:18 +01:00
handlers Initial commit 2022-11-20 03:14:18 +01:00
keybinds Initial commit 2022-11-20 03:14:18 +01:00
profile Only add ~/.local/bin to PATH if it exists 2023-08-02 14:13:44 +02:00
prompt Initial commit 2022-11-20 03:14:18 +01:00
py-alias Initial commit 2022-11-20 03:14:18 +01:00