Skip to content

Commit

Permalink
Add comment why conditional export
Browse files Browse the repository at this point in the history
  • Loading branch information
nui committed Nov 21, 2024
1 parent 57a4c19 commit ead2083
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ autoload -Uz use-gpg-ssh-agent
alias gpr=' git pull --rebase'
alias grrb=' git-reset-to-remote-branch'
}

# see https://dandavison.github.io/delta/environment-variables.html
(( ! ${+commands[delta]} )) && {
export GIT_PAGER='less -+F -+X -c'
}
Expand Down
2 changes: 2 additions & 0 deletions zsh/src/zshrc/25-alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ autoload -Uz use-gpg-ssh-agent
alias gpr=' git pull --rebase'
alias grrb=' git-reset-to-remote-branch'
}

# see https://dandavison.github.io/delta/environment-variables.html
(( ! ${+commands[delta]} )) && {
export GIT_PAGER='less -+F -+X -c'
}
Expand Down

0 comments on commit ead2083

Please sign in to comment.