From 19490eee992d6dd87e02efe9ec1dfb23538c1607 Mon Sep 17 00:00:00 2001 From: Misomosi Date: Sat, 5 Oct 2024 01:41:54 -0400 Subject: [PATCH] Add tmux copy+paste to bashrc --- .bashrc | 5 +++++ README.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.bashrc b/.bashrc index 4e8bba6..43a7f14 100644 --- a/.bashrc +++ b/.bashrc @@ -14,3 +14,8 @@ export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH" # This is equivalent to 'auto-load' but with '.breakpoints' # Remove this as well if you don't like 'auto-load' alias gdb="gdb-posix -ex 'source .breakpoints'" + +# Debian comes with Wayland so this is what I use +# If you use X, then xclip is what you're looking for +alias tmux-copy="tmux show-buffer | wl-copy" +alias tmux-paste="wl-paste" diff --git a/README.md b/README.md index c99a350..2291a14 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,11 @@ export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH" # This is equivalent to 'auto-load' but with '.breakpoints' # Remove this as well if you don't like 'auto-load' alias gdb="gdb-posix -ex 'source .breakpoints'" + +# Debian comes with Wayland so this is what I use +# If you use X, then xclip is what you're looking for +alias tmux-copy="tmux show-buffer | wl-copy" +alias tmux-paste="wl-paste" ``` ## .ssh config -- 2.49.1