projects
/
dotfiles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b7832b
)
just trying to have fun w/ the bind function
author
patrick nsukami
<ndkpatt@gmail.com>
Mon, 29 Dec 2014 22:26:50 +0000
(22:26 +0000)
committer
patrick nsukami
<ndkpatt@gmail.com>
Mon, 29 Dec 2014 22:26:50 +0000
(22:26 +0000)
.bash_bind
patch
|
blob
|
history
diff --git
a/.bash_bind
b/.bash_bind
index
94d0447
..
b1e7e32
100644
(file)
--- a/
.bash_bind
+++ b/
.bash_bind
@@
-1,3
+1,16
@@
#!/bin/sh
-bind -x '"\C-t":top'
+# you can also edit the ~/.inputrc file
+# and add something like
+#
+# "\C-t": "top\n"
+# or
+# "\C-gu": "uptime\n"
+# Not all bash line editing is controlled from ~/.inputrc; this is the reason of this file
+#
+# let's be creative :) we'll try to bind more useful command in the future
+
+bind -x '"\C-gt":top'
+bind -x '"\C-gu":uptime'
+bind -x '"\C-gd":date'
+bind -x '"\C-gc":cal'