• Stars
    star
    100
  • Rank 340,703 (Top 7 %)
  • Language
    Shell
  • License
    Do What The F*ck ...
  • Created almost 10 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

My dotfiles for herbstluftwm, tmux, zsh, Vim, and other applications...

日本語

dotfiles

This repository contains my dotfiles.

I use dotfiles manager dot in order to:

  • Set symbolic links
  • Add new file to this repository
  • Switch machine specific configurations

Contents

Screenshot

screenshot.png

How to Install

Install by dot

ssh0/dot: dotfiles management framework with shell

Execute install.sh

Clone this repository by

git clone https://github.com/ssh0/dotfiles.git ~/.ssh0-dotfiles

Then, execute:

cd ~/.ssh0-dotifles
./install.sh

install.sh will install dot and make the symolic links written in dotlink.

Install manually

1. Install dot

  • Clone the repository
git clone https://github.com/ssh0/dot $HOME/.zsh/dot
  • Write in your {bash|zsh}rc like below:
export DOT_REPO="https://github.com/your_username/dotfiles.git"
export DOT_DIR="$HOME/.dotfiles"
fpath=($HOME/.zsh/dot $fpath)  # <- for completion
source $HOME/.zsh/dot/dot.sh

See details at dot's README.

2. Clone repository and make symbolic links

  • Create the dot's config file for this repository(of cource you can make that for your own dotfiles)
mkdir -p $HOME/.config/dot
cat > $HOME/.config/dot/dotrc-ssh0 << EOF
clone_repository="https://github.com/ssh0/dotfiles.git"
dotdir="$HOME/.dotfiles-ssh0"
dotlink="$HOME/.dotfiles-ssh0/dotlink"
linkfiles=("$HOME/.dotfiles-ssh0/dotlink")
EOF
  • Write like below in your {bash|zsh}rc and reload shellrc:
alias dot-ssh0="dot_main -c $HOME/.config/dot/dotrc-ssh0"
  • Execute the dot command:
dot-ssh0 clone -f && dot-ssh0 set

Then, this repository is cloned on your computer and the symbolic links will be created.

If files or links have already existed, this command will ask you to choose the operation. So, don't worry about breaking your existing system. You can skip these conflict files by using dot-ssh0 set -i.

This repository is work-in-progress and some files will be changed in the future. If you want to follow up-to-date settings:

dot-ssh0 update

Install without dot

Clone (or folk) this repository on your computer:

git clone --recursive https://github.com/ssh0/dotfiles.git ~/.dotfiles-ssh0

then, you can copy or make a symbolic from the directory to the right place(described in dotlink).

Local settings

For my other machines ...

ThinkPad T540p

~/.zsh/rc.mine

export PC=T540p/

Lenovo IdeaPad S10e

~/.zsh/rc.mine

export PC=S10e/

License

All the files in this repository (except submodule) is under WTFPL - Do What the Fuck You Want to Public License.

See full text at LICENSE.