add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
25
old_snippets/twtxt-config.en.md
Normal file
25
old_snippets/twtxt-config.en.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
title: "twtxt config alias"
|
||||
date: 2020-05-30T11:56:31+02:00
|
||||
draft: false
|
||||
snippet_types: ["zsh", "twtxt"]
|
||||
---
|
||||
|
||||
Recently I started using [twtxt](https://twtxt.readthedocs.io/en/stable/). I
|
||||
installed it with brew then setup it up via the quick setup command. The
|
||||
problem is when you put a config file location other then the default when
|
||||
you call the command you get a
|
||||
**"✗ Config file not found or not readable. You may want to run twtxt quickstart."**
|
||||
error. This is super annoying so I aliased the command to always include the location of my
|
||||
config file.
|
||||
|
||||
```diff
|
||||
alias gpf="gp --force"
|
||||
+ alias tw="twtxt -c ~/.twtxt/config"
|
||||
```
|
||||
|
||||
Now posting is as easy as:
|
||||
|
||||
```shell
|
||||
$ tw tweet "authoring a snippet on how to configure alias twtxt"
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue