Skip to content

Commit 8777e2e

Browse files
JIRA wrapper until keychain works.
ankitpokhrel/jira-cli#791 ankitpokhrel/jira-cli#799
1 parent 583e04b commit 8777e2e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.../self/data/profile/bash/aliases

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ tree () { set -- ${COLORTERM:+-C} "$@"; command tree "$@"; }
88
alias tt='t -a'
99
alias v='. *.venv/bin/activate'
1010

11+
# JIRA wrapper.
12+
jira () (
13+
for x in ~/.tokens/JIRA_*; do export ${x##*/}=$(<$x); done
14+
command jira "$@"
15+
)
16+
1117
# Grep wrappers.
1218
alias ge='grep --extended-regexp'
1319
alias gi='ge --ignore-case'

.../self/data/profile/zsh/aliases

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ tree () { set -- ${COLORTERM:+-C} "$@"; command tree "$@"; }
1111
alias tt='t -a'
1212
alias v='. *.venv/bin/activate'
1313

14+
# JIRA wrapper.
15+
jira () (
16+
for x in ~/.tokens/JIRA_*; do export ${x##*/}=$(<$x); done
17+
command jira "$@"
18+
)
19+
1420
# Grep wrappers.
1521
alias ge='grep --extended-regexp'
1622
alias gi='ge --ignore-case'

0 commit comments

Comments
 (0)