904c2bfb00890deccb5af1bf34399da9cc3678de

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Fix copy prompt to clipboard binding

Diff

 1diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
 2index 3e42fe57da2e692e1a666478583380eaf0455227..bb6d12be43b98fe803e74952eb7905b88c8c6fb1 100644
 3--- a/dot_zshrc.tmpl
 4+++ b/dot_zshrc.tmpl
 5@@ -80,6 +80,12 @@ source $ZSH/oh-my-zsh.sh
 6 fpath=( ${CUSTOM}/functions "${fpath[@]}" )
 7 autoload -Uz ${CUSTOM}/functions/*
 8 
 9+# Misc options
10+setopt extendedglob notify
11+unsetopt beep nomatch
12+bindkey -v
13+zle_highlight+=(paste:none)
14+
15 # Copy current prompt to clipboard with CTRL+Y
16 if [[ -n ${WAYLAND_DISPLAY} ]]; then
17     copy_line_to_x_clipboard() {
18@@ -90,13 +96,6 @@ if [[ -n ${WAYLAND_DISPLAY} ]]; then
19     bindkey '^Y' copy_line_to_x_clipboard
20 fi
21 
22-zle_highlight+=(paste:none)
23-
24-# Misc options
25-setopt extendedglob notify
26-unsetopt beep nomatch
27-bindkey -v
28-
29 source ${CUSTOM}/completions/*.zsh
30 source ~/.aliases
31 source ~/.config/zsh/kc.zsh