![]() ![]() It’s stable,įast and easily configurable via a single starhship.toml file. That proactively prevents executing commands in the wrong environment For that reason, I like to have all such information in my shell Work with Git, multiple K8s clusters, Azure Accounts and other differentĬontexts. As a cloud infrastructure engineer though, I In the next step we configure our shell prompt. # general stuff export LC_ALL =en_US.UTF-8 # set default language settings export LANG =en_US.UTF-8Įxport TERM =xterm-256color # enable true color support # environment variables, used by CLI tools like git export EDITOR = "emacsclient -t" export VISUAL = "emacsclient -c" # git will use emacs for commit messages, you can replace this with your favorite editor export GIT_EDITOR = "emacsclient -c" export PAGER =less # used by git commands in order to print git log, git diff outputs # aliases alias e = 'emacsclient -t' # emacs is my favorite editor, so the alias is very short :) alias ecc = 'emacsclient -c' # use emacs server instead of starting a new emacs process alias ew = 'emacs -nw -q' # start clean emacs without loading any configuration alias edd = 'emacs -daemon' # start emacs server in background -> instant emacs startup time alias ag = 'ag -path-to-ignore ~/.agignore' alias k = 'kubectl' # short k8s commands alias kd = 'kubectl describe' alias t = 'terraform' # short terraform commands alias gdiff = 'git diff -no-index' # use git diff for non-versioned files # kubectl subcommand completion source mem emacs # shows the memory consumption of the emacs process mem () plugins =(git ) # enable oh-my-zsh source $ZSH/oh-my-zsh.sh # file: ~/.zshrc (selected parts) # oh-my-zsh location export ZSH = "$HOME /.oh-my-zsh" # default oh-my-zsh prompt ZSH_THEME = "robbyrussell" # enable plugins which provide aliases etc. For Ubuntu, you can install and enable Nerd Fonts with the following ![]() It comes with icons for Kubernetes, Python, Java, Golang, Rust which pretty up Alacritty (minimal, blazing fast, written in Rust)įor a modern look-and-feel, I suggest Nerd Fonts.Use a modern Terminal #Ī good terminal application is the main entrance to your shell environmentĪnd crucial a top-notch developer experience. Productivity, so you don’t have to go same tiresome learning process as I did. In thisĪrticle, I want to show you how I configured my shell for ultimate However, itĬomes with a catch, a full shell configuration takes time and effort. ![]() No need to re-learn your toolset every few years. The shell has existed for 50+ years, and since it’s highlyĪdaptable, it’s not going anywhere which makes it a great knowledge investmentįor the future. Because it isĬonfigurable, you can make it truly your own, thereby surpassing out-of-the-boxĮxperience of IDEs. Despite beingĪround forever, the shell is highly customizable and with a goodĬonfiguration, it is on par with modern graphical IDEs. The Unix shell/Command-Line Interface (CLI) is an ancient tool.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |