Fix minor issues
This commit is contained in:
parent
62ce510326
commit
900c080676
3 changed files with 12 additions and 17 deletions
|
@ -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:\
|
||||||
|
|
|
@ -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%}'
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue