Pārlūkot izejas kodu

Merge branch 'master' of gitea:gmj/home.public.dotfiles

George Jones 1 gadu atpakaļ
vecāks
revīzija
e7fe2f1a7b
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      .bashrc

+ 2 - 2
.bashrc

@@ -239,8 +239,8 @@ fi
 # Copy to clipbloard/paste buffer without using the mouse
 #
 if [[ "$OSTYPE" == "linux-gnu"* ]]; then
-  alias 2clip='xclip -selection c'
-  alias 3clip='printf %s "$(cat /dev/stdin)" | xclip -selection c'  # no final \n
+  alias 2clip='xclip -rmlastnl -selection c'
+  #alias 3clip='printf %s "$(cat /dev/stdin)" | xclip -selection c'  # no final \n
 elif [[ "$OSTYPE" == "darwin"* ]]; then
   alias 2clip='pbcopy'
 fi