Fix minor issues

This commit is contained in:
Tobias Reisinger 2021-04-09 22:22:06 +02:00
parent 62ce510326
commit 900c080676
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 12 additions and 17 deletions

View file

@ -1,14 +1,6 @@
set runtimepath+=~/.config/vim,~/.config/vim/after set runtimepath+=~/.config/vim,~/.config/vim/after
set packpath+=~/.config/vim set packpath+=~/.config/vim
if has('nvim')
" Neovim specific commands
set viminfo+=n~/.cache/nviminfo
else
" Standard vim specific commands
set viminfo+=n~/.cache/viminfo
endif
" Plug plugins using VimPlug " Plug plugins using VimPlug
call plug#begin('~/.config/vim/plugged') call plug#begin('~/.config/vim/plugged')
" Tools " Tools
@ -75,6 +67,14 @@ set hlsearch
set nowrap set nowrap
set nocompatible set nocompatible
if has('nvim')
" Neovim specific commands
set viminfo+=n~/.cache/nviminfo
else
" Standard vim specific commands
set viminfo+=n~/.cache/viminfo
endif
set wildmode=longest,list,full set wildmode=longest,list,full
set fillchars+=vert:\ set fillchars+=vert:\

View file

@ -5,7 +5,7 @@ ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg_bold[yellow]%}✘ "
PROMPT='%(?, ,%{$fg[red]%}RETURN: $?%{$reset_color%} PROMPT='%(?, ,%{$fg[red]%}RETURN: $?%{$reset_color%}
) )
%{$fg[green]%}%* %{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%M%{$reset_color%}: %{$fg_bold[blue]%}%~$(git_prompt_info) %{$fg[red]%}%* %{$fg[yellow]%}%n%{$reset_color%}@%{$fg[magenta]%}%M%{$reset_color%}: %{$fg_bold[blue]%}%~$(git_prompt_info)
%{$fg_bold[green]%}%{$reset_color%} ' %{$fg[green]%}$%{$reset_color%} '
#RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}' #RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'

View file

@ -1,12 +1,7 @@
export VIMINIT='source ~/.config/vim/vimrc' . "$HOME/.config/environment"
export PASSWORD_STORE_GENERATED_LENGTH='64' . "$HOME/.config/aliasrc"
export ZDOTDIR="$HOME/.config/zsh"
source "$HOME/.config/environment"
if [ -x "$(command -v gpgconf)" ]; then if [ -x "$(command -v gpgconf)" ]; then
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent gpgconf --launch gpg-agent
fi fi
[ -x "$(command -v mpd)" ] && mpd