This commit is contained in:
Marco Thomas
2022-05-16 07:49:58 +02:00
parent 27d0dae22c
commit d76b99cfff
7 changed files with 67 additions and 30 deletions

View File

@@ -73,6 +73,13 @@ powermode() {
echo 'Invalid option'
fi
}
replace() {
from=$1
to=$2
find -type f -exec sed -i -e "s/${from}/${to}/g" {} \;
}
alias o='xdg-open' # to change a mime use: `xdg-mime default APPLICATION HANDLE`
alias con='nmcli con'
alias conup='nmcli con up id'