aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-19 20:51:19 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-19 20:51:19 +0200
commit3e0718bd724ae5f9e1f757454e1fd71604872ed1 (patch)
treeeea5d237ea425f868e287f3d34849c22aa717eaf
parent670436b6c4ef186963780c08cbdf42d32eeab1a1 (diff)
downloadlbsd-3e0718bd724ae5f9e1f757454e1fd71604872ed1.tar.gz
.jwmrc: Add git repl shortcut
-rw-r--r--home/john/.jwmrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/home/john/.jwmrc b/home/john/.jwmrc
index 3696837..cccd163 100644
--- a/home/john/.jwmrc
+++ b/home/john/.jwmrc
@@ -196,6 +196,10 @@
sed 's,.*(\([^(]*\))$,\1,' |
sed 's,^~,/home/john,'`; tterm
</Key>
-
+ <Key mask="AS" key="g">exec:
+ cd `xtitle |
+ sed 's,.*(\([^(]*\))$,\1,' |
+ sed 's,^~,/home/john,'`; xtopen git repl
+ </Key>
</JWM>