1
0
Fork 0
mirror of synced 2024-12-22 06:41:07 -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 bind -t vi-copy L end-of-line
# copy to Mac OSX pasteboard # 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 -------------------------------------------------------------- # -- user defined --------------------------------------------------------------