this repo has no description
at main 155 lines 5.1 kB view raw
1# If you come from bash you might have to change your $PATH. 2export PATH=/snap/bin:$HOME/bin:/home/biscuitech/.local/bin:/usr/local/bin:$PATH 3 4# Path to your oh-my-zsh installation. 5export ZSH="$HOME/.oh-my-zsh" 6 7# Set name of the theme to load --- if set to "random", it will 8# load a random theme each time oh-my-zsh is loaded, in which case, 9# to know which specific one was loaded, run: echo $RANDOM_THEME 10# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes 11ZSH_THEME="robbyrussell" 12 13# Set list of themes to pick from when loading at random 14# Setting this variable when ZSH_THEME=random will cause zsh to load 15# a theme from this variable instead of looking in $ZSH/themes/ 16# If set to an empty array, this variable will have no effect. 17# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) 18 19# Uncomment the following line to use case-sensitive completion. 20# CASE_SENSITIVE="true" 21 22# Uncomment the following line to use hyphen-insensitive completion. 23# Case-sensitive completion must be off. _ and - will be interchangeable. 24# HYPHEN_INSENSITIVE="true" 25 26# Uncomment one of the following lines to change the auto-update behavior 27# zstyle ':omz:update' mode disabled # disable automatic updates 28# zstyle ':omz:update' mode auto # update automatically without asking 29# zstyle ':omz:update' mode reminder # just remind me to update when it's time 30 31# Uncomment the following line to change how often to auto-update (in days). 32# zstyle ':omz:update' frequency 13 33 34# Uncomment the following line if pasting URLs and other text is messed up. 35# DISABLE_MAGIC_FUNCTIONS="true" 36 37# Uncomment the following line to disable colors in ls. 38# DISABLE_LS_COLORS="true" 39 40# Uncomment the following line to disable auto-setting terminal title. 41# DISABLE_AUTO_TITLE="true" 42 43# Uncomment the following line to enable command auto-correction. 44# ENABLE_CORRECTION="true" 45 46# Uncomment the following line to display red dots whilst waiting for completion. 47# You can also set it to another string to have that shown instead of the default red dots. 48# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" 49# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) 50# COMPLETION_WAITING_DOTS="true" 51 52# Uncomment the following line if you want to disable marking untracked files 53# under VCS as dirty. This makes repository status check for large repositories 54# much, much faster. 55# DISABLE_UNTRACKED_FILES_DIRTY="true" 56 57# Uncomment the following line if you want to change the command execution time 58# stamp shown in the history command output. 59# You can set one of the optional three formats: 60# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" 61# or set a custom format using the strftime function format specifications, 62# see 'man strftime' for details. 63# HIST_STAMPS="mm/dd/yyyy" 64 65# initialize autocompletion 66autoload -U compinit 67compinit 68 69# history setup 70setopt SHARE_HISTORY 71HISTFILE=$HOME/.zhistory 72SAVEHIST=1000 73HISTSIZE=999 74setopt HIST_EXPIRE_DUPS_FIRST 75 76# history setup 77# bindkey '\e[A' history-search-backward 78# bindkey '\e[B' history-search-forward 79 80# Would you like to use another custom folder than $ZSH/custom? 81# ZSH_CUSTOM=/path/to/new-custom-folder 82 83# Which plugins would you like to load? 84# Standard plugins can be found in $ZSH/plugins/ 85# Custom plugins may be added to $ZSH_CUSTOM/plugins/ 86# Example format: plugins=(rails git textmate ruby lighthouse) 87# Add wisely, as too many plugins slow down shell startup. 88plugins=(git zsh-autosuggestions) 89 90source $ZSH/oh-my-zsh.sh 91 92# User configuration 93 94# export MANPATH="/usr/local/man:$MANPATH" 95 96# You may need to manually set your language environment 97# export LANG=en_US.UTF-8 98 99# Preferred editor for local and remote sessions 100# if [[ -n $SSH_CONNECTION ]]; then 101# export EDITOR='vim' 102# else 103# export EDITOR='mvim' 104# fi 105 106# Compilation flags 107# export ARCHFLAGS="-arch x86_64" 108 109# Set personal aliases, overriding those provided by oh-my-zsh libs, 110# plugins, and themes. Aliases can be placed here, though oh-my-zsh 111# users are encouraged to define aliases within the ZSH_CUSTOM folder. 112# For a full list of active aliases, run `alias`. 113# 114# Example aliases 115# alias zshconfig="mate ~/.zshrc" 116# alias ohmyzsh="mate ~/.oh-my-zsh" 117 118cd ~ 119if [[ -z "$ZELLIJ" ]]; then 120 if [[ "$ZELLIJ_AUTO_ATTACH" == "true" ]]; then 121 zellij attach -c 122 else 123 zellij 124 fi 125 126 if [[ "$ZELLIJ_AUTO_EXIT" == "true" ]]; then 127 exit 128 fi 129fi 130# Keys to expand selection 131 132alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME' 133export HELIX_RUNTIME=~/source/helix/runtime 134 135alias ls="eza" 136 137export COLORTERM=truecolor 138source ~/.profile 139eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" 140 141# Set up fzf key bindings and fuzzy completion 142source <(fzf --zsh) 143 144eval "$(zoxide init --cmd cd zsh)" 145 146eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" 147 148eval "$(starship init zsh)" 149 150export NVM_DIR="$HOME/.nvm" 151[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm 152[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion 153 154 155export PATH="$PATH:/opt/nvim-linux-x86_64/bin"