Skip to content
Snippets Groups Projects
Commit 5af7a16d authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Update aliases for git grep, add rg, snk

parent 673a58f4
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ alias lla='ls -hlAF' ...@@ -27,6 +27,7 @@ alias lla='ls -hlAF'
alias lsa='ls -AF' alias lsa='ls -AF'
alias llt='ls -hlFtr' alias llt='ls -hlFtr'
alias lat='ls -hlAFtr' alias lat='ls -hlAFtr'
alias snk='ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null'
alias ldapsearch='ldapsearch -o ldif-wrap=no' alias ldapsearch='ldapsearch -o ldif-wrap=no'
alias lds='ldapsearch -xZZ' alias lds='ldapsearch -xZZ'
alias ccze='ccze -A -o nolookups' alias ccze='ccze -A -o nolookups'
...@@ -47,9 +48,10 @@ alias gitl='git log' ...@@ -47,9 +48,10 @@ alias gitl='git log'
alias gitlp='git log -p' alias gitlp='git log -p'
alias gitla='git adog' alias gitla='git adog'
alias gitlv='git adogv' alias gitlv='git adogv'
alias gg='git grep' alias gg='git grep -i'
alias g='grep -iE' alias g='grep -iE'
alias gr='grep -RiE --exclude-dir=\.git' alias gr='grep -RiE --exclude-dir=\.git'
alias rg='rg -S --colors "line:fg:yellow" --colors "path:fg:green"'
alias trea='tree -a -I ".git"' alias trea='tree -a -I ".git"'
alias treea='trea' alias treea='trea'
alias tree='tree -I ".git"' alias tree='tree -I ".git"'
......
...@@ -119,4 +119,4 @@ ...@@ -119,4 +119,4 @@
adogd = !"git adogb --date=format:'%Y-%m-%d %H:%M:%S' --format=format:'%C(#d7ff5f)%h%C(reset)%C(auto)%d%C(reset) %C(normal)%s%C(reset) %C(#5fd7ff)%an%C(reset) %C(#d7d7ff)(%ad)%C(reset)'" adogd = !"git adogb --date=format:'%Y-%m-%d %H:%M:%S' --format=format:'%C(#d7ff5f)%h%C(reset)%C(auto)%d%C(reset) %C(normal)%s%C(reset) %C(#5fd7ff)%an%C(reset) %C(#d7d7ff)(%ad)%C(reset)'"
adogj = !"git adogv" adogj = !"git adogv"
adog = !"git adogv" adog = !"git adogv"
adogg = !"git adogv --grep" adogg = !"git adogv -i --grep"
...@@ -31,7 +31,7 @@ alias lsa='ls -AF' ...@@ -31,7 +31,7 @@ alias lsa='ls -AF'
alias llt='ls -hlFtr' alias llt='ls -hlFtr'
alias lat='ls -hlAFtr' alias lat='ls -hlAFtr'
alias s='ssh' alias s='ssh'
alias snk='ssh -o StrictHostKeyChecking=no' alias snk='ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null'
alias slapcat='slapcat -o ldif-wrap=no' alias slapcat='slapcat -o ldif-wrap=no'
alias ldapsearch='ldapsearch -o ldif-wrap=no' alias ldapsearch='ldapsearch -o ldif-wrap=no'
alias ldapimodify='ldapmodify -Y EXTERNAL -H ldapi://' alias ldapimodify='ldapmodify -Y EXTERNAL -H ldapi://'
...@@ -59,9 +59,10 @@ alias gitl='git log' ...@@ -59,9 +59,10 @@ alias gitl='git log'
alias gitlp='git log -p' alias gitlp='git log -p'
alias gitla='git adog' alias gitla='git adog'
alias gitlv='git adogv' alias gitlv='git adogv'
alias gg='git grep' alias gg='git grep -i'
alias g='grep -iE' alias g='grep -iE'
alias gr='grep -RiE --exclude-dir=\.git' alias gr='grep -RiE --exclude-dir=\.git'
alias rg='rg -S --colors "line:fg:yellow" --colors "path:fg:green"'
alias trea='tree -a -I ".git"' alias trea='tree -a -I ".git"'
alias treea='trea' alias treea='trea'
alias tree='tree -I ".git"' alias tree='tree -I ".git"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment