summaryrefslogtreecommitdiff
path: root/zsh/functions/fake-enter
diff options
context:
space:
mode:
authorXian Wang <dev@xianwang.io>2022-03-23 10:12:52 -0400
committerXian Wang <dev@xianwang.io>2022-03-23 10:12:52 -0400
commit99b6971f62cdb02d52c3c4f15f84c97dccaeb344 (patch)
tree58c94010cd51514b9e515573b3fb8b51ef51adc6 /zsh/functions/fake-enter
parentbebf6d947abf4637e1239cd902572cd24945e7cc (diff)
downloaddotfiles-99b6971f62cdb02d52c3c4f15f84c97dccaeb344.tar.gz
dotfiles-99b6971f62cdb02d52c3c4f15f84c97dccaeb344.tar.bz2
dotfiles-99b6971f62cdb02d52c3c4f15f84c97dccaeb344.zip
zsh: update rcs and functions
Diffstat (limited to 'zsh/functions/fake-enter')
-rw-r--r--zsh/functions/fake-enter4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/functions/fake-enter b/zsh/functions/fake-enter
new file mode 100644
index 0000000..0582c26
--- /dev/null
+++ b/zsh/functions/fake-enter
@@ -0,0 +1,4 @@
+fake-enter() {
+ print -s "$BUFFER"
+ zle send-break
+}