added mod4+z for editing .zshrc and PATH fix
This commit is contained in:
parent
8f0ecb11f4
commit
c008496828
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
.zshrc
2
.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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue