From efecf23f3af87f391fc28be32e67aaf9e4748087 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Thu, 6 Oct 2022 12:37:27 -0500 Subject: [PATCH] add clickpaste alias for linux --- .bashrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index f6c0f26..55bfd50 100644 --- a/.bashrc +++ b/.bashrc @@ -49,8 +49,8 @@ if [[ $iatest > 0 ]]; then bind "set completion-ignore-case on"; fi if [[ $iatest > 0 ]]; then bind "set show-all-if-ambiguous On"; fi # Set the default editor -export EDITOR=nano -export VISUAL=nano +export EDITOR=vim +export VISUAL=vim alias pico='edit' alias spico='sedit' alias nano='edit' @@ -208,6 +208,8 @@ alias logs="sudo find /var/log -type f -exec file {} \; | grep 'text' | cut -d' # SHA1 alias sha1='openssl sha1' +alias clickpaste='sleep 3; xdotool type "$(xclip -o -selection clipboard)" + ####################################################### # SPECIAL FUNCTIONS #######################################################