aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zsh/functions/x-kill-region
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zsh/functions/x-kill-region')
-rw-r--r--zsh/.zsh/functions/x-kill-region3
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/.zsh/functions/x-kill-region b/zsh/.zsh/functions/x-kill-region
new file mode 100644
index 0000000..725ac72
--- /dev/null
+++ b/zsh/.zsh/functions/x-kill-region
@@ -0,0 +1,3 @@
+# -*- mode: sh; -*-
+zle kill-region
+print -rn $CUTBUFFER | xsel -bi