<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>starship - Blog - Rico Berger</title><link>https://ricoberger.de/blog/tags/starship/</link><description>Blog Posts about starship</description><language>en-us</language><copyright>Rico Berger</copyright><pubDate>Tue, 13 Oct 2026 06:17:44 +0000</pubDate><lastBuildDate>Tue, 13 Oct 2026 06:17:44 +0000</lastBuildDate><image><url>https://ricoberger.de/assets/img/icons/icon.png</url><title>Rico Berger</title><link>https://ricoberger.de</link><width>1024</width><height>1024</height></image><item><title>My Dotfiles</title><link>https://ricoberger.de/blog/posts/my-dotfiles/</link><description><![CDATA[<p>In this blog post, I&#39;ll take you through my complete
<a href="https://github.com/ricoberger/dotfiles">dotfiles</a>, detailing the tools and
configurations that empower my development process. From my terminal choice to
the editor I rely on, and even the GitHub CLI commands that simplify my
workflow, I&#39;ll share insights and tips that might just inspire you to optimize
your own environment. Whether you&#39;re a seasoned developer or just starting,
there&#39;s something here for everyone looking to enhance their macOS experience.
Let&#39;s dive in!</p>
<p><a href="https://ricoberger.de/blog/posts/my-dotfiles/assets/terminal.png"><img src="https://ricoberger.de/blog/posts/my-dotfiles/assets/terminal.png" alt="Terminal"/></a></p>
<h2>OS Setup</h2>
<p>I&#39;m using macOS as my daily development environment, and together with
<a href="https://www.raycast.com/">Raycast</a>, I couldn&#39;t be happier with it. Raycast
allows me to quickly create notes and reminders, view my calendar entries,
GitHub pull requests and issues, and Jira tickets. I&#39;m also using it as a
replacement for the built-in Spotlight search and for managing spaces<sup id="fnref:1"><a class="footnote-ref" href="#fn:1" role="doc-noteref">1</a></sup> and
windows.</p>
<h2>Terminal</h2>
<p>By the end of last year, I switched from <a href="https://alacritty.org/">Alacritty</a> to
<a href="https://ghostty.org/">Ghostty</a> as my go-to terminal emulator (yes, the hype
caught me 😅). Ghostty provides most of the features out of the box that I used
tmux for in the past, such as multiple windows, tabs, and panes. It is super
fast, and the available configuration options are on point (not too much, not
too little). The only thing I would wish for is an API so that windows, tabs,
and panes can be created programmatically, which is currently only possible via
AppleScript. In my Ghostty configuration<sup id="fnref:2"><a class="footnote-ref" href="#fn:2" role="doc-noteref">2</a></sup> I set my prefered
<a href="https://catppuccin.com">color scheme</a>,
<a href="https://github.com/microsoft/cascadia-code">font</a> and some key bindings.</p>
<p>As my shell<sup id="fnref:3"><a class="footnote-ref" href="#fn:3" role="doc-noteref">3</a></sup>, I&#39;m using <a href="https://www.zsh.org/">Zsh</a> with
<a href="https://github.com/zdharma-continuum/zinit">Zinit</a> to manage the following
plugins:</p>
<ul>
<li><a href="https://github.com/zsh-users/zsh-completions">zsh-users/zsh-completions</a>:
Additional completion definitions for Zsh</li>
<li><a href="https://github.com/zsh-users/zsh-autosuggestions">zsh-users/zsh-autosuggestions</a>:
Fish-like fast/unobtrusive autosuggestions for Zsh</li>
<li><a href="https://github.com/Aloxaf/fzf-tab">Aloxaf/fzf-tab</a>: Replace Zsh&#39;s default
completion selection menu with fzf</li>
</ul>
<p>For the customization of my prompt<sup id="fnref:4"><a class="footnote-ref" href="#fn:4" role="doc-noteref">4</a></sup>, I&#39;m using
<a href="https://starship.rs/">Starship</a> to show the current OS and user, the directory
I&#39;m working in, the Git branch and status, the exit status of the last command,
the Kubernetes context and namespace, and the current time.</p>
<p>Other important tools I&#39;m using are:</p>
<ul>
<li><a href="http://tmux.github.io/">tmux</a><sup id="fnref:5"><a class="footnote-ref" href="#fn:5" role="doc-noteref">5</a></sup>: tmux is a terminal multiplexer, and while
I replaced most of its functionality with Ghostty, I&#39;m still using it on
servers where the benefit of persistent sessions is unmatched.</li>
<li><a href="https://github.com/junegunn/fzf">fzf</a>: fzf is a command-line fuzzy finder.</li>
<li><a href="https://github.com/BurntSushi/ripgrep">ripgrep</a>: ripgrep is a line-oriented
search tool that recursively searches the current directory for a regex
pattern.</li>
<li><a href="https://yazi-rs.github.io/">Yazi</a><sup id="fnref:6"><a class="footnote-ref" href="#fn:6" role="doc-noteref">6</a></sup>: Yazi is a blazing fast terminal file
manager written in Rust, based on async I/O. It is fairly new in my workflow,
but I want to try it out more to stay within the terminal when doing file
oeprations instead of running <code>open .</code> and doing these operations via the
Finder.</li>
</ul>
<h2>Editor</h2>
<p><a href="https://neovim.io/">Neovim</a> has become my daily editor of choice due to its
powerful features and flexibility. As an extensible text editor based on Vim, it
allows me to tailor it to my specific workflow, whether I&#39;m coding, writing, or
debugging issues. Spending most of my time within the terminal, it is also
faster and feels more natural to stay within the terminal when editing files
instead of opening Visual Studio Code.</p>
<p><a href="https://ricoberger.de/blog/posts/my-dotfiles/assets/neovim.png"><img src="https://ricoberger.de/blog/posts/my-dotfiles/assets/neovim.png" alt="Neovim Dashboard"/></a></p>
<p>Currently, I&#39;m using the following plugins for tasks such as fuzzy searching
files, Git integrations, code completion, formatting, linting, and some AI
features:</p>
<ul>
<li><a href="https://github.com/folke/lazy.nvim">lazy.nvim</a>: A modern plugin manager for
Neovim</li>
<li><a href="https://github.com/catppuccin/nvim">catppuccin</a>: Soothing pastel theme for
Neovim</li>
<li><a href="https://github.com/nvim-lualine/lualine.nvim">lualine.nvim</a>: A blazing fast
and easy to configure Neovim statusline plugin written in pure lua</li>
<li><a href="https://github.com/folke/snacks.nvim">snacks.nvim</a>: A collection of QoL
plugins for Neovim</li>
<li><a href="https://github.com/lewis6991/gitsigns.nvim">gitsigns.nvim</a>: Git integration
for buffers</li>
<li><a href="https://github.com/sindrets/diffview.nvim">diffview.nvim</a>: Single tabpage
interface for easily cycling through diffs for all modified files for any git
rev</li>
<li><a href="https://github.com/nvim-treesitter/nvim-treesitter">nvim-treesitter</a>: Nvim
Treesitter configurations and abstraction layer</li>
<li><a href="https://github.com/nvim-treesitter/nvim-treesitter-context">nvim-treesitter-context</a>:
Show code context</li>
<li><a href="https://github.com/nvim-treesitter/nvim-treesitter-textobjects">nvim-treesitter-textobjects</a>:
Syntax aware text-objects, select, move, swap, and peek support</li>
<li><a href="https://github.com/neovim/nvim-lspconfig">nvim-lspconfig</a>: Quickstart configs
for Nvim LSP</li>
<li><a href="https://github.com/towolf/vim-helm">vim-helm</a>: Vim syntax for helm templates
(yaml + gotmpl + sprig + custom)</li>
<li><a href="https://github.com/stevearc/conform.nvim">conform.nvim</a>: Lightweight yet
powerful formatter plugin for Neovim</li>
<li><a href="https://github.com/mfussenegger/nvim-lint">nvim-lint</a>: An asynchronous linter
plugin for Neovim complementary to the built-in Language Server Protocol
support</li>
<li><a href="https://github.com/Saghen/blink.cmp">blink.cmp</a>: Performant,
batteries-included completion plugin for Neovim</li>
<li><a href="https://github.com/fang2hou/blink-copilot">blink-copilot</a>: Configurable
GitHub Copilot blink.cmp source for Neovim</li>
<li><a href="https://github.com/rafamadriz/friendly-snippets">friendly-snippets</a>: Set of
preconfigured snippets for different languages</li>
<li><a href="https://github.com/jake-stewart/multicursor.nvim">multicursor.nvim</a>: Multiple
cursors in Neovim</li>
<li><a href="https://github.com/folke/todo-comments.nvim">todo-comments.nvim</a>: Highlight,
list and search todo comments in your projects.</li>
<li><a href="https://github.com/zbirenbaum/copilot.lua">copilot.lua</a>: Fully featured &amp;
enhanced replacement for copilot.vim complete with API for interacting with
Github Copilot</li>
<li><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim">CopilotChat.nvim</a>: Chat
with GitHub Copilot in Neovim</li>
</ul>
<p>While all the plugins mentioned above are awesome and fulfill a specific need, I
want to give a special shoutout to
<a href="https://github.com/jake-stewart/multicursor.nvim">multicursor.nvim</a>, which was
the last missing plugin for me to fully abandon Visual Studio Code.</p>
<h2>GitHub CLI</h2>
<p>Last but not least, I also want to take a look at my workflow with GitHub
because it is an important part of my daily work, and I&#39;m a bit proud of it. I&#39;m
a heavy user of the <a href="https://cli.github.com/">GitHub CLI</a> (<code>gh</code>) and the
<a href="https://github.com/dlvhdr/gh-dash">gh-dash</a> extension, because it allows me to
stay for most of my work within the terminal.</p>
<p>I use the GitHub CLI to create pull requests via the <code>gh pr create</code> command, to
add / remove labels, to view the workflow runs for a pull request and to merge
them. All with the help of some nice helper functions which can be found in the
<a href="https://github.com/ricoberger/dotfiles/tree/main/.bin"><code>.bin</code></a> directory in my
dotfiles.</p>
<pre><code class="language-sh"># Add a label to the pull request, by selecting the label via fzf from a list of
# all available labels in the repository
gh pr edit $1 --add-label &#34;$(gh label list --json name --jq &#34;.[].name&#34; | fzf)&#34;

# Delete a label from the pull request, by selecting the label via fzf from a
# a list of all labels from the pull request
gh pr edit $1 --remove-label &#34;$(gh pr view $1 --json labels --jq &#34;.labels.[].name&#34; | fzf)&#34;

# View the logs of a workflow run, by selecting the workflow run via fzf
branch=$(git rev-parse --abbrev-ref HEAD)
workflow=$(gh run list --branch $branch --json databaseId,workflowName,createdAt,status --template &#39;{{range .}}{{printf &#34;%.0f&#34; .databaseId}}{{&#34;\t&#34;}}{{.status}}{{&#34;\t&#34;}}{{.createdAt}}{{&#34;\t&#34;}}{{.workflowName}}{{&#34;\n&#34;}}{{end}}&#39; | fzf)
gh run view &#34;$(echo $workflow | awk &#39;{print $1}&#39;)&#34; --log

# Squash the commits into one commit and merge it into the base branch, also
# delete the local and remote branch after merge
gh pr merge $1 --squash --delete-branch --admin
</code></pre>
<p>These commands are also integrated into my gh-dash configuration<sup id="fnref:7"><a class="footnote-ref" href="#fn:7" role="doc-noteref">7</a></sup>. gh-dash is
an extension for the GitHub CLI to display a dashboard with pull requests and
issues. It integrates beautifully with tmux and Neovim:</p>
<ul>
<li>Open the diff of a pull request in Neovim
<a href="https://github.com/sindrets/diffview.nvim">diffview.nvim</a> via
<code>cd {{.RepoPath}} &amp;&amp; gh pr checkout {{.PrNumber}} &amp;&amp; nvim -c &#34;:DiffviewOpen origin/HEAD...HEAD --imply-local&#34;</code>
or with tmux via
<code>tmux new-window -n &#34;{{.RepoName}}/{{.PrNumber}}&#34; -c {{.RepoPath}} &#39;gh pr checkout {{.PrNumber}} &amp;&amp; nvim -c &#34;:DiffviewOpen origin/HEAD...HEAD --imply-local&#34;&#39;</code></li>
<li>Open a pull request in Neovim
<a href="https://github.com/pwntester/octo.nvim">octo.nvim</a> via
<code>cd {{.RepoPath}} &amp;&amp; nvim -c &#34;:Octo pr edit {{.PrNumber}}&#34;</code> or with tmux via
<code>tmux new-window -n &#34;{{.RepoName}}/{{.PrNumber}}&#34; -c {{.RepoPath}} &#39;nvim -c &#34;:Octo pr edit {{.PrNumber}}&#34;&#39;</code></li>
<li>Open an issue in Neovim <a href="https://github.com/pwntester/octo.nvim">octo.nvim</a>
via <code>cd {{.RepoPath}} &amp;&amp; nvim -c &#34;:Octo issue edit {{.IssueNumber}}&#34;</code> or with
tmux via
<code>tmux new-window -n &#34;{{.RepoName}}/{{.IssueNumber}}&#34; -c {{.RepoPath}} &#39;nvim -c &#34;:Octo issue edit {{.IssueNumber}}&#34;&#39;</code></li>
</ul>
<p><a href="https://ricoberger.de/blog/posts/my-dotfiles/assets/gh-dash-neovim-diffview.png"><img src="https://ricoberger.de/blog/posts/my-dotfiles/assets/gh-dash-neovim-diffview.png" alt="gh-dash and Neovim Diffview"/></a></p>
<div class="footnotes" role="doc-endnotes">
<hr/>
<ol>
<li id="fn:1">
<p><a href="https://github.com/ricoberger/dotfiles/blob/main/.bin/raycast/create-new-space.applescript">Create new Spaces via AppleScript</a> <a class="footnote-backref" href="#fnref:1" role="doc-backlink">↩︎</a></p>
</li>
<li id="fn:2">
<p><a href="https://github.com/ricoberger/dotfiles/blob/main/.config/ghostty/config">Ghostty Configuration</a> <a class="footnote-backref" href="#fnref:2" role="doc-backlink">↩︎</a></p>
</li>
<li id="fn:3">
<p><a href="https://github.com/ricoberger/dotfiles/blob/main/.zshrc">Zsh Configuration</a> <a class="footnote-backref" href="#fnref:3" role="doc-backlink">↩︎</a></p>
</li>
<li id="fn:4">
<p><a href="https://github.com/ricoberger/dotfiles/blob/main/.config/starship.toml">Starship Configuration</a> <a class="footnote-backref" href="#fnref:4" role="doc-backlink">↩︎</a></p>
</li>
<li id="fn:5">
<p><a href="https://github.com/ricoberger/dotfiles/blob/main/.tmux.conf">tmux Configuration</a> <a class="footnote-backref" href="#fnref:5" role="doc-backlink">↩︎</a></p>
</li>
<li id="fn:6">
<p><a href="https://github.com/ricoberger/dotfiles/tree/main/.config/yazi">Yazi Configuration</a> <a class="footnote-backref" href="#fnref:6" role="doc-backlink">↩︎</a></p>
</li>
<li id="fn:7">
<p><a href="https://github.com/ricoberger/dotfiles/blob/main/.config/gh-dash/config.yml">gh-dash Configuration</a> <a class="footnote-backref" href="#fnref:7" role="doc-backlink">↩︎</a></p>
</li>
</ol>
</div>
]]></description><author>Rico Berger</author><enclosure url="https://ricoberger.de/blog/posts/my-dotfiles/assets/terminal.png" type="image/png"></enclosure><guid isPermaLink="true">https://ricoberger.de/blog/posts/my-dotfiles/</guid><pubDate>Sat, 01 Mar 2025 19:00:00 +0000</pubDate></item></channel></rss>