Commit 6f086412 authored by Naoki OKAMURA's avatar Naoki OKAMURA

improved: updated zsh for latest NixOS environment

parent 05b8c98f
......@@ -31,22 +31,22 @@ ln -sf $DOTFILES/git/gitconfig $HOME/.gitconfig
ln -sf $DOTFILES/git/gitignore $HOME/.gitignore
# vim
ln -sf $DOTFILES/vim/init.vim $HOME/.vimrc
ln -sf $DOTFILES/vim/init.gvim $HOME/.gvimrc
test -d $HOME/.config/nvim/autoload || mkdir -p $HOME/.config/nvim/autoload/
test -d $HOME/.config/nvim/colors || mkdir -p $HOME/.config/nvim/colors/
test -d $HOME/.nvim.d/swap || mkdir -p $HOME/.vim.d/swap
test -d $HOME/.vim.d/backup || mkdir -p $HOME/.vim.d/backup
ln -sf $DOTFILES/vim/init.vim $HOME/.config/nvim/init.vim
if has go ; then
go get -u github.com/vim-volt/volt
cd $GOPATH/src/github.com/vim-volt/volt
make
mkdir -p $GOPATH/bin
cp bin/volt $GOPATH/bin/volt
fi
curl -L https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim -o $HOME/.config/nvim/autoload/plug.vim
curl -L https://raw.githubusercontent.com/hukl/Smyck-Color-Scheme/master/smyck.vim -o $HOME/.config/nvim/colors/smyck.vim
if has volt ; then
ln -sf $DOTFILES/volt $HOME/.config/vim-volt
volt get -u -l
volt build
fi
# zsh
ln -sf $DOTFILES/zsh/bootstrap.zsh $HOME/.zshrc
ln -sf $DOTFILES/zsh/zshrc.zsh $HOME/.zshrc
# mlterm
test -d $HOME/.mlterm || mkdir -p $HOME/.mlterm
......@@ -54,4 +54,3 @@ ln -sf $DOTFILES/mlterm/main $HOME/.mlterm/main
ln -sf $DOTFILES/mlterm/aafont $HOME/.mlterm/aafont
ln -sf $DOTFILES/mlterm/color $HOME/.mlterm/color
ln -sf $DOTFILES/mlterm/key $HOME/.mlterm/key
......@@ -48,7 +48,7 @@ if ! test -d "$HOME"/.vim.d ; then
mkdir -p "$HOME"/.vim.d/{backup,swap}
fi
test -e $HOME/.config/vim-volt || ln -s $DOTFILES/volt $HOME/.config/vim-volt
test -e $HOME/.config/vim-volt || ln -sf $DOTFILES/volt $HOME/.config/vim-volt
### FIXME: auto install for vim plugins
......
#!/usr/bin/env zsh
# Language
# --------
case "${TERM:-}" in
*)
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
;;
esac
# Golang
# ------
export GOPATH="$HOME"/dev
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment