- debian, mac - system-specific configurations
- shared - configurations not tied to specific system (aliases, editors etc.)
$SYSTEM
represents the operating system that is being configured. Currently either 'mac'
or 'debian'
.
-
Symlink entire
fish
directory to~/.config
, usually likeln -s $HOME/Workspace/dotfiles/$SYSTEM/fish ~/.config
-
Symlink shared aliases to
conf.d
dir insidefish
directory, usually likeln -s $HOME/Workspace/dotfiles/shared/git-aliases.sh $HOME/Workspace/dotfiles/$SYSTEM/fish/conf.d/aliases.fish
This way they will be automatically loaded on fish startup.
Symlink gitconfig
ln -s $HOME/Workspace/dotfiles/shared/.gitconfig ~
Symlink editorconfig
ln -s $HOME/Workspace/dotfiles/shared/.editorconfig ~
- use fish shell only and move aliases there?
- create a script for convertion between fish and zsh/bash aliases?
- change color of git prompt
- use informative git prompt