diff --git a/dot_zsh_aliases b/dot_zsh_aliases index 7c1c811..8168465 100644 --- a/dot_zsh_aliases +++ b/dot_zsh_aliases @@ -48,6 +48,10 @@ alias tsearchtimeline='twitter search timeline' alias tstream='rainbowstream' alias mystream='tstream' +# RSS +alias addfeed='rssadd' +alias addrss='rssadd' + # Search alias ddg='ddgr' alias goo='googler' @@ -97,8 +101,6 @@ alias du='ncdu --color dark -rr -x --exclude .git --exclude node_modules' alias weather='weather "?lang=fr&"' alias headers='curl -I --compress' # Find out if remote server supports gzip / mod_deflate or not # alias hist='history' - - alias path='echo -e ${PATH//:/\\n}' # Explode and display current PATH alias ping='prettyping -c 5 --nolegend' # Stop after sending count ECHO_REQUEST packets alias https='http --default-scheme=https' # useful alias stealed from a colleague. http is provided by httpie diff --git a/dot_zsh_functions b/dot_zsh_functions index 6ccd05a..ff1bdca 100644 --- a/dot_zsh_functions +++ b/dot_zsh_functions @@ -322,3 +322,7 @@ function brewadd { brew install "$1" ansible 127.0.0.1 -m lineinfile -a "path=~/Brewfile line='brew \"$1\"'" } +function rssadd { + ansible 127.0.0.1 -m lineinfile -a "path=~/.newsboat/urls line='"$1"'" + newsboat +} diff --git a/private_dot_newsboat/urls b/private_dot_newsboat/urls index c051056..1798175 100644 --- a/private_dot_newsboat/urls +++ b/private_dot_newsboat/urls @@ -1 +1,2 @@ https://sebsauvage.net/links/?do=rss +https://opensource.com/feed