use 'command -v' instead of 'type-p'

This commit is contained in:
Gregory Pakosz
2013-08-28 08:55:20 +02:00
parent 0d029ddde7
commit abb7a1b70a
+1 -1
View File
@@ -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 --------------------------------------------------------------