#!/bin/sh # 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' bind -x '"\C-gi":my_ip' bind -x '"\C-gg":glances'