Add support for osx

This commit is contained in:
André Stemmet 2017-12-18 22:41:07 +00:00
parent 9d267f35b2
commit ca85657c22
2 changed files with 8 additions and 8 deletions

2
vimrc
View File

@ -3,7 +3,7 @@ exec "set rtp=$VIMHOME," . &rtp
set encoding=utf-8
call plug#begin()
call plug#begin('~/.psoxizsh/vim/plugged')
Plug 'junegunn/vim-easy-align'
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-fugitive'

14
zshrc
View File

@ -89,17 +89,17 @@ plugins=(
python
pip
sudo
redhat
$( which tmux 2>&1 >/dev/null && echo tmux )
$( which rpmbuild 2>&1 >/dev/null && echo rpmbuild )
$( which rpm 2>&1 >/dev/null && echo rpm )
$( which yum 2>&1 >/dev/null && echo yum )
$( which kubeadm 2>&1 >/dev/null && echo kubeadm )
$( [[ -e /etc/arch-release ]] && echo archlinux )
$( [[ -e /etc/centos-release ]] && echo fedora )
$( [[ -e /etc/redhat-release ]] && echo fedora )
$( [[ -e /etc/ubuntu-release ]] && echo ubuntu )
$( [[ -e /etc/suse-release ]] && echo suse )
$( [[ -e /etc/arch-release ]] && echo archlinux )
$( [[ -e /etc/centos-release ]] && echo fedora )
$( [[ -e /etc/redhat-release ]] && echo redhat )
$( [[ -e /etc/ubuntu-release ]] && echo ubuntu )
$( [[ -e /etc/suse-release ]] && echo suse )
$( [[ "$(uname)" == "Darwin" ]] && echo osx )
vim-interaction
ssh-agent
zsh-completions
@ -108,7 +108,7 @@ plugins=(
zsh-history-substring-search
)
if [[ "$OSTYPE" == "linux-gnu" ]]
if [[ "$OSTYPE" == "linux-gnu" || "$OSTYPE" == "darwin17.0.0" ]]
then
export VIMINIT='source $MYVIMRC'
export MYVIMRC=$HOME/.psoxizsh/vimrc