diff options
| author | yuzu-eva <stevenhu@web.de> | 2023-06-09 18:12:20 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2023-06-09 18:12:20 +0200 |
| commit | 70980c2c53e9fc3cadd2f6eacd085dc0297f65b6 (patch) | |
| tree | 6a7a0af6ef52501960d6d0b99d72bc67cec052d0 /.config/zsh | |
| parent | c72de1d239aac325155fc840cd226309435538de (diff) | |
nvim: added a lisp-lsp, but honestly no idea what i did in plugins.lua; aliasrc: removed most of the emerge aliases; profile: changed $BROWSER; zathura: changed next-/previous-page keybinds; zshrc: added edit-command-line; ncmpcpp: removed visualiser
Diffstat (limited to '.config/zsh')
| -rw-r--r-- | .config/zsh/.zshrc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index e1884a3..378ce10 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -4,6 +4,7 @@ stty stop undef setopt no_nomatch autoload -U compinit +autoload -U edit-command-line autoload -Uz vcs_info precmd() { vcs_info } zstyle ':completion:*' menu select @@ -12,6 +13,8 @@ zmodload zsh/complist compinit _comp_options+=(globdots) +zle -N edit-command-line + setopt PROMPT_SUBST # use emacs keybindings @@ -20,6 +23,8 @@ bindkey -e # fix del key just inserting a tilde bindkey "^[[3~" delete-char +bindkey '^x^e' edit-command-line + PROMPT='%B%{$fg[red]%}[%{$fg[magenta]%}%n%{$fg[green]%}@%{$fg[blue]%}%M%{$fg[white]%}${vcs_info_msg_0_}:%{$fg[yellow]%}%~]%{$reset_color%}%b ' setopt extendedGlob @@ -68,8 +73,6 @@ if [ -f $XDG_CONFIG_HOME/nnn/nnn.bash ]; then . $XDG_CONFIG_HOME/nnn/nnn.bash fi -neofetch - # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. #[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* |
