Add catc command to zshrc, cat-copy

This commit is contained in:
Martin Larsson 2024-11-14 22:17:05 +01:00
parent 2fb39e8b60
commit e09a435efa

View file

@ -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