mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 00:05:10 +01:00
Page through ripgrep output with less, preserving highlights
This commit is contained in:
@@ -97,6 +97,10 @@ function grepl
|
||||
grep --color=always -ir $argv | less -R
|
||||
end
|
||||
|
||||
function rgl
|
||||
rg -p $argv | less -RFX
|
||||
end
|
||||
|
||||
## Various
|
||||
#alias tmux 'tmux -2'
|
||||
alias tmux_reload "tmux source-file ~/.tmux.conf"
|
||||
|
||||
Reference in New Issue
Block a user