From: Simon Ruderich Date: Sun, 22 Feb 2009 15:59:48 +0000 (-0600) Subject: Add Vim modeline. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=dd87c200babeaa8006cbe7df050e1477c84a5aba;p=config%2Fdotfiles.git Add Vim modeline. --- diff --git a/bash/host/rc.zucker b/bash/host/rc.zucker index cd96419..e8e5d11 100644 --- a/bash/host/rc.zucker +++ b/bash/host/rc.zucker @@ -3,3 +3,5 @@ # Immediately start zsh. zsh + +# vim: ft=sh diff --git a/bash/rc b/bash/rc index d03d05e..3e17648 100644 --- a/bash/rc +++ b/bash/rc @@ -36,3 +36,5 @@ set -o vi source_config ~/.bash host rc $host source_debug "finished sourcing ~/.bash/env" + +# vim: ft=sh diff --git a/shell/env.rammstein b/shell/env.rammstein index 488c958..1d9d096 100644 --- a/shell/env.rammstein +++ b/shell/env.rammstein @@ -13,3 +13,5 @@ export http_proxy HTTP_PROXY # Necessary for xterm to find man pages through PATH. unset MANPATH + +# vim: ft=sh diff --git a/zsh/env b/zsh/env index a413b57..ecfd002 100644 --- a/zsh/env +++ b/zsh/env @@ -29,3 +29,5 @@ source_config ~/.zsh os env $(uname) nolocal source_config ~/.zsh host env $host source_debug "finished sourcing ~/.zsh/env" + +# vim: ft=zsh diff --git a/zsh/functions/extract b/zsh/functions/extract index 2fa5304..5a73454 100644 --- a/zsh/functions/extract +++ b/zsh/functions/extract @@ -37,3 +37,5 @@ for i in {1..${#current_dirs}}; do done #compdef '_files -g "*.gz *.tgz *.bz2 *.tbz *.zip *.rar *.tar *.lha"' extract_archive + +# vim: ft=zsh diff --git a/zsh/host/env.peters-g5 b/zsh/host/env.peters-g5 index a008af9..2f7759d 100644 --- a/zsh/host/env.peters-g5 +++ b/zsh/host/env.peters-g5 @@ -4,3 +4,5 @@ # Update the default PATH to include MacPorts, X11, and /usr/local. typeset -U path path=(/opt/local/bin /opt/local/sbin /usr/local/bin $path /usr/X11R6/bin) + +# vim: ft=zsh diff --git a/zsh/host/env.rammstein b/zsh/host/env.rammstein index 91759a7..da59565 100644 --- a/zsh/host/env.rammstein +++ b/zsh/host/env.rammstein @@ -10,3 +10,5 @@ MYUNIX=~/Documents/unix # otherwise the path wouldn't be changed outside the function. typeset -g -U path path=($MYUNIX/bin /opt/local/bin /opt/local/sbin $path /usr/X11R6/bin) + +# vim: ft=zsh diff --git a/zsh/host/env.zucker b/zsh/host/env.zucker index ae383d0..fd00d22 100644 --- a/zsh/host/env.zucker +++ b/zsh/host/env.zucker @@ -5,3 +5,5 @@ # Add my bin/ directory to the default PATH. typeset -U path path=($HOME/bin $path) + +# vim: ft=zsh diff --git a/zsh/host/rc.rammstein b/zsh/host/rc.rammstein index 90c8c58..b5378f8 100644 --- a/zsh/host/rc.rammstein +++ b/zsh/host/rc.rammstein @@ -27,3 +27,5 @@ if [[ $TERM != 'screen' && $TERM != 'dumb' ]]; then clear screen -list fi + +# vim: ft=zsh diff --git a/zsh/host/rc.zucker b/zsh/host/rc.zucker index 61ad339..afbb955 100644 --- a/zsh/host/rc.zucker +++ b/zsh/host/rc.zucker @@ -10,3 +10,5 @@ logs=/var/log/apache2/ruderich # Aliases for easy and fast cd to important directories. alias cdh='cd ~htdocs' alias cdl='cd ~logs' + +# vim: ft=zsh diff --git a/zsh/os/rc.Darwin b/zsh/os/rc.Darwin index 1904e74..992b68c 100644 --- a/zsh/os/rc.Darwin +++ b/zsh/os/rc.Darwin @@ -16,3 +16,5 @@ export CLIPBOARD # Fetch current URL in clipboard with wget. alias wnc='wget --no-proxy $CLIPBOARD' + +# vim: ft=zsh diff --git a/zsh/rc b/zsh/rc index 3c4234b..aa64848 100644 --- a/zsh/rc +++ b/zsh/rc @@ -320,3 +320,5 @@ source_config ~/.zsh os rc $(uname) nolocal source_config ~/.zsh host rc ${$(hostname)//.*/} source_debug "finished sourcing ~/.zsh/rc" + +# vim: ft=zsh