summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-05-02 19:19:53 -0400
committerJune McEnroe <june@causal.agency>2021-05-02 19:19:53 -0400
commitb3c55ab134eeb92128db4614caadd8cff1b49b03 (patch)
tree82248d1d45a8ae3056acb2b37d3a132a673c4580
parentAdd copy mode to typer (diff)
downloadsrc-b3c55ab134eeb92128db4614caadd8cff1b49b03.tar.gz
src-b3c55ab134eeb92128db4614caadd8cff1b49b03.zip
Alias ag to ag --pager
Diffstat (limited to '')
-rw-r--r--home/.shrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/.shrc b/home/.shrc
index 1f604764..355eb09b 100644
--- a/home/.shrc
+++ b/home/.shrc
@@ -6,6 +6,7 @@ alias vi=$EDITOR
 alias ls='LC_COLLATE=C ls -p'
 alias ll='ls -hl'
 alias bc='bc -l'
+alias ag='ag --pager=$PAGER'
 alias gs='git status --short --branch || ls' gd='git diff'
 alias gsh='git show' gl='git log --graph --pretty=log'
 alias gco='git checkout' gb='git branch' gm='git merge' gst='git stash'