1
0
Fork 0
forked from ahurac/dotfiles

Ajout : fonction addpath dans profile, ajout d'un path

This commit is contained in:
Hippolyte Chauvin 2023-09-01 10:46:59 +02:00
parent 22aff9b2eb
commit ee174a4252

View file

@ -1,7 +1,10 @@
# Add local bin to PATH # Add local bin to PATH
local_bin="$HOME/.local/bin" addpath() {
if [ -d "$local_bin" ]; then if [ -d "$1" ]; then
PATH="$local_bin:$PATH" PATH="${1}:${PATH}"
fi fi
unset local_bin }
addpath ~/.local/bin
addpath ~/.local/share/qemu/bin