dotfiles

My personal dotfiles

commit 483689fdedeb951cb2b27f39f748403bc93504ba
parent 17f0315381568f7f8326f46ea52ef33eff3715a3
Author: Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
Date:   Wed, 27 Jan 2021 20:21:45 -0300

Configured fish to hide my timezone from neomutt

Diffstat:
M.config/fish/config.fish | 13++++++++-----
M.local/bin/exports.sh | 17++++++++++++++---
2 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
@@ -33,15 +33,17 @@ set PATH "/usr/local/sbin" \
          "$XDG_DATA_HOME/npm/bin" \
          "$XDG_DATA_HOME/emsdk/upstream/emscripten" \
          "$XDG_DATA_HOME/mitra" \
-         "$XDG_DATA_HOME/tmux"
+         "$XDG_DATA_HOME/tmux" \
+         /usr/local/share/*/{include,bin,lib}
 
 # Abbreviations
-abbr vim     "nvim"
-abbr sc      "sc-im"
-abbr weather "curl https://wttr.in/"
+abbr vim     'nvim'
+abbr sc      'sc-im'
+abbr weather 'curl https://wttr.in/'
+abbr mutt    'neomutt'
 
 # Aliases
-alias canto   canto-curses
+alias canto   'canto-curses'
 alias less    'less -Rf'
 alias wget    'wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
 alias gdb     'gdb -nh -x "$XDG_CONFIG_HOME/gdb/init"'
@@ -49,6 +51,7 @@ alias weechat 'weechat -d "$XDG_CONFIG_HOME/weechat"'
 alias lynx    'lynx -cfg="$XDG_CONFIG_HOME/lynx/lynx.cfg"'
 alias config  'git --git-dir="$HOME/Documents/dotfiles" --work-tree="$HOME"'
 alias abook   'abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_DATA_HOME"/abook/addressbook'
+alias neomutt 'env TZ=-0000 neomutt' # Hide my timezone when sending messages
 
 function fish_greeting
     set_color yellow
diff --git a/.local/bin/exports.sh b/.local/bin/exports.sh
@@ -21,6 +21,9 @@ export XDG_DATA_HOME="$HOME/.local/share"
 export CARGO_HOME="$XDG_DATA_HOME/cargo"
 export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
 
+# Python
+export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/init.py"
+
 # Ruby
 export GEM_HOME="$XDG_DATA_HOME/gem"
 export GEM_SPEC_CACHE="$XDG_CACHE_HOME/gem"
@@ -41,6 +44,7 @@ export PLTUSERHOME="$XDG_DATA_HOME/racket"
 # JS
 export DENO_INSTALL="$XDG_DATA_HOME/deno"
 export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
+export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history
 
 # Wasmtime
 export WASMTIME_HOME="$XDG_DATA_HOME/wasmtime"
@@ -78,6 +82,16 @@ export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat"
 export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
 export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
 
+# pass(1)
+export PASSWORD_STORE_DIR="$XDG_CONFIG_HOME"/password-store
+
+# Jupyter notebook
+export IPYTHONDIR="$XDG_CONFIG_HOME"/jupyter
+export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter
+
+# mplayer(1)
+export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer
+
 # Default programs
 export TERMINAL="alacritty"
 export EDITOR="nvim"
@@ -85,6 +99,3 @@ export GIT_EDITOR="$EDITOR"
 export VISUAL="$EDITOR"
 export PAGER="less"
 
-# Configure strftime(3)
-export TZ=Antarctica/DumontDUrville
-