From 206d3e207dd37ef8f5ae951ef8ace09db9cbce0f Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Tue, 10 Aug 2021 00:44:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0git=E5=BF=BD=E7=95=A5?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=8F=98=E5=8C=96=E7=9B=B8=E5=85=B3=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- awesome/pravitekeys.lua | 3 ++- dot/.gitconfig | 17 ++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/awesome/pravitekeys.lua b/awesome/pravitekeys.lua index f9ae514..962c3fb 100644 --- a/awesome/pravitekeys.lua +++ b/awesome/pravitekeys.lua @@ -35,7 +35,8 @@ pravitekeys = awful.util.table.join( awful.key({ modkey }, "e", function () - run_or_raise("emacsclient -a '' -c -n", {class = "Emacs"}) + -- run_or_raise("emacsclient -a '' -c -n", {class = "Emacs"}) + run_or_raise("emacs", {class = "Emacs"}) end), awful.key({ modkey, "Shift" }, "e", diff --git a/dot/.gitconfig b/dot/.gitconfig index 4fb2a3e..2397869 100644 --- a/dot/.gitconfig +++ b/dot/.gitconfig @@ -5,13 +5,16 @@ [github] user = zedhugh [alias] - co = checkout - ci = commit - st = status - br = branch - hist = log --pretty=format:'%h %ad | %s%d [%ad]' --graph --date=short - type = cat-file -t - dump = cat-file -p + co = checkout + ci = commit + st = status + br = branch + hist = log --pretty=format:'%h %ad | %s%d [%ad]' --graph --date=short + type = cat-file -t + dump = cat-file -p + hide = update-index --assume-unchanged + unhide = update-index --no-assume-unchanged + hidden = !git ls-files -v | grep "^[[:lower:]]" [commit] gpgSign = true [diff "gpg"]