You are here |
www.petecorey.com | ||
| | | |
yasha.solutions
|
|
| | | | ok so I add the following problem to deal with. Posted here for reference. Source Even if the user and host are the same, they can still be distinguished in ~/.ssh/config. For example, if your configuration looks like this: Then you just use gitolite-as-alice and gitolite-as-bob instead of the hostname in your URL: | |
| | | |
davidalfonso.es
|
|
| | | | ||
| | | |
jamesmead.org
|
|
| | | | Using conditional includes in your git configuration | |
| | | |
chr4.org
|
|
| | I don't like messy dotfiles. The thought of having tons of random configuration entries in files like my .zshrc really bothers me, so I implemented something that works like a conf.d like directory structure for my shell dotfiles. I also still use the bash shell in certain situations, and I want a more or less consistent environment, no matter which shell I use (bash, zsh). With the following setup, it's possible to have the following: A directory called zshrc.d, which includes multiple, zsh related configuration files. A directory called bashrc.d, including multiple configuration files concerning bash. A directory called rc.d, including configuration items needed by both shells. A directory called login.d, including elements included by .bash_profile resp. .zlogin. This keeps your dotfiles nice and clean, and also allows you do have additional files on systems where you need them, without them being included on all your systems (e.g. your $GOPATH). |