summaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-11-02 21:44:21 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-11-02 21:44:21 -0400
commit2066de2e4a639d1bfff7823ae37cb21a575799d0 (patch)
treebb6edc404a8023724a5744cb0ca19b6c84c0f96f /.config/zsh
parent82f25ae86ec13a41a77ad42d7c3a053148bbba55 (diff)
parent7c6065774adcc5adee9fd3220314ed149e4c1668 (diff)
Merge branch 'master' of github.com:ChausseBenjamin/dotfiles
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index ca70102..d1aa444 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -102,6 +102,8 @@ lfcd () {
}
alias f='lfcd'
+# Git Root
+alias gr='cd $(git rev-parse --show-cdup)'
# Load zsh-syntax-highlighting; should be last.
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null