Last active
August 29, 2015 14:05
-
-
Save retrage/83a7d8f5fd6401bd6515 to your computer and use it in GitHub Desktop.
This gist updates my vimrc and zshrc.
This file contains 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 | |
cd ~/src/83a7d8f5fd6401bd6515 | |
echo "Updating vimrc and zshrc: \c" | |
git pull | |
cp .vimrc ~/.vimrc | |
cp .zshrc ~/.zshrc | |
# cp updaterc.sh ~/updaterc-next.sh | |
# chmod 764 ~/updaterc.sh |
This file contains 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
syntax on | |
filetype indent plugin on | |
set tabstop=8 expandtab shiftwidth=4 softtabstop=4 | |
set number | |
set mouse= | |
set nocompatible | |
set incsearch | |
set clipboard=unnamed,autoselect |
This file contains 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
# ./updaterc.sh | |
autoload -U compinit | |
compinit | |
# autoload predict-on | |
# predict-on | |
bindkey -v | |
setopt auto_pushd | |
setopt correct | |
HISTFILE=~/.zsh_history | |
HISTSIZE=50000 | |
SAVEHIST=50000 | |
setopt hist_ignore_dups | |
setopt share_history | |
export LANG=ja_JP.UTF-8 | |
#case ${UID} in | |
# 0) | |
PROMPT="%B%n@%m$%b " | |
SPROMPT="%B%R -> %r ? [n,y,a,e]%b" | |
RPROMPT="[%~]" | |
# *) | |
alias ls="ls --color=auto" | |
alias grep="grep --color=auto" | |
alias ll="ls -alF" |
This file contains 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 | |
cd ~/src/83a7d8f5fd6401bd6515 | |
echo "Updating vimrc and zshrc: \c" | |
git pull | |
cp .vimrc ~/ | |
cp .zshrc ~/ | |
cp updaterc.sh ~/ | |
chmod 764 ~/updaterc.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment