Skip to content
/ dotfiles Public

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

License

Notifications You must be signed in to change notification settings

ssh0/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

日本語

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

ssh0/dot: dotfiles management framework with shell

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.

  • 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.

  • 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

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published