virzen / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Structure

  • debian, mac - system-specific configurations
  • shared - configurations not tied to specific system (aliases, editors etc.)

Setup

Fish

$SYSTEM represents the operating system that is being configured. Currently either 'mac' or 'debian'.

  • Symlink entire fish directory to ~/.config, usually like

    ln -s $HOME/Workspace/dotfiles/$SYSTEM/fish ~/.config
  • Symlink shared aliases to conf.d dir inside fish directory, usually like

    ln -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.

  • install fish

Git

Symlink gitconfig

ln -s $HOME/Workspace/dotfiles/shared/.gitconfig ~

Editorconfig

Symlink editorconfig

ln -s $HOME/Workspace/dotfiles/shared/.editorconfig ~

TODO

  • 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

About


Languages

Language:Shell 63.4%Language:Vim Snippet 25.4%Language:Vim Script 10.6%Language:CSS 0.6%