aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-03-27 15:51:47 +0000
committerYann Herklotz <git@yannherklotz.com>2020-03-27 15:51:47 +0000
commite97c6f93f83fa8d668577cd3721fdc5bbb886951 (patch)
treeb1021b2475998df5174810de81cb2db0d1c88431 /zsh
parenta99afc3da7ff4b804c93f100a7e6cdee5dcc0ba6 (diff)
downloaddotfiles-e97c6f93f83fa8d668577cd3721fdc5bbb886951.tar.gz
dotfiles-e97c6f93f83fa8d668577cd3721fdc5bbb886951.zip
Add PATH for bison and cargo
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zsh/export.zsh4
-rw-r--r--zsh/.zsh/function.zsh1
2 files changed, 5 insertions, 0 deletions
diff --git a/zsh/.zsh/export.zsh b/zsh/.zsh/export.zsh
index c7e34f8..7aa4e8b 100644
--- a/zsh/.zsh/export.zsh
+++ b/zsh/.zsh/export.zsh
@@ -19,6 +19,7 @@ if [[ -d "${HOME}/.gem/ruby/2.7.0/bin" ]]; then export PATH="${HOME}/.gem/ruby/2
export PATH="/usr/local/bin:${PATH}"
export PATH="/Library/TeX/texbin:${PATH}"
export PATH="${PATH}:/Users/yannherklotz/Library/Python/3.7/bin"
+export PATH="/usr/local/opt/bison/bin:$PATH"
# Stop dotnet telemetry
export DOTNET_CLI_TELEMETRY_OPTOUT=1
@@ -38,3 +39,6 @@ if [[ "$?" -eq 0 ]]; then
test -r /home/yannherklotz/.opam/opam-init/init.zsh && . /home/yannherklotz/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true
eval "$(opam env)";
fi
+
+# Load rust environment
+if [[ -f $HOME/.cargo/env ]]; then source $HOME/.cargo/env; fi
diff --git a/zsh/.zsh/function.zsh b/zsh/.zsh/function.zsh
index 20dc12d..be9dd79 100644
--- a/zsh/.zsh/function.zsh
+++ b/zsh/.zsh/function.zsh
@@ -1,6 +1,7 @@
alias emc='emacsclient -c -a ""'
alias em='emacsclient -nw -a ""'
alias ff='firefox'
+alias vim=nvim
# alias lspasscp='lpass show -c --password $(lpass ls | fzf | awk '{print $(NF)}' | sed 's/\\]//g')'
# fixing pdflatex