Update to jekyll 3.0
This commit is contained in:
@@ -29,7 +29,7 @@ reddit urls before passing them to w3m (as well as fixing a double forward slash
|
||||
error in the comment uri cortex outputs that desktop reddit accepts but mobile
|
||||
reddit 404s on). The script:
|
||||
|
||||
```bash
|
||||
~~~ bash
|
||||
#!/bin/bash
|
||||
|
||||
args=()
|
||||
@@ -64,7 +64,7 @@ for arg in "${args[@]}" ; do
|
||||
w3m "${url}"
|
||||
fi
|
||||
done
|
||||
```
|
||||
~~~
|
||||
|
||||
Since I regurally use [Tmux](http://tmux.sourceforge.net/) (with
|
||||
[Byobu](http://byobu.co/)), I also added an optional `-t`/`--tmux` switch that
|
||||
@@ -73,10 +73,10 @@ will open w3m in a temporary new tmux window that will close when w3m is closed.
|
||||
I saved the script as `w3m-reddit` and made it an executable command. In Ubuntu
|
||||
that's done with the following commands:
|
||||
|
||||
```bash
|
||||
~~~ bash
|
||||
$ sudo mv w3m-reddit /usr/bin/
|
||||
$ sudo chmod +x /usr/bin/w3m-reddit
|
||||
```
|
||||
~~~
|
||||
|
||||
Now cortex needs to be configured to use `w3m-reddit`, and that's done by
|
||||
setting `browser-command` in the cortex config at `~/.cortex/config` to
|
||||
|
||||
Reference in New Issue
Block a user