some twitter functions
This commit is contained in:
parent
77f3860a65
commit
5477cc1b2a
1 changed files with 10 additions and 2 deletions
|
@ -9,7 +9,15 @@
|
|||
TWITTER_WHOAMI = "glittershark1";
|
||||
};
|
||||
|
||||
programs.zsh.shellAliases = {
|
||||
programs.zsh = {
|
||||
shellAliases = {
|
||||
"mytl" = "t tl $TWITTER_WHOAMI";
|
||||
};
|
||||
|
||||
functions = {
|
||||
favelast = "t fave $(t tl -l $1 | head -n1 | cut -d' ' -f1)";
|
||||
rtlast = "t rt $(t tl -l $1 | head -n1 | cut -d' ' -f1)";
|
||||
tthread = "t reply $(t tl -l $TWITTER_WHOAMI | head -n1 | cut -d' ' -f1) $@";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue