- Notifications
You must be signed in to change notification settings - Fork13
My dotfiles for herbstluftwm, tmux, zsh, Vim, and other applications...
License
ssh0/dotfiles
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository contains my dotfiles.
I use dotfiles managerdot in order to:
- Set symbolic links
- Add new file to this repository
- Switch machine specific configurations
Clone this repository by
git clone https://github.com/ssh0/dotfiles.git ~/.ssh0-dotfiles
Then, execute:
cd ~/.ssh0-dotifles./install.sh
install.sh will installdot
and make the symolic links written indotlink
.
- 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 completionsource $HOME/.zsh/dot/dot.sh
See details atdot'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/dotcat > $HOME/.config/dot/dotrc-ssh0 << EOFclone_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 usingdot-ssh0 set -i
.
This repository iswork-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 indotlink
).
For my other machines ...
~/.zsh/rc.mine
export PC=T540p/
~/.zsh/rc.mine
export PC=S10e/
All the files in this repository (except submodule) is underWTFPL - Do What the Fuck You Want to Public License.
See full text atLICENSE.