Skip to content

Commit 22528cf

Browse files
committed
Doesn't kill contents of clipboard on every invocation; prepares for 1.2.2
1 parent 00122bd commit 22528cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pick_git/pg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __init__(self, no_copy=False, shell='', rcfile='', **kwargs):
1919
print('install pyperclip for a better experience')
2020
else:
2121
try:
22-
pyperclip.copy('')
22+
pyperclip.paste()
2323
except pyperclip.exceptions.PyperclipException:
2424
print("pyperclip is installed but it's missing a dependency, see pyperclip repo for details")
2525
else:

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
setup(
55
name='pick-git',
6-
version='1.2.1',
6+
version='1.2.2',
77
description="Use pick by thoughtbot to turbocharge your Git workflow",
88
long_description='Check it out on GitHub',
99
keywords='pick git thoughtbot fuzzy select terminal productivity',
1010
url='https://github.com/kylebebak/pick-git',
11-
download_url='https://github.com/kylebebak/pick-git/tarball/1.2.1',
11+
download_url='https://github.com/kylebebak/pick-git/tarball/1.2.2',
1212
author='kylebebak',
1313
author_email='[email protected]',
1414
license='MIT',

0 commit comments

Comments
 (0)