Skip to content

Commit

Permalink
fix: Evaluate rr lazily
Browse files Browse the repository at this point in the history
woops lol
  • Loading branch information
alexpovel committed Sep 8, 2023
1 parent dd744e5 commit 659b4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export ZSH_COLORIZE_STYLE="dracula"

# Gets current git repository's root directory, if possible. Use as `z `rr``, for
# example. Works with Tab completion.
alias rr="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
alias rr='git rev-parse --show-toplevel 2>/dev/null || pwd'

# =====================================================================================
# Custom aliases
Expand Down

0 comments on commit 659b4fe

Please sign in to comment.