From abb7a1b70abcc04dd4c084d0c28f68d2adad59c3 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Wed, 28 Aug 2013 08:55:20 +0200 Subject: [PATCH] use 'command -v' instead of 'type-p' --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 0a31b74..98b0a40 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -122,7 +122,7 @@ bind -t vi-copy H start-of-line bind -t vi-copy L end-of-line # copy to Mac OSX pasteboard -if 'type -p reattach-to-user-namespace' 'bind y run "tmux save-buffer - | reattach-to-user-namespace pbcopy"' +if 'command -v reattach-to-user-namespace' 'bind y run "tmux save-buffer - | reattach-to-user-namespace pbcopy"' # -- user defined --------------------------------------------------------------