Does anyone incorporate any cool custom tooling in...
# geodesic
m
Does anyone incorporate any cool custom tooling into their Geodesic images? We recently added glow for markdown reading which has made the developer experience nice
j
@Erik Osterman (Cloud Posse) likes a lot of cool tools, but we do not distribute them with Geodesic to keep the image size down. We do include fzf, which can be very powerful if you get into it.
🔥 1
e
@Michael have a screenshot handy?
ah, yes this one
I've been wondering if we should adopt https://aquaproj.github.io/
👀 1
to simplify package managemnt
m
For sure, this was more of an exploratory question to see what other tools people are building into Geodesic that help them with their workflows. Here is a README in
glow
within Geodesic
e
and unify "tool versions in teams, projects, and CI."
that gives me an idea!
we should support
atmos docs vpc
and it print the docs for the component in glow!
m
Love it! I can prototype it using some custom commands and see how our team likes the docs functionality
👍 1
Here's how the
docs
command could work!
@Jeremy G (Cloud Posse) Since FZF is already installed, what do you think about implementing a reverse history search using FZF? I added this function to my
preferenced.d
, and it works smoothly for quick reverse lookups:
Copy code
# Add fzf to reverse search bash history
__fzf_history_search() {
  BUFFER=$(history | fzf --tac --no-sort --query "$READLINE_LINE" --height 40% --reverse | sed 's/ *[0-9]* *//')
  READLINE_LINE="$BUFFER"
  READLINE_POINT=${#BUFFER}
}

# Bind to Ctrl+R for Bash (replaces default reverse search)
bind -x '"\C-r": __fzf_history_search'
Looks like:
j
I think it is fine if you want to add it yourself, but the standard
bash
reverse search is what people are going to be expecting and be familiar with, so I would not want to ship an alternative by default.
👍 1
e
@Michael can you share an animated gif?
m
For sure, instead of seeing the typical
(reverse-i-search)
when Ctrl+R is pressed, it looks like this
e
Ok, let me dwell on it. It's inline with the sort of improvements we want to make. I also hear @Jeremy G (Cloud Posse)’s concern. Want to try it out and see how natural it is.
Also, we want to move to
starship
so we don't have to maintain the advanced prompt (PS1) foo
m
I really value Geodesic’s stability and appreciate how it balances that with useful features (like the prompt). I’m constantly experimenting, and for me, something like Starship doesn’t need to be built in, but having the flexibility to customize is both unique and beneficial—much like the community-driven command customization options in Atmos docs.
j
Personally, as a matter of taste, I don't like the
fzf
command history. Maybe, though, we should have a folder of enhancements people can just copy and paste into their personalizations, so they can pick and choose without having to reinvent things.