dotfiles/zshrc/.zshrc
2024-07-12 11:31:51 +01:00

34 lines
872 B
Bash

# Style
export CLICOLOR=1
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Clang
export LLVM_PATH=/opt/homebrew/opt/llvm
export PATH=$LLVM_PATH/bin:$PATH
export LDFLAGS="-L$LLVM_PATH/lib/c++ -Wl,-rpath,$LLVM_PATH/lib/c++":$LDFLAGS
export CPPFLAGS=-I$LLVM_PATH/include:$CPPFLAGS
export CC=$LLVM_PATH/bin/clang
export CXX=$LLVM_PATH/bin/clang++
# Angular
# Load Angular CLI autocompletion - commented because slow.
# autoload -Uz compinit
# compinit
# source <(ng completion script)
# Python
export PATH="$PATH:$HOME/.local/bin"
alias pyact="source .venv/bin/activate"
# Qt
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"
# Git
alias gpo="git push origin"
alias gcb="git checkout branch"
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"