-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_aliases
35 lines (27 loc) · 1 KB
/
.bash_aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# User specific aliases and functions
#
alias grep='grep --color'
alias psa='ps -axuwf'
#alias ls='exa -ag'
alias la='exa -lag'
#alias ll='exa -lahg'
# todo-txt
alias todo='todo-txt'
alias t='todo-txt'
# twtxt
alias twtxt_users="curl 'https://twtxt.envs.net/api/plain/users'"
twtxt_user() { curl 'https://twtxt.envs.net/api/plain/users?q='"$1" ; }
twtxt_user_url() { curl 'https://twtxt.envs.net/api/plain/users?url='"$1" ; }
alias twtxt_tweets="curl 'https://twtxt.envs.net/api/plain/tweets'"
twtxt_tweet() { curl 'https://twtxt.envs.net/api/plain/tweets?q='"$1" ; }
alias twtxt_tags="curl 'https://twtxt.envs.net/api/plain/tags'"
twtxt_tag() { curl 'https://twtxt.envs.net/api/plain/tags/'"$1" ; }
alias twtxt_mentions="curl 'https://twtxt.envs.net/api/plain/mentions'"
twtxt_mention_url() { curl 'https://twtxt.envs.net/api/plain/mentions?url='"$1" ; }
#
# envs.sh
#
0file() { curl -F"file=@$1" https://envs.sh ; }
0url() { curl -F"url=$1" https://envs.sh ; }
0short() { curl -F"shorten=$1" https://envs.sh ; }