Created
September 28, 2021 05:15
-
-
Save mustardfrog/2af468824331ed1c97dfc76b1aae44e6 to your computer and use it in GitHub Desktop.
This file contains 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
# Enable colors and change prompt: | |
autoload -U colors && colors | |
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b " | |
# Lines configured by zsh-newuser-install | |
bindkey -s '^r' 'ranger^M' | |
export EDITOR="nvim" | |
HISTFILE=~/.histfile | |
HISTSIZE=1000 | |
SAVEHIST=1000 | |
bindkey -v | |
bindkey -v '^?' backward-delete-char | |
# End of lines configured by zsh-newuser-install | |
# The following lines were added by compinstall | |
zstyle :compinstall filename '/home/monkey/.zshrc' | |
zstyle ':completion:*' menu select | |
zmodload zsh/complist | |
use_color=true | |
autoload -Uz compinit | |
compinit | |
_comp_options+=(globdots) # Include hidden files. | |
# Use vim keys in tab complete menu: | |
bindkey -M menuselect 'h' vi-backward-char | |
bindkey -M menuselect 'k' vi-up-line-or-history | |
bindkey -M menuselect 'l' vi-forward-char | |
bindkey -M menuselect 'j' vi-down-line-or-history | |
# End of lines added by compinstall | |
alias p="sudo pacman" | |
alias redyt="~/.config/redyt/redyt" | |
alias yt="~/.config/yt/youtube.sh" | |
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment