diff options
author | Jeff Zhao <jeff.no.zhao@gmail.com> | 2022-05-04 16:34:03 -0400 |
---|---|---|
committer | Jeff Zhao <jeff.no.zhao@gmail.com> | 2022-05-04 16:34:03 -0400 |
commit | 8fef2b90b7ea4ea5640ad25880815d965126b0c9 (patch) | |
tree | 8f3c0575e94252ddce3ca78af294aae6a0c3afd0 /src | |
parent | 19be5254c3f5df03f3d6c68e13c73c88b40156fa (diff) | |
parent | 230bc2bf388b56e6da39668c65d242ef1bc1c8d6 (diff) |
Merge branch 'main' into dev
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/file_ops.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands/file_ops.rs b/src/commands/file_ops.rs index e0976cf..9e9498d 100644 --- a/src/commands/file_ops.rs +++ b/src/commands/file_ops.rs @@ -121,6 +121,10 @@ fn copy_string_to_buffer(string: String) -> JoshutoResult { format!("printf '%s' '{}' | {} -ib 2> /dev/null", string, "xsel"), ), ( + "pbcopy", + format!("printf '%s' '{}' | {} 2> /dev/null", string, "pbcopy"), + ), + ( "xclip", format!( "printf '%s' '{}' | {} -selection clipboard 2> /dev/null", |