aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/extras.zsh
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2024-12-27 20:09:44 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2024-12-27 20:09:44 +0100
commit240106d9782a6f35d1cc0cf6ad56126d42bf5764 (patch)
treed0293c643d82a7307e48a50b8ec4b7bfd6e7b408 /zsh/extras.zsh
parentb2bdcbc530b7482126118acd3ca2efcbf0014cdb (diff)
downloaddotfiles-240106d9782a6f35d1cc0cf6ad56126d42bf5764.tar.gz
dotfiles-240106d9782a6f35d1cc0cf6ad56126d42bf5764.zip
add zsh setup
Diffstat (limited to 'zsh/extras.zsh')
-rwxr-xr-xzsh/extras.zsh28
1 files changed, 0 insertions, 28 deletions
diff --git a/zsh/extras.zsh b/zsh/extras.zsh
deleted file mode 100755
index 0647ca0..0000000
--- a/zsh/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 })})'
-}
-
-