1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Alias 'grepl' for colour-enabled recursive grep and less

This commit is contained in:
2016-05-01 20:07:16 +02:00
parent 3e13536ce9
commit 96a5c1cd46

View File

@@ -44,6 +44,9 @@ alias findjs 'find . -name "*.js" | xargs grep --color=auto'
alias findcss 'find . -name "*.css" | xargs grep --color=auto'
alias findpy 'find . -name "*.py" | xargs grep --color=auto'
alias findyaml 'find . -name "*.yaml" -o -name "*.yml" -o -name "*.eyaml" -o -name "*.eyml" | xargs grep --color=auto'
function grepl
grep --color=always -ir $argv | less -R
end
## Various
alias tmux 'tmux -2'