summaryrefslogtreecommitdiff
path: root/.bashrc_local_home
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2018-09-30 23:07:56 +0000
committerMike Crute <mike@crute.us>2018-09-30 23:08:13 +0000
commitb8e73897c4075a408136bf24c9c524c913c827e5 (patch)
treecddec694e12d7baea7b34922993bf4a73aa042b1 /.bashrc_local_home
parent7e85648844e67057ee0caea88be98b502bad957b (diff)
downloaddotfiles-b8e73897c4075a408136bf24c9c524c913c827e5.tar.bz2
dotfiles-b8e73897c4075a408136bf24c9c524c913c827e5.tar.xz
dotfiles-b8e73897c4075a408136bf24c9c524c913c827e5.zip
Add home bashrc_local
Diffstat (limited to '.bashrc_local_home')
-rw-r--r--.bashrc_local_home32
1 files changed, 32 insertions, 0 deletions
diff --git a/.bashrc_local_home b/.bashrc_local_home
new file mode 100644
index 0000000..ada3d73
--- /dev/null
+++ b/.bashrc_local_home
@@ -0,0 +1,32 @@
1function newsboat
2{
3 TAB_PORT=1424
4 if netstat -lvnt | grep 0.0.0.0:1425 >/dev/null 2>&1; then
5 TAB_PORT=1425
6 fi
7
8 docker run -ti \
9 -e TERM=$TERM \
10 -e TAB_PORT=$TAB_PORT \
11 --detach-keys ctrl-@ \
12 -v $HOME/bin:/home/newsboat/bin:ro \
13 -v $HOME/.newsbeuter:/home/newsboat/.newsboat \
14 docker.crute.me/newsboat:latest
15}
16export -f newsboat
17
18function mutt
19{
20 docker run -ti \
21 -e TERM_BG_SHADE=$TERM_BG_SHADE \
22 -e TERM=$TERM \
23 -v $HOME/contacts.txt:/home/mutt/contacts.txt:ro \
24 -v $HOME/.vim:/home/mutt/.vim:ro \
25 -v $HOME/.mutt/:/home/mutt/.mutt:ro \
26 -v $HOME/Mail:/home/mutt/Mail:ro \
27 -v $HOME/share:/home/mutt/share \
28 docker.crute.me/mutt:latest
29}
30export -f mutt
31
32export TERM_BG_SHADE="light"