Skip to content

Commit

Permalink
feat: support git log better padding with less
Browse files Browse the repository at this point in the history
  • Loading branch information
Avivbens committed Jan 17, 2024
1 parent 5f2b932 commit ab024ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zsh/extends/.zshrc.extends.git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ alias gr="git rebase"
alias gunlast="git reset --soft HEAD~1"
alias pq="pretty-quick --staged"

# setup less to fit with git log, in order to search and see the hash of the commit
# set the number of padding lines to 15
export LESS="-FXRSj15"

function gmd(){
git pull
git merge origin/dev
Expand Down

0 comments on commit ab024ff

Please sign in to comment.