# Oh my zsh export ZSH="$HOME/.oh-my-zsh" ZSH_THEME="eastwood" HIST_STAMPS="dd.mm.yyyy" plugins=(git sudo) source $ZSH/oh-my-zsh.sh # -- Local Setup --- # Preferred editor for local and remote sessions if [[ -n $SSH_CONNECTION ]]; then export EDITOR='nvim' else export EDITOR='nvim' fi # go export PATH=$HOME/go/bin:$PATH # pyenv export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)" eval "$(pyenv init -)" # pipx export PATH="$PATH:/Users/agres/.local/bin" export PATH="$HOME/.local/bin:$PATH" # bun [ -s "/Users/agres/.bun/_bun" ] && source "/Users/agres/.bun/_bun" export BUN_INSTALL="$HOME/.bun" export PATH="$BUN_INSTALL/bin:$PATH" # Alais: ls to run tree (without any flags) unalias ls 2>/dev/null ls() { if [[ $# -eq 0 ]]; then tree -L 1 else command ls -G "$@" fi } # Alias: list all modified and new files in current directory alias lsgit='git status --porcelain | cut -c 4- | xargs ls -l' # Alias: wifi to print qr code in terminal from file (device adjustable) alias wifi='cat /Users/agres/Projects/python_lang/wifi_qr/wifi_password.txt | qr --asci'