summaryrefslogtreecommitdiff
path: root/.config/shell
diff options
context:
space:
mode:
Diffstat (limited to '.config/shell')
-rw-r--r--.config/shell/aliasrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index cf9ef41..a6e920b 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -29,7 +29,7 @@ alias \
#cut -d\ -f4
alias \
g1='git add "$(git status -s | fzf | cut -b 1-3 --complement)"' \
- gr='git restore --staged' \
+ gr='git restore --staged "$(git status -s | fzf | cut -b 1-3 --complement)"' \
g2='git commit -S -m' \
g3='git push "$(git remote show | fzf)" HEAD' \
gs='git status' \