diff --git a/appman b/appman index b1e3d4c4..5de6615f 100644 --- a/appman +++ b/appman @@ -93,6 +93,10 @@ if [ $AMCLI == appman ] 2>/dev/null; then _no_sudo fi +if $(! grep -q 'export PATH=$PATH:$(xdg-user-dir USER)/.local/bin' $HOME/.bashrc); then + echo -e '\nexport PATH=$PATH:$(xdg-user-dir USER)/.local/bin\n' >> $HOME/.bashrc +fi + case "$1" in '') printf "\n USAGE: '$AMCLI [option]'\n '$AMCLI [option] [argument]'\n\n Run the '$AMCLI -h' command to find out more\n\n";;