-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
57 lines (36 loc) · 1.55 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
yet another .dotfiles repo
=> ZSH settings
.zshrc -> .dotfiles/_zsh/.zshrc
contains oh-my-zsh as submodule (automatic update disabled)
bash aliases are common with BASH (_alias file)
[linux] : create symlinks
ln -s ~/.dotfiles/_zshrc ~/.zshrc
ln -s ~/.dotfiles/_oh-my-zsh ~/.oh-my-zsh
=> VIM
contains plugins as submodules in _vim/.vim/bundle folder
[linux] : create symlinks
ln -s ~/.dotfiles/_vim ~/.vim
ln -s ~/.dotfiles/_vimrc ~/.vimrc
[windows] : create ~/.vimrc file with content :
=> BASH settings
bash aliases are common with ZSH (_alias file)
[windows xp] : create a .bashrc in folder %userprofile% with :
#!/bin/bash
source ~/.dotfiles/_bashrc
[windows 7 & further] : create symbolic links
- open a command window as administator
- execute command (mklink : using .\ in path is mandatory to make link relative)
cd %userprofile%
mklink .bashrc .\.dotfiles\_bashrc
mkdir .\bin
mklink .\bin\ack .\.dotfiles\bin\ack
[linux] : create symbolic link ~/.bashrc -> ~/.dotfiles/_bashrc
TODO
- add xmlstarlet for windows
- make use of zsh aliases to use file associations
- make configuration fit multiple environments using simple conditions
- one for vidal
- one for each personnal setup
-> use a common file local to each computer
- fix link path when executed from .dotfiles folder itself (ok when from parent folder)
-> links miss the .dotfiles folder, and thus refer to a broken target