Compare commits
3 Commits
03cbe68202
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ef76de5a1 | ||
|
|
def08842a2 | ||
|
|
2983694971 |
@@ -49,7 +49,6 @@ colorscheme theunixzoo
|
|||||||
" arrows could be: → › »
|
" arrows could be: → › »
|
||||||
set listchars=tab:→\ ,trail:·
|
set listchars=tab:→\ ,trail:·
|
||||||
|
|
||||||
|
|
||||||
"source /home/jswank/.config/nvim/colors-now
|
"source /home/jswank/.config/nvim/colors-now
|
||||||
|
|
||||||
"set gfn=Droid\ Sans\ Mono\ 10
|
"set gfn=Droid\ Sans\ Mono\ 10
|
||||||
@@ -85,6 +84,8 @@ nmap <leader>jn <cmd>% !jsonnetfmt -<cr>
|
|||||||
" use \ js to format a buffer as JSON
|
" use \ js to format a buffer as JSON
|
||||||
nmap <leader>js <cmd>% !jq . -<cr>
|
nmap <leader>js <cmd>% !jq . -<cr>
|
||||||
|
|
||||||
|
nmap <leader>yq <cmd>% !yq . -<cr>
|
||||||
|
|
||||||
set lazyredraw " redraw only when req'd
|
set lazyredraw " redraw only when req'd
|
||||||
|
|
||||||
set wildmenu " visual auto-complete
|
set wildmenu " visual auto-complete
|
||||||
|
|||||||
@@ -78,6 +78,14 @@ template = "default.md"
|
|||||||
#[group."<NAME>".extra]
|
#[group."<NAME>".extra]
|
||||||
#key = "value"
|
#key = "value"
|
||||||
|
|
||||||
|
[group.meeting]
|
||||||
|
paths = ["meeting"]
|
||||||
|
|
||||||
|
[group.meeting.note]
|
||||||
|
filename = "{{slug title}}-{{format-date now '%Y%m%d'}}"
|
||||||
|
extension = "md"
|
||||||
|
template = "meeting.md"
|
||||||
|
|
||||||
[group.daily]
|
[group.daily]
|
||||||
paths = ["daily"]
|
paths = ["daily"]
|
||||||
|
|
||||||
@@ -192,7 +200,8 @@ edit = 'zk edit --interactive "$@"'
|
|||||||
# This alias doesn't take any argument, so we don't use $@.
|
# This alias doesn't take any argument, so we don't use $@.
|
||||||
recent = "zk edit --sort created- --created-after 'last two weeks' --interactive"
|
recent = "zk edit --sort created- --created-after 'last two weeks' --interactive"
|
||||||
|
|
||||||
daily = 'zk new daily "$@"'
|
daily = 'zk new "$@" daily'
|
||||||
|
meeting = 'zk new --title "$@" meeting'
|
||||||
|
|
||||||
# Print paths separated with colons for the notes found with the given
|
# Print paths separated with colons for the notes found with the given
|
||||||
# arguments. This can be useful to expand a complex search query into a flag
|
# arguments. This can be useful to expand a complex search query into a flag
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
- another bullet
|
- another bullet
|
||||||
|
|
||||||
## tracking
|
## tracking
|
||||||
|
- [ ] 1hr GCP training
|
||||||
- [ ] harvest time sheet
|
- [ ] harvest time sheet
|
||||||
- [ ] exercise
|
- [ ] exercise
|
||||||
- [ ] dinner / logistics
|
- [ ] dinner / logistics
|
||||||
|
|||||||
12
zk/.config/zk/templates/meeting.md
Normal file
12
zk/.config/zk/templates/meeting.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# {{ title }}
|
||||||
|
Date: {{format-date now '%a, %b %d @ %H%M'}}
|
||||||
|
Description:
|
||||||
|
Attendees:
|
||||||
|
|
||||||
|
## Agenda
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
## Action Items
|
||||||
|
- [ ] Item
|
||||||
|
- [ ] Item
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
aws-get-bedrock-profile () {
|
aws-get-bedrock-profile () {
|
||||||
profile_arn=$(aws bedrock list-inference-profiles \
|
profile_id=$(aws bedrock list-inference-profiles \
|
||||||
| jq -r '.inferenceProfileSummaries
|
| jq -r '.inferenceProfileSummaries
|
||||||
| map(select(.inferenceProfileId | startswith("us.")))
|
| map(select(.inferenceProfileId | startswith("us.")))
|
||||||
| sort_by(.inferenceProfileName)
|
| sort_by(.inferenceProfileName)
|
||||||
| .[]
|
| .[]
|
||||||
| [.inferenceProfileArn, .inferenceProfileName, .description]
|
| [.inferenceProfileId, .inferenceProfileName, .description]
|
||||||
| @tsv' \
|
| @tsv' \
|
||||||
| fzf \
|
| fzf \
|
||||||
--header="$(printf '%-30s\t%s\n' 'NAME' 'DESCRIPTION')" \
|
--header="$(printf '%-30s\t%s\n' 'NAME' 'DESCRIPTION')" \
|
||||||
@@ -12,6 +12,6 @@ aws-get-bedrock-profile () {
|
|||||||
--delimiter='\t' \
|
--delimiter='\t' \
|
||||||
--with-nth=2,3 \
|
--with-nth=2,3 \
|
||||||
| awk '{print $1}')
|
| awk '{print $1}')
|
||||||
[[ -z "$profile_arn" ]] && return 1
|
[[ -z "$profile_id" ]] && return 1
|
||||||
echo "$profile_arn"
|
echo "$profile_id"
|
||||||
}
|
}
|
||||||
|
|||||||
3
zsh/.local/share/zsh/functions/gcloud-login
Normal file
3
zsh/.local/share/zsh/functions/gcloud-login
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
gcloud-login() {
|
||||||
|
gcloud auth login --update-adc
|
||||||
|
}
|
||||||
@@ -15,6 +15,9 @@ export GOPATH=~/go
|
|||||||
|
|
||||||
export TZ=America/Kentucky/Louisville
|
export TZ=America/Kentucky/Louisville
|
||||||
|
|
||||||
|
export AWS_REGION=us-west-2
|
||||||
|
export REPO_OVERLAY_DIR=~/repos/repo-overlays/overlays
|
||||||
|
|
||||||
# doesn't work on arch for tmux
|
# doesn't work on arch for tmux
|
||||||
#path+=(~/bin)
|
#path+=(~/bin)
|
||||||
#path+=(~/.local/bin)
|
#path+=(~/.local/bin)
|
||||||
@@ -24,7 +27,6 @@ export TZ=America/Kentucky/Louisville
|
|||||||
export TMPDIR=/var/tmp
|
export TMPDIR=/var/tmp
|
||||||
|
|
||||||
export BROWSER=open_browser.sh
|
export BROWSER=open_browser.sh
|
||||||
export TF_PLUGIN_CACHE_DIR=~/.local/state/tofu
|
|
||||||
|
|
||||||
# With ghostty + tmux + nvim, having this autoset to 'truecolor' has a weird effect
|
# With ghostty + tmux + nvim, having this autoset to 'truecolor' has a weird effect
|
||||||
# unset COLORTERM
|
# unset COLORTERM
|
||||||
|
|||||||
Reference in New Issue
Block a user