diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 71a9c642..0b34bd9c 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -413,6 +413,8 @@ globalkeys = awful.util.table.join( awful.key({ modkey }, "b", function() awful.util.spawn("/usr/bin/chromium") end), awful.key({ modkey }, "c", function() awful.util.spawn(editor_cmd .. " " .. awesome.conffile) end), + awful.key({ modkey }, "z", function() + awful.util.spawn(editor_cmd .. " " .. os.getenv("HOME") .. "/.zshrc") end), awful.key({ modkey }, "y", function() awful.util.spawn("/usr/bin/thunar") end), -- Standard program diff --git a/.zshrc b/.zshrc index a9984e02..e53d0ad3 100644 --- a/.zshrc +++ b/.zshrc @@ -1,5 +1,5 @@ # Extend my $PATH to $PATH/bin -export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH:$HOME/bin +export PATH=$HOME/bin:$PATH # Export the $EDITOR and $TERMINAL export EDITOR=/usr/bin/vim