aboutsummaryrefslogtreecommitdiffstats
path: root/.extras.zsh
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2024-12-27 14:37:58 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2024-12-27 14:38:11 +0100
commitf311c01a1b2672ab2c724674de8022e83988545e (patch)
tree6ba37deb89746ea70ea022c15b124e975e33b953 /.extras.zsh
parent54abce564fa2ce215df74066102f68ed8ba0164a (diff)
downloaddotfiles-f311c01a1b2672ab2c724674de8022e83988545e.tar.gz
dotfiles-f311c01a1b2672ab2c724674de8022e83988545e.zip
reorganize
Diffstat (limited to '.extras.zsh')
-rwxr-xr-x.extras.zsh28
1 files changed, 0 insertions, 28 deletions
diff --git a/.extras.zsh b/.extras.zsh
deleted file mode 100755
index 0647ca0..0000000
--- a/.extras.zsh
+++ /dev/null
@@ -1,28 +0,0 @@
-NOTES_DIR=$HOME/ghq/github.com/simenandre/notes/
-function note() {
- if [ $1 ]; then
- FILE=$NOTES_DIR/$(date +%Y-%m-%d).md
-
- if [ $2 ]; then
- FILE=$2
- fi
-
- echo $1 >> $FILE
- fi
-}
-
-function nt() {
- if [ $1 ]; then
- CONTENT="- [ ] $1"
- note $CONTENT $2
- fi
-}
-
-function getBjerkIssues() {
- gh issue list --repo bjerkio/internal \
- --search "-label:backlog -label:kind/system" \
- --json title,body,url,createdAt,assignees,number,labels,comments \
- --jq 'map({url, createdAt, title, labels: [.labels[].name], assignees: [.assignees[].login], body, number: "#\(.number)", comments: .comments | map({ body: .body, createdAt: .createdAt })})'
-}
-
-