Skip to content

Instantly share code, notes, and snippets.

@wreulicke
Last active September 10, 2016 01:23
Show Gist options
  • Save wreulicke/8ee598d00b56731c7ecfb3763d925a26 to your computer and use it in GitHub Desktop.
Save wreulicke/8ee598d00b56731c7ecfb3763d925a26 to your computer and use it in GitHub Desktop.
memo
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/user/.zshrc'
bindkey -e
autoload -Uz compinit
compinit
# End of lines added by compinstall
alias rm='rm -i'
alias mv='mv -i'
alias cp='cp -i'
alias ls='ls --color=auto'
alias la='ls -a'
alias lf='ls -FA'
alias ll='ls -lA'
alias gd='dirs -v; echo -n "select number: "; read newdir; if [ $newdir ]; then; cd +"$newdir"; fi'
export LANG=ja_JP.UTF-8
export LC_ALL=ja_JP.UTF-8
export XMODIFIERS=@im=scim
export GTK_IM_MODULE=scim
if [ $(whoami) = "root" ] ; then
PROMPT=$'%B%m:%d%b\n%S%B%n%#%b%s '
else
PROMPT=$'%B%m:%d%b\n%n%#%b '
fi
RPROMPT="%B%D{%Y-%m-%d %H:%M:%S}%b"
setopt auto_list list_types
setopt auto_pushd pushd_ignore_dups
setopt hist_ignore_all_dups hist_ignore_dups hist_save_nodups hist_ignore_space
setopt extended_history share_history hist_reduce_blanks hist_expand
setopt no_beep
setopt interactive_comments
setopt extended_glob
setopt print_eight_bit
if [ $SHLVL = 1 ];then
screen
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment