diff options
Diffstat (limited to 'dot_config')
| -rw-r--r-- | dot_config/zsh/dot_zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index d4a9715..c7d5e90 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -237,6 +237,10 @@ alias cpr='rsync --archive -hh --partial --info=stats1,progress2 --modify-window alias mvr='rsync --archive -hh --partial --info=stats1,progress2 --modify-window=1 --remove-source-files' alias sub='subliminal download -l en' +# wl-copy that also passes stdin through to stdout (tee-like). +# Use `| wlc` to copy AND see the output. +wlc() { tee >(wl-copy "$@"); } + # Neovim alias n='nvim' alias ndiff='nvim -d' |
