bind command can be used to bind your key strokes with the commands. I use it frequently to access my cleartool commands.
after editing a file using vi. You can check the difference with the predecessor or the version tree for the file using key-strokes Alt-d or Alt-t
bind -x '"\M-d"':'cleartool diff -pred -g -options "-b" $_ &'
bind -x '"\M-t"':'cleartool lsvtree -g $_ &'
No comments:
Post a Comment