This commit is contained in:
Fred Klassen 2023-02-08 10:32:26 -08:00
commit 7cc8cbbf87
No known key found for this signature in database
GPG key ID: E9E2149793BDE17E
2 changed files with 14 additions and 1 deletions

View file

@ -72,7 +72,6 @@ Windows
-------
* Install [Windows Terminal](https://github.com/microsoft/terminal)
* Recommend using WSL2 with Ubuntu and zsh installed there, but may be able to use Git Bash `wsl --install` (in Admin command prompt)
* other steps TBD
* continue to [Common Install Steps](#common-install-steps)

View file

@ -128,7 +128,21 @@ export MANPATH="/usr/local/man:/usr/local/ssl/share/man:$MANPATH"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias gld="git log --pretty=format:'%C(yellow)%h%C(reset) - %an [%C(green)%ar%C(reset)] %s'"
alias glsi='git ls-files --other --ignored --exclude-standard'
alias galiases='git config -l | grep alias | cut -c 7-'
gls='git log --stat --decorate --source -p'
alias glhistg="git log --graph --pretty=format:'%C(yellow)%h%C(bold white red)%d%Creset %s %C(bold green)%cr %Creset%C(white)%an' --abbrev-commit --date=relative"
alias gdmb='git branch --merged | grep -v "\*" | xargs -n 1 git branch -d'
alias gnb='git nb' # new branch aka checkout -b
alias gdtree='git diff-tree'
alias gdt='git difftool'
alias gmt='git mergetool'
unalias rm
# Homebrew upgrade packages (macOS only)
alias brewu='brew update && brew upgrade && brew cleanup && brew doctor'
# Other custom config
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh
ZSH_ALIAS_FINDER_AUTOMATIC=true