1# If you come from bash you might have to change your $PATH. 2export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH 3export PATH=$HOME/bin:/usr/local/bin:$PATH:/snap/bin/ 4 5# Path to your Oh My Zsh installation. 6export ZSH="$HOME/.oh-my-zsh" 7 8# Set name of the theme to load --- if set to "random", it will 9# load a random theme each time Oh My Zsh is loaded, in which case, 10# to know which specific one was loaded, run: echo $RANDOM_THEME 11# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes 12ZSH_THEME="nanotech" 13 14# Set list of themes to pick from when loading at random 15# Setting this variable when ZSH_THEME=random will cause zsh to load 16# a theme from this variable instead of looking in $ZSH/themes/ 17# If set to an empty array, this variable will have no effect. 18# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) 19 20# Uncomment the following line to use case-sensitive completion. 21# CASE_SENSITIVE="true" 22 23# Uncomment the following line to use hyphen-insensitive completion. 24# Case-sensitive completion must be off. _ and - will be interchangeable. 25# HYPHEN_INSENSITIVE="true" 26 27# Uncomment one of the following lines to change the auto-update behavior 28# zstyle ':omz:update' mode disabled # disable automatic updates 29# zstyle ':omz:update' mode auto # update automatically without asking 30# zstyle ':omz:update' mode reminder # just remind me to update when it's time 31 32# Uncomment the following line to change how often to auto-update (in days). 33# zstyle ':omz:update' frequency 13 34 35# Uncomment the following line if pasting URLs and other text is messed up. 36# DISABLE_MAGIC_FUNCTIONS="true" 37 38# Uncomment the following line to disable colors in ls. 39# DISABLE_LS_COLORS="true" 40 41# Uncomment the following line to disable auto-setting terminal title. 42# DISABLE_AUTO_TITLE="true" 43 44# Uncomment the following line to enable command auto-correction. 45# ENABLE_CORRECTION="true" 46 47# Uncomment the following line to display red dots whilst waiting for completion. 48# You can also set it to another string to have that shown instead of the default red dots. 49# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" 50# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) 51# COMPLETION_WAITING_DOTS="true" 52 53# Uncomment the following line if you want to disable marking untracked files 54# under VCS as dirty. This makes repository status check for large repositories 55# much, much faster. 56# DISABLE_UNTRACKED_FILES_DIRTY="true" 57 58# Uncomment the following line if you want to change the command execution time stamp shown in the history 59# command output. You can set one of the optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" or 60# set a custom format using the strftime function format specifications, see 'man strftime' for details. 61# HIST_STAMPS="mm/dd/yyyy" 62 63# Would you like to use another custom folder than $ZSH/custom? 64# ZSH_CUSTOM=/path/to/new-custom-folder 65 66# Which would you like to load? 67# Standard can be found in $ZSH/plugins/ 68# Custom may be added to $ZSH_CUSTOM/plugins/ 69# Example format: =(rails git textmate ruby lighthouse) 70# Add wisely, as too many slow down shell startup. 71plugins=(git) 72 73source $ZSH/oh-my-zsh.sh 74 75# User configuration 76 77# export MANPATH="/usr/local/man:$MANPATH" 78 79# You may need to manually set your language environment 80# export LANG=en_US.UTF-8 81 82# Preferred editor for local and remote sessions 83if [[ -n $SSH_CONNECTION ]]; then 84 export EDITOR='vim' 85else 86 export EDITOR='nvim' 87fi 88 89# Compilation flags 90# export ARCHFLAGS="-arch $(uname -m)" 91 92# Set personal aliases, overriding those provided by Oh My Zsh libs, 93# , and themes. Aliases can be placed here, though Oh My Zsh 94# users are encouraged to define aliases within a top-level file in 95# the $ZSH_CUSTOM folder, with .zsh extension. Examples: 96# - $ZSH_CUSTOM/aliases.zsh 97# - $ZSH_CUSTOM/macos.zsh 98# For a full list of active aliases, run `alias`. 99# 100# Config aliases 101alias dotfiles="cd ~/.dotfiles" 102 103# Application aliases 104alias vi="nvim" 105alias py="python3" 106alias cat="bat" 107alias ls="eza -l" 108 109# Git aliases 110alias gl="git log --all --graph --pretty=format:'%C(magenta)%h %C(white) %an %ar%C(auto) %D%n%s%n'" 111alias gs="git status" 112alias gd="git diff" 113alias ga="git add" 114alias gaa="git add ." 115alias gap="git add --patch" 116alias gc="git commit" 117alias gp="git push" 118alias gu="git pull --rebase" 119 120# Misc aliases 121alias cls="clear" 122 123export NVM_DIR="$HOME/.nvm" 124[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm 125[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion 126 127# bun 128[ -s "/home/$HOME/.bun/_bun" ] && source "/home/$HOME/.bun/_bun" 129export BUN_INSTALL="$HOME/.bun" 130export PATH="$BUN_INSTALL/bin:$PATH" 131 132# golang 133export PATH=$PATH:/usr/local/go/bin 134 135fastfetch