manage bookmarks additions via cli
This commit is contained in:
parent
9e8cc03e01
commit
86709fa128
@ -70,6 +70,7 @@ alias se='sr -elvi'
|
|||||||
alias eg='env | grep -i' # search env variables for pattern
|
alias eg='env | grep -i' # search env variables for pattern
|
||||||
alias engines='sr -elvi'
|
alias engines='sr -elvi'
|
||||||
alias grep='rg'
|
alias grep='rg'
|
||||||
|
alias grip='grep -i'
|
||||||
alias usernames="python3 $HOME/Code/sherlock/sherlock.py --rank --print-found"
|
alias usernames="python3 $HOME/Code/sherlock/sherlock.py --rank --print-found"
|
||||||
alias ygg="torrengo -s ygg"
|
alias ygg="torrengo -s ygg"
|
||||||
alias ag='alias | grep -i' # search for patten among aliases
|
alias ag='alias | grep -i' # search for patten among aliases
|
||||||
|
@ -374,6 +374,9 @@ function rssadd {
|
|||||||
ansible 127.0.0.1 -m lineinfile -a "path=~/.newsboat/urls line='"$1"'"
|
ansible 127.0.0.1 -m lineinfile -a "path=~/.newsboat/urls line='"$1"'"
|
||||||
newsboat
|
newsboat
|
||||||
}
|
}
|
||||||
|
function bookmarkadd {
|
||||||
|
ansible 127.0.0.1 -m lineinfile -a "path=~/Code/bookmarks/README.md insertafter='"$1"' line='* "$2"'"
|
||||||
|
}
|
||||||
function backupgithub {
|
function backupgithub {
|
||||||
curl -sL "https://api.github.com/users/$1/repos" | jq -r '.[] | .ssh_url' | xargs -n1 git clone --mirror --no-hardlinks
|
curl -sL "https://api.github.com/users/$1/repos" | jq -r '.[] | .ssh_url' | xargs -n1 git clone --mirror --no-hardlinks
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user