From 43c65a291f15ab07eaa8ae08dbd470616e56fdb3 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 27 Aug 2018 18:53:22 +0100 Subject: Polishing zsh configuration --- zsh/.zsh/export.zsh | 5 +++-- zsh/.zsh/function.zsh | 4 ++++ zsh/.zsh/startup.zsh | 3 --- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'zsh') diff --git a/zsh/.zsh/export.zsh b/zsh/.zsh/export.zsh index 5be4976..4bb8b01 100644 --- a/zsh/.zsh/export.zsh +++ b/zsh/.zsh/export.zsh @@ -3,5 +3,6 @@ export ALTERNATE_EDITOR="" export EDITOR='emacsclient -nw -a ""' export VISUAL='emacsclient -c -a ""' -export PATH="{$PATH}:${HOME}/.gem/ruby/2.5.0/bin:/usr/local/bin" -export PATH="{$PATH}:${HOME}/.local/bin" +export PATH="${PATH}:${HOME}/.gem/ruby/2.5.0/bin:/usr/local/bin" +export PATH="${PATH}:${HOME}/.local/bin" +export PATH="/usr/bin:${PATH}" diff --git a/zsh/.zsh/function.zsh b/zsh/.zsh/function.zsh index cf00577..5d8f81e 100644 --- a/zsh/.zsh/function.zsh +++ b/zsh/.zsh/function.zsh @@ -8,6 +8,10 @@ alias em='emacsclient -c -a ""' alias emt='emacsclient -nw -a ""' # alias lspasscp='lpass show -c --password $(lpass ls | fzf | awk '{print $(NF)}' | sed 's/\\]//g')' +# fixing pdflatex +#alias pdflatex='/usr/bin/pdflatex' +#alias pdftex='/usr/bin/pdftex' + # fd - cd to selected directory fd() { local dir diff --git a/zsh/.zsh/startup.zsh b/zsh/.zsh/startup.zsh index f09fbfd..e69de29 100644 --- a/zsh/.zsh/startup.zsh +++ b/zsh/.zsh/startup.zsh @@ -1,3 +0,0 @@ -# Startup archey3 -archey3 -cd -- cgit