fpath+=("$(brew --prefix)/share/zsh/site-functions") autoload -U promptinit; promptinit prompt pure # alias l="exa -l -a --icons" alias ls="lsd -l" alias l="ls -a" alias nvim="~/nvim/bin/nvim" alias nvimrc="cd ~/.config/nvim/ && nvim" alias dotfiles="cd ~/.dotfiles/ && nvim" alias update_latex_files="cd ~/Library/texmf/tex/ && git pull && cd -" alias qemu="qemu-system-x86_64" # github alias alias ga="git add ." # # ...now this works just fine # eval "$(starship init zsh)" [[ "$TERM_PROGRAM" == "CodeEditApp_Terminal" ]] && . "/Applications/CodeEdit.app/Contents/Resources/codeedit_shell_integration.zsh" source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh HISTFILE="$HOME/.zsh_history" HISTSIZE=10000000 SAVEHIST=10000000 setopt EXTENDED_HISTORY # Write the history file in the ':start:elapsed;command' format. setopt INC_APPEND_HISTORY # Write to the history file immediately, not when the shell exits. setopt SHARE_HISTORY # Share history between all sessions. setopt HIST_IGNORE_DUPS # Do not record an event that was just recorded again. setopt HIST_IGNORE_ALL_DUPS # Delete an old recorded event if a new event is a duplicate. setopt HIST_IGNORE_SPACE # Do not record an event starting with a space. setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file. setopt HIST_VERIFY # Do not execute immediately upon history expansion. setopt APPEND_HISTORY # append to history file (Default) setopt HIST_NO_STORE # Don't store history commands setopt HIST_REDUCE_BLANKS # Remove superfluous blanks from each command line being added to the history. export PATH="$HOME/nvim/bin:$PATH" export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion