My zsh configuration
git clone https://mcol.xyz/code/zshrc
Log | Files | Refs | Submodules | README

commit 76a943119517e8b5f8930a3f650b6d61a29d4b36
parent 1b5d648de04046ecc9f9ffc4d0aa356a209f7806
Author: mcol <mcol@posteo.net>
Date:   Sun, 15 Sep 2019 17:26:47 +0100

add project to pythonpath; localise ranger install

Diffstat:
Mfunctions.zsh | 4++--
Mrc.conf | 2+-
Mzshrc | 2++
3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/functions.zsh b/functions.zsh @@ -5,9 +5,9 @@ # use last browsed directory automatically with ranger ranger-cd() { tempfile="$(mktemp -t tmp.XXXXXX)" - if [[ -f /usr/local/bin/ranger ]] + if [[ -f $HOME/.local/bin/ranger ]] then - /usr/local/bin/ranger --choosedir="$tempfile" "${@:-$(pwd)}" + $HOME/.local/bin/ranger --choosedir="$tempfile" "${@:-$(pwd)}" else /usr/bin/ranger --choosedir="$tempfile" "${@:-$(pwd)}" fi diff --git a/rc.conf b/rc.conf @@ -645,7 +645,7 @@ map gb cd ~/.config/bin map gP cd ~/pictures map gw cd ~/work map ga cd ~/work/analysis -map gp cd ~/work/research/research.wiki/papers/pdfs +map gp cd ~/work/phd/papers/pdfs map gf cd ~/work/analysis/Figures map gW cd ~/work/research/research.wiki map gr cd ~/work/analysis/rochefort-tools diff --git a/zshrc b/zshrc @@ -64,3 +64,5 @@ export LC_CTYPE=en_US.UTF-8 # don't load default ranger config export RANGER_LOAD_DEFAULT_RC=FALSE + +export PYTHONPATH=$HOME/work/analysis/reach