C-x like 'execute'
[dotfiles] / .bash_bind
1 #!/bin/sh
2
3 # you can also edit the ~/.inputrc file
4 # and add something like
5 #
6 # "\C-t": "top\n"
7 # or
8 # "\C-gu": "uptime\n"
9 # Not all bash line editing is controlled from ~/.inputrc; this is the reason of this file
10 #
11 # let's be creative :) we'll try to bind more useful command in the future
12
13 bind -x '"\C-xt":top'
14 bind -x '"\C-xu":uptime'
15 bind -x '"\C-xd":date'
16 bind -x '"\C-xc":cal'
17 bind -x '"\C-xi":my_ip'
18 bind -x '"\C-xg":glances'
19 bind -x '"\C-xp":emax /media/stick/patrick/patrick/Documents/hdjns_20141207_debian7.7xfce.org'