I’m a Senior Software Engineer living in Berlin. Shifting limits based on quality and robustness. Cutting-edge software development. Defining durable and flexible interfaces. Creating rich and intuitive user experiences.

Tag: tools

Asdf and .tool-versions

This guide covers how to install and configure asdf, a flexible version manager for multiple languages. It walks through installing asdf via Homebrew, enabling support for legacy version files like .nvmrc, and setting up Node.js with the official plugin. You’ll also learn how to set a global default Node.js version and use a custom Bash function to automatically install the latest patch version for a given major release—streamlining the process of staying up to date.

AWS Context Switch with Tab Autocompletion

This article explains how to create a custom awsctx command in Zsh to easily switch AWS profiles with tab autocompletion, similar to kubectx for Kubernetes. It guides you through defining the awsctx function, enabling Bash-style completion in Zsh using bashcompinit, and writing a Bash-based completion script that uses compgen to dynamically suggest AWS profile names. With this setup, users can quickly switch profiles using fuzzy search or direct tab-completion, streamlining AWS CLI workflows.