enw
Joined 6 years ago
Karma
841
Submissions
233
Member since
Nov 27
Joined 6 years ago
setopt PROMPT_SUBST
HISTFILE=~/.zsh_history
HISTSIZE=100000
SAVEHIST=100000
PROMPT='%B%(?..%F{red}%?%f )%F{blue}%~ %F{green}%#%f%b '
RPROMPT='%B%F{red}$(git branch --show-current 2> /dev/null)%f%b'
And if you want autosuggestions: brew install zsh-autosuggestions
Then add the following to your ~/.zshrc: source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zshIf straight guys talked seriously about astrology they'd immediately get clowned on.
In any case, pain and other conscious beings are as real as it gets, so no matter how brief one lifetime is, you can have a real impact by making it better for those around you.
How come there are seemingly zero tests for what’s essentially critical infrastructure?
How do you make sure things keep working? How do you prevent regressions as team members change and tribal knowledge and intuition is lost? How do you ensure all future humans working on the project can make meaningful changes with confidence?
In our projects we only enable squash merge in GitHub and the PRs can have any commits you want. The squashed commit includes link to PR, and PR has detailed summary (which wouldn’t be practical in the commit message).