latest changes

This commit is contained in:
psox 2020-10-30 23:43:47 +00:00
parent bd2878fe91
commit 8643f5585b
3 changed files with 9 additions and 9 deletions

View file

18
zshrc
View file

@ -152,13 +152,13 @@ plugins+=(
if [[ "$OSTYPE" =~ "linux*" || "$OSTYPE" =~ "darwin*" || "$OSTYPE" == "cygwin" ]]
then
export VIMINIT='source $MYVIMRC'
export MYVIMRC=$PSOXIZSH/vimrc
export VIMHOME=~/.vim
cmp $PSOXIZSH/vim/autoload/plug.vim $VIMHOME/autoload/plug.vim 2>/dev/null || (
mkdir -vp $VIMHOME/autoload/
cp -av $PSOXIZSH/vim/autoload/plug.vim $VIMHOME/autoload/plug.vim
)
# export VIMINIT='source $MYVIMRC'
# export MYVIMRC=$PSOXIZSH/vimrc
# export VIMHOME=~/.vim
# cmp $PSOXIZSH/vim/autoload/plug.vim $VIMHOME/autoload/plug.vim 2>/dev/null || (
# mkdir -vp $VIMHOME/autoload/
# cp -av $PSOXIZSH/vim/autoload/plug.vim $VIMHOME/autoload/plug.vim
# )
fi
if [[ -d ~/.ssh ]]
@ -224,8 +224,8 @@ fi
# For a full list of active aliases, run `alias`.
#
# Example aliases
alias zshconfig="vim $PSOXIZSH/zshrc"
alias ohmyzsh="vim $PSOXIZSH/oh-my-zsh"
alias zshconfig="$EDITOR $PSOXIZSH/zshrc"
alias ohmyzsh="$EDITOR $PSOXIZSH/oh-my-zsh"
alias curlj="curl -H 'Content-Type: application/json' "
which nvim >/dev/null 2>&1 && alias vim="$(which nvim)"
alias v=vim