latest changes
This commit is contained in:
parent
bd2878fe91
commit
8643f5585b
18
zshrc
18
zshrc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue