This is a collection of dotfiles that I use on a arch linux as usual. When you run the install script, you can make this customized environment onto arch, ubuntu, fedora and Mac OS X instantly.
These install methods will clone this repository at ~/.dotfiles and create symbolic links to .vim .tmux etc in ~/.dotfiles.
bash <(curl -o- https://raw.githubusercontent.com/TsutomuNakamura/dotfiles/master/install.sh)
It will install dependency packages if you have root privileges or belong to sudoers.
If you want not to install dependency packages, you can specify the option "-n" like below.
bash -- <(curl -o- https://raw.githubusercontent.com/TsutomuNakamura/dotfiles/master/install.sh) -n
Usually, the install script clone this repository by using https protocol but if you want to clone it by using ssh protocol, you can specify the option "-g" like below
bash -- <(curl -o- https://raw.githubusercontent.com/TsutomuNakamura/dotfiles/master/install.sh) -g
This script can clone this specific branch or tag of repository for developers or the man who want to use other main versions of dotfiles.
branch="develop"
bash -- <(curl -o- https://raw.githubusercontent.com/TsutomuNakamura/dotfiles/${branch}/install.sh) -b ${branch}
This command will clone the develop branch of the repository.
This dotfiles tested on distribution and OS like below.
Distribution or OS | Condition |
---|---|
Arch | ✔️ |
Ubuntu | ✔️ |
Fedora | ✔️ |
MacOS | ✔️ |
Debian | ✔️ |
CentOS | ✔️ |
This dotfiles tested on some emulators like below.
application | OS | Condition |
---|---|---|
Gnome terminal | Linux | ✔️ |
Konsole | Linux | ✔️ |
Terminal (Mac) | Mac | ✔️ |
iTerm (Mac) | Mac | ✔️ |
This dotfiles equipments some useful features.
Hyperextensible Vim-based text editor. This dotfiles will install it and configure it. But some of distributions like CentOS, Debian are not prepared yet.
Distribution or OS | Condition | Remarks |
---|---|---|
Arch | ✔️ | Compatible! |
Ubuntu | ✔️ | Compatible! |
Fedora | ✔️ | Compatible! |
Debian | ✖️ | Not Compatible yet. |
CentOS | ✖️ | Not Compatible yet. |
MacOS | ✔️ | Compatible! |
Run vim and press "tr", then NERDTree will open.
vim-airline and vim-airline-themes provide cool status line for vim!
Terminal multiplexer tmux makes you easy to control multi terminal.
tmuxline makes your tmux interface cool and icons provides you useful informations.
icon | description |
---|---|
Hostname | |
User name | |
Load average | |
Git branch name | |
Index moditifed | |
Updated files | |
Deleted files | |
Merge conflict | |
Untracked files | |
Ignored files |
For developers, the install script in this repository could test with on docker container. Run the commands like below then the test cases will be started.
# # Test all suites
$ docker run --rm --volume ${PWD}:/home/foo/dotfiles -ti tsutomu/ubuntu-dot-test su - foo -c "cd /home/foo/dotfiles && make test"
If you want to login the container without running tests.
$ docker run --rm --volume ${PWD}:/home/foo/dotfiles -ti tsutomu/ubuntu-dot-test su - foo -l
$ cd /home/foo/dotfiles
$ make test
Or if you want to run only specific cases, you can specify scripts to test like below.
$ ./test.sh ./test/install_check_environment.bats
Yes, this dotfiles will break your dotfiles using now.
But don't worry about it because your dotfiles will be backupd into the directory ~/.backup_of_dotfiles
.
Restore your dotfiles as needed, please.
This dotfiles requires nerd-font. Your font-config will set your font-config on Linux such as Arch, Ubuntu, Fedora automatically but Mac won't. Please set your font as needed by your hand.
This dotfiles is developed on the concept as simple and visibility but utilities satisfactory. It is now under ongoing and will commit new customizations and ideas for continuously.
The code is available under the MIT license.