Skip to content

Instantly share code, notes, and snippets.

@curusarn
curusarn / issue_demo_glamour.go
Last active May 4, 2024 16:13
Bubbletea color issues
package main
import (
"log"
"os"
"github.com/charmbracelet/bubbles/viewport"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/glamour"
"github.com/charmbracelet/lipgloss"
@curusarn
curusarn / stack_overflow_90min_limit.txt
Created February 8, 2018 00:36
Call bash-completion for another command from within completion function.
_example()
{
local cur prev
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if [[ ${prev} == example ]] ; then
COMPREPLY=( $(compgen -W "git" -- ${cur}) )

Keybase proof

I hereby claim:

  • I am curusarn on github.
  • I am curusarn (https://keybase.io/curusarn) on keybase.
  • I have a public key ASBa7vNZuFg0QWmj1ZDQrfBwF7LLKN_7Cj2MkvyyCs7_2go

To claim this, I am signing this object: