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 ZSH="$HOME/.oh-my-zsh" | |
| export UPDATE_ZSH_DAYS=5 | |
| export LANG=en_US.UTF-8 | |
| ZSH_THEME="spaceship" | |
| 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" | |
| ZSH_CUSTOM=/home/tonyc/repos/spaceship-prompt | |
| # Standard plugins can be found in $ZSH/plugins/ | |
| # Custom plugins may be added to $ZSH_CUSTOM/plugins/ | |
| plugins=(git rsync rust postgres ipfs) | |
| 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:*:*:*:*: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 | |
| # Users are encouraged to define aliases within the ZSH_CUSTOM folder. | |
| # For a full list of active aliases, run `alias`. | |
| alias cpv='rsync -ah --info=progress2' | |
| # The va alias activates the environment in your current shell | |
| #alias ve='python3 -m venv ./venv' | |
| #alias va='source ./venv/bin/activate' | |
| bindkey $key[Up] up-line-or-history | |
| bindkey $key[Down] down-line-orhistory | |
| neofetch | |
| eval "$(starship init zsh)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment