Skip to content

Commit

Permalink
Add browser plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
adrw committed Feb 8, 2024
1 parent 742c37c commit b3417cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ansible/roles/adrw-shell/files/.adrw-functions
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,15 @@ function gcom {

# git new branch
function gcob {
userPrefix=$(git remote -v | head -n 1 | cut -d ":" -f 1 | cut -d "-" -f 2)
githubRemotePrefix=$(git remote -v | head -n 1 | cut -d ":" -f 1 | cut -d "-" -f 2)

userPrefix=""
if [[ "$githubRemotePrefix" == "origin"*"[email protected]" ]]; then
userPrefix="adrw"
else
userPrefix="$githubRemotePrefix"
fi

if [[ $# == 0 ]]; then
git checkout -b "$(date +"$userPrefix.%Y-%m-%d.WIP%H%M%S")"
else
Expand Down
3 changes: 3 additions & 0 deletions docs/browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
- DuckDuckGo Privacy Essentials
- uBlock Origin
- OneTab
- Dark Reader
- ModHeaders
- Adblock Home
- Redux DevTools
- React DevTools
- Honey
Expand Down

0 comments on commit b3417cf

Please sign in to comment.