silikonamazing.blogg.se

Customize iterm
Customize iterm













The file itself is ~/.oh-my-zsh/themes/agnoster.zsh-theme, and within there we need to look at the prompt_git function.Īt the time of writing that’s a 43 line bash function with a LOT of cryptic things going on. Having talked to a bunch of friends on a Discord server, they suggested I check out the agnoster theme’s file to see how the prompt is actually being printed.

customize iterm

From memory I had to mess around with some environment variables in my ~/.zshrc file, but that’s the only thing I have to go on.

customize iterm

#Customize iterm how to

Sadly none of my computers (dating back to 2011) have that setting any more, so need to find how to do it again. However what I’m missing is the last commit’s short sha after the branch name, so let’s do that!įirst off, I know it’s possible, because I’ve done it in the past. Once iTerm2 is set to solarized light, background is somewhat opaque and blurry, Agnoster set as the theme, and Fira Code is at 16pt size, this is what my terminal looks like: Yes, I also installed the powerline fonts, though I’m using Fira Code, which has those built in already. Main reason being is that I don’t like the cruft that just accumulated over the years however careful I was with what I installed.Īmong the first few bits I customised were iTerm2, oh my zsh to be my terminal, and the agnoster theme for it.

customize iterm

I’ve recently acquired a new machine to develop on and I recreated my environment from scratch instead of using time machine to migrate my old computer. I like being pedantic about what my terminal looks like. Glad you clicked through, turns out clickbait headers work! 😁













Customize iterm