Sample Header Ad - 728x90

How can I set $PATH for awesome window manager prompt

1 vote
0 answers
1002 views
I'm using awesome 3.5.9 in Debian Testing. /bin/bash is my user's shell. My ~/.profile reads if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi And in my ~/.bashrc I have edited my $PATH to contain some custom directories. In awesome's rc.lua, I have set up the prompt like this: awful.key({ modkey }, "r", function () awful.prompt.run({ prompt = "Run: " }, mypromptbox[mouse.screen].widget, awful.util.spawn, awful.completion.bash) end), However, the auto-completion in the awesome prompt doesn't consider the custom directories I have in my $PATH. What am I doing wrong?
Asked by andreas-h (669 rep)
Oct 28, 2016, 09:00 PM
Last activity: Apr 26, 2023, 05:46 PM