rossja / dotfiles

configs and such

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

This is a collection of configuration files I find handy

Homebrew

  1. cd into the public/homebrew directory
  2. Run brew bundle install to install everything in Brewfile
  3. If you prefer to use the minimal file run brew bundle install --file=Brewfile.min instead

Cool ZSH prompt: Zero to Eleven

on Mac OS X

  1. Install dev tools: xcode-select --install
  2. Install homebrew: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  3. Clone this repo: git clone "https://github.com/rossja/dotfiles.git" "$HOME/src/dotfiles"
  4. Install the required software: cd $HOME/src/dotfiles/public/homebrew && brew bundle
  5. (OPTIONAL) Clone the iterm2 themes repo: git clone "https://github.com/mbadolato/iTerm2-Color-Schemes.git" "$HOME/src/iTerm2-Color-Schemes"
  6. Configure iterm2:
    • General Tab:
      • check 'Quit when all windows are closed'
    • Appearance Tab:
      • Check 'Dimming affects only text, not background'
      • Check 'Dim background windows'
      • Set Theme to 'Dark'
    • Profiles Tab:
      • Make a new profile, and edit it with:
        1. General:
          • Set 'Working Directory' to 'Reuse previous session's directory'
        2. Colors
          • Set Color Theme to whatever you like. I prefer 'Smoooooth' theme
          • Set Cursor color to white
          • Set Cursor text color to black
        3. Text
          • Change font to powerline-enabled font ('Hack Nerd Font Mono' is in the bundle)
        4. Terminal
          • Change scrollback lines to 100,000
      • Set New profile as default
  7. Link the configurations:
    ln -s $HOME/src/dotfiles/public/zsh/zshrc $HOME/.zshrc
    ln -s $HOME/src/dotfiles/public/zsh/zsh.d $HOME/.zsh.d
    ln -s $HOME/src/dotfiles/public/zsh/aliases.zsh $HOME/.aliases.zsh
    ln -s $HOME/src/dotfiles/public/zsh/oh-my-zsh $HOME/.oh-my-zsh
    ln -s $HOME/src/dotfiles/public/vim/vimrc $HOME/.vimrc
    ln -s $HOME/src/dotfiles/public/vim/vim $HOME/.vim
    ln -s $HOME/src/dotfiles/public/dev/wgetrc $HOME/.wgetrc
    ln -s $HOME/src/dotfiles/public/dev/eslintrc.json $HOME/.eslintrc.json
    
  8. Close terminal, start iterm2
  9. Enjoy the awesome!

A screenshot of the zsh configuration described above screenshot of the zsh configuration described above

A screenshot of the same config on the system terminal, using the Pro theme screenshot of the same config on the system terminal, using the Pro theme


on Linux (Ubuntu/Debian Based)

  1. Install dev tools: apt-get install git
  2. Clone this repo: git clone "https://github.com/rossja/dotfiles.git" "$HOME/src/dotfiles"
  3. Install the desired fonts from $HOME/Documents/dotfiles/public/fonts
  4. Configure your terminal to use the desired font
  5. Link the configurations:
    ln -s $HOME/src/dotfiles/public/zsh/zshrc $HOME/.zshrc
    ln -s $HOME/src/dotfiles/public/zsh/zsh.d $HOME/.zsh.d
    ln -s $HOME/src/dotfiles/public/zsh/aliases.zsh $HOME/.aliases.zsh
    ln -s $HOME/src/dotfiles/public/zsh/oh-my-zsh $HOME/.oh-my-zsh
    ln -s $HOME/src/dotfiles/public/vim/vimrc $HOME/.vimrc
    ln -s $HOME/src/dotfiles/public/vim/vim $HOME/.vim
    ln -s $HOME/src/dotfiles/public/dev/wgetrc $HOME/.wgetrc
    ln -s $HOME/src/dotfiles/public/dev/eslintrc.json $HOME/.eslintrc.json
    
  6. Restart terminal
  7. Enjoy the awesome!

A screenshot of the zsh configuration described above, on Kali Linux (KDE version) screenshot of the zsh configuration described above on Kali Linux using Konsole

About

configs and such


Languages

Language:Shell 76.9%Language:Vim Script 14.7%Language:Python 5.8%Language:Perl 1.0%Language:Ruby 0.8%Language:Dockerfile 0.3%Language:Roff 0.3%Language:JavaScript 0.2%Language:Makefile 0.0%