Add zshenv and some useful paths.
This commit is contained in:
parent
4b13154724
commit
c9e186588f
2 changed files with 14 additions and 2 deletions
9
zshrc/.zshenv
Normal file
9
zshrc/.zshenv
Normal 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
|
|
@ -21,6 +21,9 @@ export PATH="$PATH:$HOME/.local/bin"
|
|||
alias pyact="source .venv/bin/activate"
|
||||
|
||||
# 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"
|
||||
|
|
Loading…
Reference in a new issue