Skip to content

Commit

Permalink
zsh windows alias and git diff custom pager
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusvellone committed May 27, 2021
1 parent 698946d commit 3d31ce5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions git/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
gpgsign = true
[core]
editor = nvim
pager = git-split-diffs --color | less -RFX
[merge]
tool = vscode
keepBackup = false
Expand Down
2 changes: 2 additions & 0 deletions run/git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ echo "Running git dotfile configuration"

sudo apt-get install -y git

npm install -g git-split-diffs

ln -fs $PWD/git/.gitconfig $HOME/.gitconfig
1 change: 1 addition & 0 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ alias hg='history | grep'
alias vim='nvim'
alias ll='ls -lh'

alias windows='sudo grub-reboot "$(grep -i windows /boot/grub/grub.cfg | cut -d "\"" -f 2)"'
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

Expand Down

0 comments on commit 3d31ce5

Please sign in to comment.