From e09a435efafdf604e66cf37ce8e92233801e0bbc Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Thu, 14 Nov 2024 22:17:05 +0100 Subject: [PATCH] Add catc command to zshrc, cat-copy --- home/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/.zshrc b/home/.zshrc index e079cbf..e22912a 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -144,6 +144,10 @@ bwp() { bw get password "$1" | wlc } +catc() { + cat "$1" | wlc +} + # Check if tmux is already running or if the session is interactive if [[ -z "$TMUX" ]] && [[ $- == *i* ]]; then # Create a new tmux session, if one doesnt exist, give it the main name, never attach to a session