Skip to content

hthiery/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

118 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linux

Homeshick

Use homeshick to manage the dotfiles in the homedirectory:

git clone git://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshick

Enable homeshick script by sourcing it:

# from sh and its derivates (bash, zsh etc.)
printf '\nsource "$HOME/.homesick/repos/homeshick/homeshick.sh"' >> $HOME/.bashrc
# csh and derivatives (i.e. tcsh)
printf '\nalias homeshick source "$HOME/.homesick/repos/homeshick/bin/homeshick.csh"\n' >> $HOME/.cshrc
# fish shell
echo \n'source "$HOME/.homesick/repos/homeshick/homeshick.fish"' >> "$HOME/.config/fish/config.fish"

Go to the repos directory and clone the dotfiles repo:

cd $HOME/.homesick/repos/
git clone https://github.com/hthiery/dotfiles.git

Enable dotfiles castle:

homeshick link dotfiles

Bash Prompt

add the following lines to ~/.bashrc

if [ -e ~/.bash_prompt ]; then
    source ~/.bash_prompt
fi

Windows

Expecte the sources are in c:sources. A NTFS link is used to bring the vim files to the user directory. This has be done with adminstrator rights. Open command line with Start->Run command enter cmd and press CTRL+SHIFT+Enter.

cd c:\\Users\\<USER>
mklink .vimrc c:\\sources\\dotfiles\\.vimrc
mklink /D vimfiles c:\\sources\\dotfiles\\.vim

Fonts

To update the font cache use:

The debian package fonts-powerline contains the font Inconsolata-dz for Powerline.

apt install fonts-powerline

With the font-manager the installed fonts can be checked.

apt install font-manager

to update the font cache

fc-cache -vf

Submodules

To install the submodules configured in .gitsubmodules just execute the following commands after cloning this repo.

git submodule init
git submodule udpate

Color Settings

Vim

To manage the plugins use vim-plug

You need to install the vim-plug with:

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Now the vim plugins can be installed. Start vim and enter:

:PlugInstall

XResources

TBD

Shell/Bash

if [ -d ~/dotfiles/base16-shell/ ]; then
    BASE16_SHELL="$HOME/dotfiles/base16-shell/base16-bright.dark.sh"
    [[ -s $BASE16_SHELL ]] && source $BASE16_SHELL
fi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published