Pārlūkot izejas kodu

enable rtun only when using tmux

pull/1/head
10sr pirms 11 gadiem
vecāks
revīzija
43ece7bf14
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      bashrc
  2. +1
    -0
      emacs.el

+ 1
- 1
bashrc Parādīt failu

@@ -381,7 +381,7 @@ mkcd(){
cd $1
}

if null type reattach-to-user-namespace
if test -n "$TMUX" && null type reattach-to-user-namespace
then
alias pbpaste="reattach-to-user-namespace pbpaste"
alias pbcopy="reattach-to-user-namespace pbcopy"


+ 1
- 0
emacs.el Parādīt failu

@@ -609,6 +609,7 @@ otherwise the path where the library installed."
t)
(require 'pasteboard nil t)
(turn-on-pasteboard)
(getenv "TMUX")
(pasteboard-enable-rtun))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


Notiek ielāde…
Atcelt
Saglabāt