Last active
          July 25, 2024 17:19 
        
      - 
      
 - 
        
Save TensorsWillFlow/c5ee83fbb12d84260b3c5a00164ac2c6 to your computer and use it in GitHub Desktop.  
    ZShell config
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # If you come from bash you might have to change your $PATH. | |
| #export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| #export PATH="$PATH=:/usr/local/bin" | |
| export ZSH="$HOME/.oh-my-zsh" | |
| export UPDATE_ZSH_DAYS=5 | |
| #export LANG=en_US.UTF-8 | |
| export BUN_INSTALL="$HOME/.bun" | |
| export PATH="$BUN_INSTALL/bin:$PATH" | |
| LS_COLORS='no=00;37:fi=00;91:di=01;33:ln=04;36:pi=40;33:so=01;35:bd=40;33;01:' | |
| export LS_COLORS | |
| typeset -U path | |
| HISTSIZE=1000 | |
| SAVEHIST=1000 | |
| HISTFILE=~/.zsh_history | |
| HISTCONTROL=ignoreboth | |
| # Uncomment the following line if pasting URLs and other text is messed up. | |
| DISABLE_MAGIC_FUNCTIONS="true" | |
| ENABLE_CORRECTION="true" | |
| COMPLETION_WAITING_DOTS="true" | |
| # Standard plugins can be found in $ZSH/plugins/ | |
| # Custom plugins may be added to $ZSH_CUSTOM/plugins/ | |
| #plugins=(git rsync rust postgres ipfs) | |
| # bun completions | |
| [ -s "/home/tonyc/.bun/_bun" ] && source "/home/tonyc/.bun/_bun" | |
| zstyle ':completion:*:matches' group 'yes' | |
| zstyle ':completion:*:options' description 'yes' | |
| zstyle ':completion:*:options' auto-description '%d' | |
| zstyle ':completion:*:corrections' format ' %F{green}-- %d (errors: %e) --%f' | |
| zstyle ':completion:*:messages' format ' %F{purple} -- %d --%f' | |
| zstyle ':completion:*:warnings' format ' %F{red}-- no matches found --%f' | |
| zstyle ':completion:*' group-name '' | |
| zstyle ':completion:*' verbose yes | |
| #zstyle ':completion::complete:*' use-cache on | |
| #zstyle ':completion::complete:*' cache-path '${ZDOTDIR:-$HOME}/.zcompcache' | |
| zstyle ':completion:*' list-colors $LS_COLORS | |
| zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} | |
| zstyle ':completion:*:*:*:*:processes' command'ps -u $USER -o pid,user,comm,cmd -w -w' | |
| zstyle ':completion:*:exa' file-sort modification | |
| zstyle ':completion:*:exa' sort false | |
| # Do menu-driven completion. | |
| #zstyle ':autocomplete:tab:*' widget-style menu-select | |
| #zstyle ':autocomplete:tab:*' widget-style menu-complete | |
| #zstyle ':completion:*' menu select | |
| # For a full list of active aliases, run `alias`. | |
| alias cpv='rsync -ah --info=progress2' | |
| alias exa='eza --time-style=relative --icons --grid --group-directories-first' | |
| alias ll='exa -lag' | |
| alias la='exa -a' | |
| # The va alias activates the environment in your current shell | |
| #alias ve='python3 -m venv ./venv' | |
| #alias va='source ./venv/bin/activate' | |
| # zsh options | |
| #setopt case_glob # Use Case-Insensitve Globbing. | |
| #setopt globdots # Glob Dotfiles As Well. | |
| #setopt extendedglob # Use Extended Globbing. | |
| #setopt auto_cd # no need to specify cd | |
| #setopt correct # spelling correction | |
| #setopt interactivecomments # Ignore lines prefixed with '#' | |
| #unsetopt beep # Hush. | |
| #setopt rc_quotes # Allow 'Henry''s Garage' instead of 'Henry'\''s Garage' | |
| # Completion Options. | |
| #setopt complete_in_word # Complete From Both Ends Of A Word. | |
| #setopt always_to_end # Move Cursor To The End Of A Completed Word. | |
| #setopt path_dirs # Perform Path Search Even On Command Names With Slashes. | |
| #setopt auto_menu # Show Completion Menu On A Successive Tab Press. | |
| #setopt auto_list # Automatically List Choices On Ambiguous Completion. | |
| setopt auto_param_slash # If Completed Parameter Is A Directory, Add A Trailing Slash. | |
| #setopt menu_complete # Do Not Autoselect The First Completion Entry. | |
| bindkey $key[Up] up-line-or-history | |
| bindkey $key[Down] down-line-orhistory | |
| source "$ZSH/oh-my-zsh.sh" | |
| source "$HOME/.cargo/env" | |
| precmd() { | |
| precmd() { | |
| echo | |
| } | |
| } | |
| neofetch | |
| eval $(ssh-agent -s) && ssh-add ~/.ssh/iopen-azure | |
| eval "$(starship init zsh)" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment