This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# PROVIDE: scm-server | |
# REQUIRE: LOGIN | |
# KEYWORD: shutdown | |
. /etc/rc.subr | |
name=scm | |
rcvar=`set_rcvar` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set the PS1 prompt (with colors). | |
# Based on http://www-128.ibm.com/developerworks/linux/library/l-tip-prompt/ | |
# And http://networking.ringofsaturn.com/Unix/Bash-prompts.php . | |
# PS1="\h\[\e[32;1m\]:\[\e[32;1m\]\w$ \[\e[0m\]" | |
## GIT / SVN aware prompt | |
BLACK="\[\033[0;38m\]" | |
RED="\[\033[0;31m\]" | |
RED_BOLD="\[\033[01;31m\]" | |
BLUE="\[\033[01;34m\]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export EDITOR=vim | |
# Lines configured by zsh-newuser-install | |
HISTFILE=~/.histfile | |
HISTSIZE=10240 | |
SAVEHIST=10240 | |
setopt appendhistory extendedglob nomatch | |
unsetopt beep | |
bindkey -e | |
WORDCHARS=${WORDCHARS//\/} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Use vim settings, rather then vi settings (much better!) | |
" This must be first, because it changes other options as a side effect. | |
set nocompatible | |
set t_Co=256 " iTerm2 supports 256 color mode. | |
set ai " auto indenting | |
set history=100 " keep 100 lines of history | |
set ruler " show the cursor position | |
syntax on " syntax highlighting | |
filetype plugin on " use the file type plugins |