Created
May 10, 2023 14:26
-
-
Save vkareh/5e4797a46b0247f6dfcb60b12a852511 to your computer and use it in GitHub Desktop.
Jira TUI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env xdg-open | |
[Desktop Entry] | |
Type=Application | |
Name=Jira | |
GenericName=Issue tracker | |
Exec=sh -c "xterm -class Jira -name jira -title Jira -e jira.sh" | |
StartupWMClass=jira | |
Icon=jira.png | |
Terminal=false | |
Categories=Office;;Network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
EPICS='jira epic list --plain --columns key,summary' | |
FZF_DEFAULT_COMMAND=$EPICS fzf \ | |
--layout=reverse \ | |
--header-lines=1 \ | |
--preview 'jira issue view {1}' \ | |
--bind 'ctrl-o:execute(jira issue view {1})' \ | |
--bind 'ctrl-e:execute(jira issue edit {1})' \ | |
--bind 'ctrl-m:execute(jira issue move {1})' \ | |
--bind 'ctrl-a:execute(jira issue assign {1})' \ | |
--bind 'ctrl-n:execute(jira issue create)' \ | |
--bind "ctrl-r:reload($EPICS)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you have
xseticon
, the Desktop file can have the following Exec line: