Skip to content

fumimi23/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

How to install

zsh

  1. 以下を$HOME/.zshenvに追記
# My dotfiles
if [ -d "$HOME/dotfiles/.zsh" ] ; then
    export ZDOTDIR=$HOME/dotfiles/.zsh
    source $ZDOTDIR/.zshenv
fi
  1. 以下のコマンドを1行ずつ実行
#starship
curl -sS https://starship.rs/install.sh | sh
exec $SHELL -l

# nodenv
git clone https://github.com/nodenv/nodenv.git ~/.nodenv
exec $SHELL -l
git clone https://github.com/nodenv/nodenv-update.git "$(nodenv root)"/plugins/nodenv-update
git clone https://github.com/nodenv/node-build.git "$(nodenv root)"/plugins/node-build

# pyenv
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
exec $SHELL -l
git clone https://github.com/pyenv/pyenv-update.git $(pyenv root)/plugins/pyenv-update
git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
exec $SHELL -l

# phpenv
# TODO: install phpenv

# goenv
git clone https://github.com/syndbg/goenv.git ~/.goenv
exec $SHELL -l

bash

  1. 以下を$HOME/.bashrcに追記
# My dotfiles
if [ -d "$HOME/dotfiles/.bash" ] ; then
    export BASHDOTDIR=$HOME/dotfiles/.bash
    source $BASHDOTDIR/.bashrc
fi
  1. 以下のコマンドを1行ずつ実行
#starship
curl -sS https://starship.rs/install.sh | sh
exec $SHELL -l

# nodenv
git clone https://github.com/nodenv/nodenv.git ~/.nodenv
exec $SHELL -l
git clone https://github.com/nodenv/nodenv-update.git "$(nodenv root)"/plugins/nodenv-update
git clone https://github.com/nodenv/node-build.git "$(nodenv root)"/plugins/node-build

# pyenv
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
exec $SHELL -l
git clone https://github.com/pyenv/pyenv-update.git $(pyenv root)/plugins/pyenv-update
git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
exec $SHELL -l
sudo apt install build-essential libbz2-dev libdb-dev libreadline-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libsqlite3-dev libssl-dev zlib1g-dev uuid-dev tk-dev

About

dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages