]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Lynx has cool jumplist
authorSergey Matveev <stargrave@stargrave.org>
Tue, 19 Nov 2019 10:25:06 +0000 (13:25 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 19 Nov 2019 10:25:06 +0000 (13:25 +0300)
lynx/.lynx.cfg
lynx/.lynx_jumps.html [new file with mode: 0644]
zsh/.zshrc

index 4a6f80c01756fad391d4a14bf1f7d84e48fe0ebe..64c97d14c96cda95ca36a50e8576273ab6cce835 100644 (file)
@@ -7,3 +7,5 @@ ALERTSECS:1
 NO_REFERER_HEADER:TRUE
 NO_FROM_HEADER:TRUE
 MAKE_LINKS_FOR_ALL_IMAGES:TRUE
 NO_REFERER_HEADER:TRUE
 NO_FROM_HEADER:TRUE
 MAKE_LINKS_FOR_ALL_IMAGES:TRUE
+JUMPFILE:/home/stargrave/.lynx_jumps.html
+COOKIE_REJECT_DOMAINS:wikipedia.org,en.wikipedia.org,ru.wikipedia.org
diff --git a/lynx/.lynx_jumps.html b/lynx/.lynx_jumps.html
new file mode 100644 (file)
index 0000000..46ee144
--- /dev/null
@@ -0,0 +1,12 @@
+<html>
+<head>
+    <meta http-equiv="content-type" content="text/html; charset=utf-8">
+</head>
+<body><dl>
+    <dt>s<dd><a href="https://duckduckgo.com/lite/?q=%s">DuckDuckGo</a></dd>
+    <dt>we<dd><a href="https://en.wikipedia.org/wiki/%s">Wikipedia EN</a></dd>
+    <dt>wr<dd><a href="https://ru.wikipedia.org/wiki/%s">Wikipedia RU</a></dd>
+    <dt>google<dd><a href="https://www.google.com/search?q=%s">Google</a></dd>
+</dl>
+</body>
+</html>
index e50ce267c6f8a3ad9ffc2285fb0de72654c59548..1ed44c692cb64679c52694261f1d8cf97ca217fb 100644 (file)
@@ -88,16 +88,6 @@ ssht() {
 alias sshnm='ssh -S none'
 # }}}
 
 alias sshnm='ssh -S none'
 # }}}
 
-# Lynx {{{
-lwe() {
-    lynx -cookies "https://en.wikipedia.org/wiki/$1"
-}
-
-lwr() {
-    lynx -cookies "https://ru.wikipedia.org/wiki/$1"
-}
-# }}}
-
 # Git {{{
 alias Ga="git add"
 alias Gb="git branch"
 # Git {{{
 alias Ga="git add"
 alias Gb="git branch"