From 98a896bc69504cdda04ef666822093117ccba111 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Mon, 26 Jun 2017 07:35:21 +0200 Subject: [PATCH] fixed tmux_conf_copy_to_os_clipboard on Linux when xclip is installed and not xsel --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 520a002..b4b6652 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -681,7 +681,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # command -v pbcopy > /dev/null 2>&1 && command='pbcopy' # command -v reattach-to-user-namespace > /dev/null 2>&1 && command='reattach-to-user-namespace pbcopy' # command -v xsel > /dev/null 2>&1 && command='xsel -i -b' -# ! command -v xsel > /dev/null 2>&1 && command -v xclip > /dev/null 2>&1 && command='xclip -i -selection clipboard > /dev/null 2>&1' +# ! command -v xsel > /dev/null 2>&1 && command -v xclip > /dev/null 2>&1 && command='xclip -i -selection clipboard > \/dev\/null 2>\&1' # command -v clip.exe > /dev/null 2>&1 && command='clip\.exe' # [ -c /dev/clipboard ] && command='cat > \/dev\/clipboard' #