1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

use clipboard package to handle clipboard stuff

This commit is contained in:
Jesse Duffield
2020-08-23 22:04:24 +10:00
parent 1494a3863d
commit afd669194a
14 changed files with 416 additions and 14 deletions

View File

@ -5,6 +5,5 @@ func GetPlatformDefaultConfig() []byte {
return []byte(
`os:
openCommand: 'sh -c "xdg-open {{filename}} >/dev/null"'
openLinkCommand: 'sh -c "xdg-open {{link}} >/dev/null"'
copyToClipboardCommand: 'bash -c "echo -n {{str}} | xclip -selection clipboard"'`)
openLinkCommand: 'sh -c "xdg-open {{link}} >/dev/null"'`)
}