use 'command -v' instead of 'type-p'
This commit is contained in:
+1
-1
@@ -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 --------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user