Skip to content

Eragos/dotfiles

Repository files navigation

  ____      U  ___ u _____    _____              _     U _____ u ____    
 |  _"\      \/"_ \/|_ " _|  |" ___|    ___     |"|    \| ___"|// __"| u 
/| | | |     | | | |  | |   U| |_  u   |_"_|  U | | u   |  _|" <\___ \/  
U| |_| |\.-,_| |_| | /| |\  \|  _|/     | |    \| |/__  | |___  u___) |  
 |____/ u \_)-\___/ u |_|U   |_|      U/| |\u   |_____| |_____| |____/>> 
  |||_         \\   _// \\_  )(\\,-.-,_|___|_,-.//  \\  <<   >>  )(  (__)
 (__)_)       (__) (__) (__)(__)(_/ \_)-' '-(_/(_")("_)(__) (__)(__)     

Overview

This repo is a store my personal Debian and macOS dotfiles. I use zsh as default shell with Oh My ZSH framework and the nice Cobalt2 theme always inside a tmux session.

Feel free to use it. Be creative to enhance it - and share it!

Warning: These dotfiles reflect my personal settings. If you want to use it - wellcome! But review the settings and remove things, you don't want to need. Do not use it blindly. Use at your own risk!

![tmux and vim](screenshot/screenshot.png?raw=true = 250x "tmux and vim")

Features

Requirements

Some of configuration assets, needs Nerd Fonts to be installed. You have to install the font only on the host side (your macOS or your Windows maschine).

Installation of Nerd Fonts

Here are only quick installation steps. For full reference visit Nerd Fonts on Github.

Linux

mkdir -p ~/.local/share/fonts
cd ~/.local/share/fonts && curl -fLo "Droid Sans Mono for Powerline Nerd Font Complete.otf" https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/DroidSansMono/complete/Droid%20Sans%20Mono%20for%20Powerline%20Nerd%20Font%20Complete.otf

macOS

cd ~/Library/Fonts && curl -fLo "Droid Sans Mono for Powerline Nerd Font Complete.otf" https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/DroidSansMono/complete/Droid%20Sans%20Mono%20for%20Powerline%20Nerd%20Font%20Complete.otf

Windows

Download Droid Sans Mono for Powerline Nerd Font Complete Mono Windows Compatible.otf and put it in your font folder.

iTerm2 Setup non-ASCII Text Font

I'm currently using Source Code Pro as my default font, which does not include Powerline support. In addition to this, I do have nerd-fonts installed and configured to be used for non-ascii characters.

Then, you have configure the fonts in iTerm2:

![iTerm2 Setup non-ASCII Text Font](screenshot/iTerm2_FontConfiguration.png?raw=true = 250x "iTerm2 Setup non-ASCII Text Font")

Installation

$ apt-get update
$ apt-install git tmux zsh ack-grep
$
$ cd ~
$ git clone https://github.com/Eragos/dotfiles.git .dotfiles
$ cd .dotfiles
$ git submodule init
$ git submodule update
$ ./bin/dfm install 
$ git clone --depth 1 https://github.com/junegunn/fzf.git ~/.dotfiles/.fzf
$ ~/.dotfiles/.fzf/install

Update

For easy update the complete dotfiles (inlc. all submodules) you can use udot command:

$ udot

Dependencies

macOS

Feedback

Suggestions, corrections or improvements are welcome!

tmux

On macOS you can configure the Caps-lock key acting as Ctrl key. Caps-lock is just beside a and the prefix Ctrl+a is just a fingetip away. So in my configuration I changed the prefix key from Ctrl+b to more useful Ctrl+a

Shortcut Command
Ctrl+a r reload tmux configuration
Ctrl+a R reorder windows
Ctrl+a Ctrl+a switch to last window
Ctrl+a | split pane vertical
Ctrl+a - split pane horizontal
Ctrl+a a save tmux session
Ctrl+a A restore tmux session
Ctrl+a m ask for a manpage and open it on a new pane
Ctrl+a M ask for a manpage and open it on a new window

More @Tmux Cheat Sheet & Quick Reference

About

My personal dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published