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 | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="$HOME/.oh-my-zsh" | |
| # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes | |
| ZSH_THEME="powerlevel10k/powerlevel10k" | |
| POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(vcs dir rbenv) | |
| POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(root_indicator background_jobs status load) | |
| HISTSIZE=1000 | |
| SAVEHIST=1000 | |
| HISTFILE=~/.zsh_history | |
| HISTCONTROL=ignoreboth | |
| # DISABLE_UPDATE_PROMPT="true" | |
| export UPDATE_ZSH_DAYS=10 | |
| # Uncomment the following line if pasting URLs and other text is messed up. | |
| # DISABLE_MAGIC_FUNCTIONS="true" | |
| # Uncomment the following line to disable auto-setting terminal title. | |
| # DISABLE_AUTO_TITLE="true" | |
| # Uncomment the following line to enable command auto-correction. | |
| # ENABLE_CORRECTION="true" | |
| COMPLETION_WAITING_DOTS="true" | |
| # ZSH_CUSTOM=/home/tonyc/repos/spaceship-prompt | |
| # antigen theme romkatv/powerlevel10k | |
| # Standard plugins can be found in $ZSH/plugins/ | |
| # Custom plugins may be added to $ZSH_CUSTOM/plugins/ | |
| plugins=(git rsync rust postgres ipfs dotenv) | |
| source $ZSH/oh-my-zsh.sh | |
| export MANPATH="/usr/local/man:$MANPATH" | |
| export LANG=en_US.UTF-8 | |
| export ANDROID_HOME=/home/tony/Android/cmdline-tools/latest | |
| export ANDROID_SDK_ROOT=/home/tony/Android | |
| PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools | |
| PATH=$PATH:$ANDROID_HOME/bin | |
| export JAVA_HOME=/usr/lib/jvm/java-14-openjdk-amd64 | |
| # 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 ll='exa -laH' | |
| alias la='ls -A' | |
| alias cpv='rsync -ah --info=progress2' | |
| alias df='df -h' | |
| alias pa='ps aux' | |
| # 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-or-history | |
| # powerline-daemon -q | |
| # POWERLINE_BASH_CONTINUATION=1 | |
| # POWERLINE_BASH_SELECT=1 | |
| #. /usr/share/powerline/bindings/bash/powerline.sh | |
| neofetch | |
| # source ~/powerlevel10k/powerlevel10k.zsh-theme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment