1
0
Fork 0
mirror of synced 2024-12-21 22:31:06 -05:00

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

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 --------------------------------------------------------------