Skip to content

luanpotter/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

These are my personal dotfiles, containing some crucial scripts, functions and aliases.

Structure

All machines are structured as follows, inside your home dir:

.
├── .config # basic config folder most programs use, should be there already
├── projects # where you will clone every project
├── softwares # software binaries and scripts (not cloned)
└── downloads # where all software will be configured to put downloads (browsers, torrent, etc)

Setup

Setup is really easy:

  • Symlink configuration files for each of the managed configs:
    ./config/setup.sh
  • Link scripts folder inside your softwares folder:
    mkdir $HOME/softwares
    ln -s $HOME/projects/dotfiles/scripts $HOME/softwares/scripts
  • Source functions.sh in your .bashrc; it should look like this:
   # If not running interactively, don't do anything
   [[ $- != *i* ]] && return

   source "$HOME/projects/dotfiles/functions.sh"

   # Env specific custom stuff
   # ...

Note: if you are using zsh, don't forget to make sure your ~/.zshrc is sourcing your bashrc:

  source ~/.bashrc
  • Use the script to install the custom fonts (note: Linux only!)
    cd ./fonts
    ./install.sh
    # must be run from within fonts folder (TODO fix this!)
  • Setup git only once in your life (changes are persistent):
    ./git-setup.sh # open this file first to change your email and name!
  • Finally, link the .vimrc file:
    ln -s $HOME/projects/dotfiles/.vimrc ~/.vimrc

After that, you must open vim once (v), and see a lot of erros; just run :PlugInstall once to do everything. Next run should give you no errors.

About

My custom dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published