This commit is contained in:
Michael Grote 2021-06-23 20:18:14 +02:00
parent 40f9a75d5e
commit b6dcf981de
2 changed files with 9 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1,4 @@
# rg, gibt nur Dateipfade aus, sucht nur nach Dateinamen
function rgf {
rg --files -g "*$2*"
}