mirror of
https://github.com/akelge/vim
synced 2025-08-16 23:58:41 +00:00
Removed useless or duplicate files, speedup others
This commit is contained in:
@ -1,6 +1,52 @@
|
||||
# Mac Ports
|
||||
if [ -f /opt/local/etc/init.sh ]; then
|
||||
source /opt/local/etc/init.sh
|
||||
[ ! -d /opt/local ] && return
|
||||
|
||||
# Setup PATH
|
||||
if [ -z "$PATH" ]; then
|
||||
PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:~/bin
|
||||
else
|
||||
PATH=/opt/local/bin:/opt/local/sbin:$PATH
|
||||
fi
|
||||
export PATH
|
||||
|
||||
# # Setup MANPATH
|
||||
# if [ -z "$MANPATH" ]; then
|
||||
# MANPATH=`/usr/bin/manpath`
|
||||
# fi
|
||||
# MANPATH=/opt/local/man:$MANPATH
|
||||
# export MANPTH
|
||||
|
||||
# # Setup INFOPATH
|
||||
# if [ -z "$INFOPATH" ]; then
|
||||
# INFOPATH=/opt/local/share/info:/opt/local/info:/usr/share/info
|
||||
# else
|
||||
# INFOPATH=/opt/local/share/info:/opt/local/info:$INFOPATH
|
||||
# fi
|
||||
# export INFOPATH
|
||||
|
||||
if [ -z "$PERL5LIB" ]; then
|
||||
PERL5LIB=/opt/local/lib/perl5:/opt/local/lib/perl5/darwin
|
||||
else
|
||||
PERL5LIB=/opt/local/lib/perl5:/opt/local/lib/perl5/darwin:$PERL5LIB
|
||||
fi
|
||||
export PERL5LIB
|
||||
|
||||
# Add X11 paths (but only if the directories are readable)
|
||||
if [ -r /usr/X11R6/bin ]; then
|
||||
PATH=$PATH:/usr/X11R6/bin
|
||||
export PATH
|
||||
fi
|
||||
# if [ -r /usr/X11R6/man ]; then
|
||||
# MANPATH=$MANPATH:/usr/X11R6/man
|
||||
# export MANPATH
|
||||
# fi
|
||||
|
||||
# PY_VER="2.7"
|
||||
|
||||
# PYTHONPATH="/opt/local/lib/python/site-packages:/opt/local/Library/Frameworks/Python.framework/Versions/${PY_VER}/lib/python${PY_VER}/site-packages/"
|
||||
# #PYTHONHOME="/opt/local/Library/Frameworks/Python.framework/Versions/${PY_VER}"
|
||||
|
||||
# export PYTHONPATH
|
||||
#export PYTHONHOME
|
||||
|
||||
# vim: set ts=4 sw=4 tw=0 ft=zsh :
|
||||
|
@ -1,13 +0,0 @@
|
||||
# Core Utils woth Brew
|
||||
#
|
||||
|
||||
ver=`brew info coreutils 2>/dev/null| head -1|cut -d" " -f2`
|
||||
[ "$ver" = "" -o "$ver" = "No" ] && return 1
|
||||
|
||||
if [ -f /etc/zsh/gdircolors ]; then
|
||||
eval `gdircolors /etc/zsh/gdircolors`
|
||||
else
|
||||
eval `gdircolors`
|
||||
fi
|
||||
source /usr/local/Cellar/coreutils/$ver/aliases
|
||||
#alias ls='ls -F -G' # We use OSX ls 'cause it shows extended attrs
|
@ -1,19 +0,0 @@
|
||||
# Core Utils
|
||||
which gcp > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ -f /etc/zsh/gdircolors ]; then
|
||||
eval `gdircolors /etc/zsh/gdircolors`
|
||||
else
|
||||
eval `gdircolors`
|
||||
fi
|
||||
#alias ls='gls --color -F' # OSX ls is better (supports extended attributes)
|
||||
alias ll='ls -l'
|
||||
alias la='ls -a'
|
||||
alias cp='gcp'
|
||||
alias mv='gmv'
|
||||
alias rm='grm'
|
||||
alias du='gdu'
|
||||
alias df='gdf -a'
|
||||
fi
|
||||
|
||||
# vim: set ts=4 sw=4 tw=0 ft=zsh :
|
@ -1,6 +0,0 @@
|
||||
# Mac Ports
|
||||
if [ -f /opt/local/etc/init.sh ]; then
|
||||
source /opt/local/etc/init.sh
|
||||
fi
|
||||
|
||||
# vim: set ts=4 sw=4 tw=0 ft=zsh :
|
Reference in New Issue
Block a user