Post 9uiHHV1laB28PgoAeu by ndegruchy@fosstodon.org
 (DIR) More posts by ndegruchy@fosstodon.org
 (DIR) Post #9uiHASpdLcGTZnmKDQ by alexbuzzbee@fosstodon.org
       2020-05-04T19:49:48Z
       
       0 likes, 0 repeats
       
       Indescribably irritated that $PATH doesn't support wildcards
       
 (DIR) Post #9uiHHV1laB28PgoAeu by ndegruchy@fosstodon.org
       2020-05-04T19:51:00Z
       
       0 likes, 0 repeats
       
       @alexbuzzbee To do what? Specify more sub-directories to parse?
       
 (DIR) Post #9uiHLEaUeD4GaHpfMG by alexbuzzbee@fosstodon.org
       2020-05-04T19:51:42Z
       
       0 likes, 0 repeats
       
       @ndegruchy PATH="$HOME/Applications/*/bin:$PATH"
       
 (DIR) Post #9uiHz0tuxBrLidt008 by ndegruchy@fosstodon.org
       2020-05-04T19:58:51Z
       
       0 likes, 0 repeats
       
       @alexbuzzbee Ah, yeah. I guess it would be easiest to just loop through the sub-directories and pre/append them to the path.Something likefor folder in "$HOME/Applications/*/bin"; do    if [ -d "$folder" ]; then        PATH="$folder:$PATH"    fidone
       
 (DIR) Post #9uiI7W312DGsdTCCqe by ashwinvis@mastodon.acc.sunet.se
       2020-05-04T20:00:19Z
       
       0 likes, 0 repeats
       
       @alexbuzzbee @ndegruchy If you need such dark magic, you can use #xonsh.> $PATH.extend(Path.home().glob("Applications/*/bin"))
       
 (DIR) Post #9uiIBrqxu63rQHdOYC by julio@toot.ear7h.net
       2020-05-04T20:01:14Z
       
       0 likes, 0 repeats
       
       @alexbuzzbee You could do:PATH="$(ls -d $HOME/Applications/*/bin):$PATH"
       
 (DIR) Post #9uiK6btK1SJmNVMEKG by alexbuzzbee@fosstodon.org
       2020-05-04T20:22:38Z
       
       0 likes, 0 repeats
       
       @ndegruchy That works until I add a new directory to one of these directories and have to restart my shell. It's not really something I'm looking for an immediate solution to, just a general gripe I have.