Skip to content

Instantly share code, notes, and snippets.

@ytakano
Created June 6, 2011 11:48
Show Gist options
  • Select an option

  • Save ytakano/1010120 to your computer and use it in GitHub Desktop.

Select an option

Save ytakano/1010120 to your computer and use it in GitHub Desktop.
zshrc
setopt auto_menu auto_cd correct auto_name_dirs auto_remove_slash
setopt extended_history hist_ignore_dups hist_ignore_space prompt_subst
setopt pushd_ignore_dups rm_star_silent sun_keyboard_hack
setopt extended_glob list_types no_beep always_last_prompt
setopt cdable_vars auto_param_keys magic_equal_subst sh_wordsplit
setopt auto_pushd complete_aliases
set convert-meta off
set meta-flag on
set output-meta on
set input-meta on
set kanji-code utf-8
unsetopt beep
alias ls='ls -FG --color'
alias la='ls -FGa --color'
alias ll='ls -FGal --color'
alias l.='ls -FGa --color .[a-zA-Z0-9]*'
autoload -U compinit
compinit
bindkey -e
# set terminal title including current directory
#
case "${TERM}" in
kterm*|xterm)
precmd() {
echo -ne "\033]0;${USER}@${HOST%%.*}:${PWD}\007"
}
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment