Add zshenv and some useful paths.

This commit is contained in:
jgrogan 2024-06-26 17:12:12 +01:00
parent 4b13154724
commit c9e186588f
2 changed files with 14 additions and 2 deletions

9
zshrc/.zshenv Normal file
View file

@ -0,0 +1,9 @@
# Rust
. "$HOME/.cargo/env"
# My paths
export CODE_DIR=$HOME/code
export TOOLS_DIR=$HOME/tools
export WTOOLS_DIR=$CODE_DIR/ic_tools
export PTOOLS_DIR=$CODE_DIR/jg_tools
export PROJ_DIR=$CODE_DIR/projects

View file

@ -21,6 +21,9 @@ export PATH="$PATH:$HOME/.local/bin"
alias pyact="source .venv/bin/activate" alias pyact="source .venv/bin/activate"
# Qt # Qt
export PATH=$PATH:$HOME/tools/qt_install/bin export PATH=$PATH:$TOOLS_DIR/qt_install/bin
# Quick paths
alias cdcode="cd $CODE_DIR"
alias cdwtools="cd $WTOOLS_DIR"
alias cdproj="cd $PROJ_DIR"