https://github.com/liuml07/popclipextensions
A PopClip plugin to fast open an Atlassian JIRA link
https://github.com/liuml07/popclipextensions
jira macos plugin popclip tools
Last synced: 9 months ago
JSON representation
A PopClip plugin to fast open an Atlassian JIRA link
- Host: GitHub
- URL: https://github.com/liuml07/popclipextensions
- Owner: liuml07
- Created: 2015-10-08T20:37:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-01-08T19:08:06.000Z (over 1 year ago)
- Last Synced: 2025-01-08T20:24:15.443Z (over 1 year ago)
- Topics: jira, macos, plugin, popclip, tools
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PopClip Extensions
This repo contains several useful PopClip extensions.
Some can be installed directly by installing the whole folder.
The other can be simply copy and install as they are [snippets](https://github.com/pilotmoon/PopClip-Extensions/blob/master/README.md).
Select that text below, and you’ll see an “Install Extension” action in PopClip. Just install it!
### Fast Open JIRA Links via PopClip
See the `jira/` directory.
### Copy `bat` output to clipboard
It removes the leading line number and | format when you a `bat` output. With this you will never miss `cat`!
If you want, feel free to add more apps to `required apps` where this extension should be activated.
To get the app ID, use `osascript -e 'id of app "iTerm"'`
```javascript
// # popclip
// name: CopyBat
// icon: circle filled BAT
// description: Remove `bat` formatter from the selected text.
// language: javascript
// required apps: [com.googlecode.iterm2]
pasteboard.text = popclip.input.text
.split('\n')
.map(line => line.replace(/.*│ ?/g, ''))
.join('\n');
```