mirror of https://github.com/akelge/zsh
Another try
This commit is contained in:
parent
1bd6ae951c
commit
5dbae34bce
7
zshrc
7
zshrc
|
@ -151,14 +151,15 @@ fi
|
||||||
|
|
||||||
if [ `uname -s` = "Darwin" ]; then
|
if [ `uname -s` = "Darwin" ]; then
|
||||||
export LSCOLORS="GxgxcxdxCxegedabagacad"
|
export LSCOLORS="GxgxcxdxCxegedabagacad"
|
||||||
|
|
||||||
# Function for Vim
|
# Function for Vim
|
||||||
function vimFunc {
|
function vimFunc {
|
||||||
|
|
||||||
if [ "x$SSH_CLIENT" = "x" ]; then
|
if [ "x$SSH_CLIENT" = "x" ]; then
|
||||||
vim_args="mvim --servername VIM"
|
vim_args="`echo =mvim` --servername VIM"
|
||||||
local_vim=1
|
local_vim=1
|
||||||
else
|
else
|
||||||
vim_args="/usr/bin/vim"
|
vim_args="`echo =vim`"
|
||||||
local_vim=0
|
local_vim=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -174,6 +175,8 @@ if [ `uname -s` = "Darwin" ]; then
|
||||||
`echo ${vim_args}`
|
`echo ${vim_args}`
|
||||||
unset vim_args
|
unset vim_args
|
||||||
unset local_vim
|
unset local_vim
|
||||||
|
echo $?
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# Alias for editors on OSX, a bit hard, to be fixed
|
# Alias for editors on OSX, a bit hard, to be fixed
|
||||||
|
|
Loading…
Reference in New Issue