function copy_last_command {
history 1 | sed 's/ [0-9]* //' | xclip -i
}
bind -x '"\C-h":copy_last_command' function copy_last_command {
history 1 | sed 's/ [0-9]* //' | xclip -i
}
bind -x '"\C-h":copy_last_command'