diff options
author | defanor <defanor@uberspace.net> | 2017-10-28 23:01:16 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2017-10-28 23:16:05 +0300 |
commit | df109c1d786a9fdb89333b8ac7afccc78e424978 (patch) | |
tree | 80060102bf9bc7d9887f4fbc77e95608318aa422 /Pancake.hs | |
parent | 60790b4368518134a14166fcad535f96d05c7765 (diff) |
Use plain curl for gopher by default
Though the gopher onion initiative is nice, that's an unnecessary
dependency here -- better to not set by default.
Diffstat (limited to 'Pancake.hs')
-rw-r--r-- | Pancake.hs | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -393,7 +393,7 @@ data Config = Config { commands :: M.Map String String -- direction) to keep. } deriving (Generic, Show) --- | For configuration parsing +-- | For configuration parsing. instance FromJSON Config -- | For configuration writing, particularly that of default -- configuration if it is missing. @@ -403,8 +403,7 @@ instance ToJSON Config instance Default Config where def = Config { commands = M.fromList [ ("ssh", "scp \"${URI_REGNAME}:${URI_PATH}\" /dev/stdout") - -- gopher://bitreich.org:70/1/onion - , ("gopher", "torify curl \"${URI}\"")] + , ("gopher", "curl \"${URI}\"")] , defaultCommand = "curl -4 -L \"${URI}\"" , externalViewers = M.fromList $ map (flip (,) "emacsclient") ["hs", "cabal", "c", "h", "el", "scm", "idr"] |