From 63d4172264fc750c60d3faf8898edef6e6189525 Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Tue, 23 Jul 2024 12:35:42 -0400 Subject: [PATCH] (bash) alias for xclip, always select clipboard --- bash/.bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/.bashrc b/bash/.bashrc index 7b1b841..34124f2 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -77,6 +77,9 @@ alias alert='notify-send --urgency=normal -i "$([ $? = 0 ] && echo terminal || e # add alias for clear, makes it easier alias cc="clear" +# always select the clipboard +alias xc="xclip -selection clipboard" + # Nice line headers for logs ERROR=$'\033[39;41mERROR:\033[0m' SUCCESS=$'\033[39;42mSUCCESS:\033[0m'