rg
This commit is contained in:
parent
40f9a75d5e
commit
b6dcf981de
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
# binde Funktionen ein
|
||||||
|
source ~/.bash_functions
|
||||||
|
|
||||||
# tmux
|
# tmux
|
||||||
alias tmuxa="tmux a -t "
|
alias tmuxa="tmux a -t "
|
||||||
alias tmuxn="tmux new -s "
|
alias tmuxn="tmux new -s "
|
||||||
|
@ -47,3 +50,5 @@ alias dcr="docker-compose down && docker-compose up -d"
|
||||||
alias mv="mv -i "
|
alias mv="mv -i "
|
||||||
alias cp="cp -i "
|
alias cp="cp -i "
|
||||||
alias rm="rm -i "
|
alias rm="rm -i "
|
||||||
|
# rg
|
||||||
|
alias rg="rg -i"
|
||||||
|
|
4
.bash_functions
Normal file
4
.bash_functions
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# rg, gibt nur Dateipfade aus, sucht nur nach Dateinamen
|
||||||
|
function rgf {
|
||||||
|
rg --files -g "*$2*"
|
||||||
|
}
|
Loading…
Reference in a new issue