dotfiles/zshrc/.zshrc

35 lines
872 B
Bash
Raw Normal View History

2024-06-26 15:46:20 +00:00
# Style
2024-05-30 14:06:47 +00:00
export CLICOLOR=1
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
2024-06-26 15:46:20 +00:00
# Clang
2024-05-30 14:06:47 +00:00
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++
2024-06-26 15:46:20 +00:00
# Angular
# Load Angular CLI autocompletion - commented because slow.
# autoload -Uz compinit
# compinit
# source <(ng completion script)
2024-05-30 14:06:47 +00:00
2024-06-26 15:46:20 +00:00
# Python
export PATH="$PATH:$HOME/.local/bin"
alias pyact="source .venv/bin/activate"
2024-05-30 14:06:47 +00:00
2024-06-26 15:46:20 +00:00
# Qt
2024-06-26 16:12:12 +00:00
export PATH=$PATH:$TOOLS_DIR/qt_install/bin
2024-05-30 14:06:47 +00:00
2024-06-26 16:12:12 +00:00
# Quick paths
alias cdcode="cd $CODE_DIR"
alias cdwtools="cd $WTOOLS_DIR"
alias cdproj="cd $PROJ_DIR"
2024-07-03 07:40:09 +00:00
# Git
alias gpo="git push origin"
alias gcb="git checkout branch"
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"