use 'command -v' instead of 'type-p'
This commit is contained in:
parent
0d029ddde7
commit
abb7a1b70a
|
@ -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 --------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue