Skip to content

Instantly share code, notes, and snippets.

@TensorsWillFlow
Last active July 25, 2024 17:19
Show Gist options
  • Save TensorsWillFlow/c5ee83fbb12d84260b3c5a00164ac2c6 to your computer and use it in GitHub Desktop.
Save TensorsWillFlow/c5ee83fbb12d84260b3c5a00164ac2c6 to your computer and use it in GitHub Desktop.

Revisions

  1. TensorsWillFlow revised this gist Jul 25, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .zshrc
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@
    #export PATH="$PATH=:/usr/local/bin"
    export ZSH="$HOME/.oh-my-zsh"
    export UPDATE_ZSH_DAYS=5
    export LANG=en_US.UTF-8
    #export LANG=en_US.UTF-8
    export BUN_INSTALL="$HOME/.bun"
    export PATH="$BUN_INSTALL/bin:$PATH"

  2. TensorsWillFlow revised this gist Sep 14, 2023. 1 changed file with 10 additions and 5 deletions.
    15 changes: 10 additions & 5 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,15 @@
    # 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
    #zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}

    typeset -U path

    @@ -24,6 +27,9 @@ COMPLETION_WAITING_DOTS="true"
    # 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'
    @@ -35,6 +41,7 @@ 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
    @@ -46,9 +53,9 @@ zstyle ':completion:*:exa' sort false

    # For a full list of active aliases, run `alias`.
    alias cpv='rsync -ah --info=progress2'
    alias ll='eza -lag'
    alias la='eza -a'
    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'
    @@ -73,8 +80,6 @@ alias exa='eza --time-style=relative --icons --grid --group-directories-first'
    setopt auto_param_slash # If Completed Parameter Is A Directory, Add A Trailing Slash.
    #setopt menu_complete # Do Not Autoselect The First Completion Entry.

    zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}

    bindkey $key[Up] up-line-or-history
    bindkey $key[Down] down-line-orhistory

  3. TensorsWillFlow revised this gist Sep 14, 2023. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -32,8 +32,8 @@ 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::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
    @@ -48,7 +48,7 @@ zstyle ':completion:*:exa' sort false
    alias cpv='rsync -ah --info=progress2'
    alias ll='eza -lag'
    alias la='eza -a'
    alias exa='eza --time-style=relative --icons --group-directories-first'
    alias exa='eza --time-style=relative --icons --grid --group-directories-first'

    # The va alias activates the environment in your current shell
    #alias ve='python3 -m venv ./venv'
  4. TensorsWillFlow revised this gist Sep 14, 2023. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion .zshrc
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,9 @@
    export ZSH="$HOME/.oh-my-zsh"
    export UPDATE_ZSH_DAYS=5
    export LANG=en_US.UTF-8
    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
    #zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}

    typeset -U path

    @@ -45,7 +48,7 @@ zstyle ':completion:*:exa' sort false
    alias cpv='rsync -ah --info=progress2'
    alias ll='eza -lag'
    alias la='eza -a'
    alias exa='eza --time-style=relative --icons'
    alias exa='eza --time-style=relative --icons --group-directories-first'

    # The va alias activates the environment in your current shell
    #alias ve='python3 -m venv ./venv'
    @@ -70,6 +73,8 @@ alias exa='eza --time-style=relative --icons'
    setopt auto_param_slash # If Completed Parameter Is A Directory, Add A Trailing Slash.
    #setopt menu_complete # Do Not Autoselect The First Completion Entry.

    zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}

    bindkey $key[Up] up-line-or-history
    bindkey $key[Down] down-line-orhistory

  5. TensorsWillFlow revised this gist Sep 13, 2023. 1 changed file with 7 additions and 5 deletions.
    12 changes: 7 additions & 5 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,11 @@
    # If you come from bash you might have to change your $PATH.
    export PATH=$HOME/bin:/usr/local/bin:$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

    ZSH_THEME="spaceship"
    typeset -U path

    HISTSIZE=1000
    SAVEHIST=1000
    @@ -15,11 +16,10 @@ HISTCONTROL=ignoreboth
    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)
    #plugins=(git rsync rust postgres ipfs)

    zstyle ':completion:*:matches' group 'yes'
    zstyle ':completion:*:options' description 'yes'
    @@ -41,7 +41,6 @@ zstyle ':completion:*:exa' sort false
    #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'
    alias ll='eza -lag'
    @@ -75,6 +74,7 @@ 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() {
    @@ -83,4 +83,6 @@ precmd() {
    }

    neofetch

    eval $(ssh-agent -s) && ssh-add ~/.ssh/iopen-azure
    eval "$(starship init zsh)"
  6. TensorsWillFlow revised this gist Sep 12, 2023. 1 changed file with 32 additions and 4 deletions.
    36 changes: 32 additions & 4 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -4,9 +4,7 @@ export ZSH="$HOME/.oh-my-zsh"
    export UPDATE_ZSH_DAYS=5
    export LANG=en_US.UTF-8

    source "$ZSH/oh-my-zsh.sh"

    #ZSH_THEME="spaceship"
    ZSH_THEME="spaceship"

    HISTSIZE=1000
    SAVEHIST=1000
    @@ -17,7 +15,7 @@ HISTCONTROL=ignoreboth
    DISABLE_MAGIC_FUNCTIONS="true"
    ENABLE_CORRECTION="true"
    COMPLETION_WAITING_DOTS="true"
    #ZSH_CUSTOM=/home/tonyc/repos/spaceship-prompt
    ZSH_CUSTOM=/home/tonyc/repos/spaceship-prompt

    # Standard plugins can be found in $ZSH/plugins/
    # Custom plugins may be added to $ZSH_CUSTOM/plugins/
    @@ -46,13 +44,43 @@ zstyle ':completion:*:exa' sort false
    # 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'
    alias ll='eza -lag'
    alias la='eza -a'
    alias exa='eza --time-style=relative --icons'

    # 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"

    precmd() {
    precmd() {
    echo
    }
    }

    neofetch
    eval "$(starship init zsh)"
  7. TensorsWillFlow revised this gist Sep 12, 2023. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,9 @@ export ZSH="$HOME/.oh-my-zsh"
    export UPDATE_ZSH_DAYS=5
    export LANG=en_US.UTF-8

    ZSH_THEME="spaceship"
    source "$ZSH/oh-my-zsh.sh"

    #ZSH_THEME="spaceship"

    HISTSIZE=1000
    SAVEHIST=1000
    @@ -15,7 +17,7 @@ HISTCONTROL=ignoreboth
    DISABLE_MAGIC_FUNCTIONS="true"
    ENABLE_CORRECTION="true"
    COMPLETION_WAITING_DOTS="true"
    ZSH_CUSTOM=/home/tonyc/repos/spaceship-prompt
    #ZSH_CUSTOM=/home/tonyc/repos/spaceship-prompt

    # Standard plugins can be found in $ZSH/plugins/
    # Custom plugins may be added to $ZSH_CUSTOM/plugins/
  8. TensorsWillFlow revised this gist Sep 12, 2023. 1 changed file with 29 additions and 47 deletions.
    76 changes: 29 additions & 47 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -1,74 +1,56 @@
    # 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"
    export UPDATE_ZSH_DAYS=5
    export LANG=en_US.UTF-8

    # 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)
    ZSH_THEME="spaceship"

    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"

    DISABLE_MAGIC_FUNCTIONS="true"
    ENABLE_CORRECTION="true"
    COMPLETION_WAITING_DOTS="true"
    # ZSH_CUSTOM=/home/tonyc/repos/spaceship-prompt

    # antigen theme romkatv/powerlevel10k
    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 dotenv)
    source $ZSH/oh-my-zsh.sh
    source "$HOME/.cargo/env"

    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
    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
    #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 -lagh'
    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'
    #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
    bindkey $key[Down] down-line-orhistory

    # powerline-daemon -q
    # POWERLINE_BASH_CONTINUATION=1
    # POWERLINE_BASH_SELECT=1
    #. /usr/share/powerline/bindings/bash/powerline.sh
    neofetch
    # source ~/powerlevel10k/powerlevel10k.zsh-theme
    eval "$(starship init zsh)"
  9. TensorsWillFlow revised this gist Aug 30, 2023. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -36,6 +36,7 @@ COMPLETION_WAITING_DOTS="true"
    # Custom plugins may be added to $ZSH_CUSTOM/plugins/
    plugins=(git rsync rust postgres ipfs dotenv)
    source $ZSH/oh-my-zsh.sh
    source "$HOME/.cargo/env"

    export MANPATH="/usr/local/man:$MANPATH"
    export LANG=en_US.UTF-8
  10. TensorsWillFlow revised this gist Aug 30, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .zshrc
    Original file line number Diff line number Diff line change
    @@ -53,7 +53,7 @@ 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 ll='exa -lagh'
    alias la='ls -A'
    alias cpv='rsync -ah --info=progress2'
    alias df='df -h'
  11. TensorsWillFlow revised this gist Aug 30, 2023. 1 changed file with 21 additions and 16 deletions.
    37 changes: 21 additions & 16 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -4,18 +4,18 @@ export PATH=$HOME/bin:/usr/local/bin:$PATH
    # Path to your oh-my-zsh installation.
    export ZSH="$HOME/.oh-my-zsh"

    # Can set to "random". To know which one was loaded, run: echo $RANDOM_THEME
    # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
    ZSH_THEME="spaceship"
    ZSH_THEME="powerlevel10k/powerlevel10k"

    # If set to an empty array, this variable will have no effect.
    # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
    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.
    @@ -28,30 +28,33 @@ export UPDATE_ZSH_DAYS=10
    # ENABLE_CORRECTION="true"

    COMPLETION_WAITING_DOTS="true"
    ZSH_CUSTOM=/home/tonyc/repos/spaceship-prompt
    # ZSH_CUSTOM=/home/tonyc/repos/spaceship-prompt

    #antigen bundle hellounicorn/zsh-ipfs
    # 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)
    source "$HOME/.cargo/env"
    source "$ZSH/oh-my-zsh.sh"
    neofetch
    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 -lagh'
    alias ll='exa -laH'
    alias la='ls -A'
    alias l='ls -CF'
    alias cpv='rsync -ah --info=progress2'
    alias df='df -h'
    alias pa='ps aux'
    @@ -62,7 +65,9 @@ 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
    # powerline-daemon -q
    # POWERLINE_BASH_CONTINUATION=1
    # POWERLINE_BASH_SELECT=1
    #. /usr/share/powerline/bindings/bash/powerline.sh
    neofetch
    # source ~/powerlevel10k/powerlevel10k.zsh-theme
  12. TensorsWillFlow revised this gist May 24, 2023. No changes.
  13. TensorsWillFlow revised this gist Nov 21, 2021. No changes.
  14. TensorsWillFlow revised this gist Aug 26, 2021. 1 changed file with 3 additions and 5 deletions.
    8 changes: 3 additions & 5 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -8,8 +8,6 @@ export ZSH="$HOME/.oh-my-zsh"
    # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
    ZSH_THEME="spaceship"

    # Setting this variable when ZSH_THEME=random will cause zsh to load
    # a theme from this variable instead of looking in $ZSH/themes/
    # If set to an empty array, this variable will have no effect.
    # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

    @@ -18,7 +16,6 @@ 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.
    @@ -38,7 +35,8 @@ 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)
    source $ZSH/oh-my-zsh.sh
    source "$HOME/.cargo/env"
    source "$ZSH/oh-my-zsh.sh"
    neofetch

    export MANPATH="/usr/local/man:$MANPATH"
    @@ -51,7 +49,7 @@ 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 -la'
    alias ll='exa -lagh'
    alias la='ls -A'
    alias l='ls -CF'
    alias cpv='rsync -ah --info=progress2'
  15. TensorsWillFlow revised this gist Mar 23, 2021. 1 changed file with 8 additions and 16 deletions.
    24 changes: 8 additions & 16 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -18,19 +18,7 @@ SAVEHIST=1000
    HISTFILE=~/.zsh_history
    HISTCONTROL=ignoreboth

    # Uncomment the following line to use case-sensitive completion.
    # CASE_SENSITIVE="true"

    # Uncomment the following line to use hyphen-insensitive completion.
    # Case-sensitive completion must be off. _ and - will be interchangeable.
    # HYPHEN_INSENSITIVE="true"

    # Uncomment the following line to disable bi-weekly auto-update checks.
    # DISABLE_AUTO_UPDATE="true"

    # Uncomment the following line to automatically update without prompting.
    # DISABLE_UPDATE_PROMPT="true"

    export UPDATE_ZSH_DAYS=10

    # Uncomment the following line if pasting URLs and other text is messed up.
    @@ -45,12 +33,11 @@ export UPDATE_ZSH_DAYS=10
    COMPLETION_WAITING_DOTS="true"
    ZSH_CUSTOM=/home/tonyc/repos/spaceship-prompt

    antigen bundle hellounicorn/zsh-ipfs
    #antigen bundle hellounicorn/zsh-ipfs

    # Standard plugins can be found in $ZSH/plugins/
    # Custom plugins may be added to $ZSH_CUSTOM/plugins/
    # Example format: plugins=(rails git textmate ruby lighthouse)
    plugins=(git rsync rust postgres ipfs node npm npx nvm python pip pipenv)
    plugins=(git rsync rust postgres ipfs)
    source $ZSH/oh-my-zsh.sh
    neofetch

    @@ -75,4 +62,9 @@ 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
    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
  16. TensorsWillFlow revised this gist Mar 19, 2021. No changes.
  17. TensorsWillFlow revised this gist Feb 13, 2021. 1 changed file with 5 additions and 7 deletions.
    12 changes: 5 additions & 7 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -31,15 +31,11 @@ HISTCONTROL=ignoreboth
    # Uncomment the following line to automatically update without prompting.
    # DISABLE_UPDATE_PROMPT="true"

    # Uncomment the following line to change how often to auto-update (in days).
    # export UPDATE_ZSH_DAYS=13
    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 colors in ls.
    # DISABLE_LS_COLORS="true"

    # Uncomment the following line to disable auto-setting terminal title.
    # DISABLE_AUTO_TITLE="true"

    @@ -49,10 +45,12 @@ HISTCONTROL=ignoreboth
    COMPLETION_WAITING_DOTS="true"
    ZSH_CUSTOM=/home/tonyc/repos/spaceship-prompt

    antigen bundle hellounicorn/zsh-ipfs

    # Standard plugins can be found in $ZSH/plugins/
    # Custom plugins may be added to $ZSH_CUSTOM/plugins/
    # Example format: plugins=(rails git textmate ruby lighthouse)
    plugins=(git)
    plugins=(git rsync rust postgres ipfs node npm npx nvm python pip pipenv)
    source $ZSH/oh-my-zsh.sh
    neofetch

    @@ -66,7 +64,7 @@ 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='ls -alF'
    alias ll='exa -la'
    alias la='ls -A'
    alias l='ls -CF'
    alias cpv='rsync -ah --info=progress2'
  18. TensorsWillFlow created this gist Feb 3, 2021.
    80 changes: 80 additions & 0 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,80 @@
    # 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"

    # Can set to "random". To know which one was loaded, run: echo $RANDOM_THEME
    # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
    ZSH_THEME="spaceship"

    # Setting this variable when ZSH_THEME=random will cause zsh to load
    # a theme from this variable instead of looking in $ZSH/themes/
    # If set to an empty array, this variable will have no effect.
    # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

    HISTSIZE=1000
    SAVEHIST=1000
    HISTFILE=~/.zsh_history
    HISTCONTROL=ignoreboth

    # Uncomment the following line to use case-sensitive completion.
    # CASE_SENSITIVE="true"

    # Uncomment the following line to use hyphen-insensitive completion.
    # Case-sensitive completion must be off. _ and - will be interchangeable.
    # HYPHEN_INSENSITIVE="true"

    # Uncomment the following line to disable bi-weekly auto-update checks.
    # DISABLE_AUTO_UPDATE="true"

    # Uncomment the following line to automatically update without prompting.
    # DISABLE_UPDATE_PROMPT="true"

    # Uncomment the following line to change how often to auto-update (in days).
    # export UPDATE_ZSH_DAYS=13

    # Uncomment the following line if pasting URLs and other text is messed up.
    # DISABLE_MAGIC_FUNCTIONS="true"

    # Uncomment the following line to disable colors in ls.
    # DISABLE_LS_COLORS="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

    # Standard plugins can be found in $ZSH/plugins/
    # Custom plugins may be added to $ZSH_CUSTOM/plugins/
    # Example format: plugins=(rails git textmate ruby lighthouse)
    plugins=(git)
    source $ZSH/oh-my-zsh.sh
    neofetch

    export MANPATH="/usr/local/man:$MANPATH"
    export LANG=en_US.UTF-8

    # 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='ls -alF'
    alias la='ls -A'
    alias l='ls -CF'
    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