Skip to content

Configuration files and setup scripts for my development environment

License

Notifications You must be signed in to change notification settings

DMcP89/dotfiles

Repository files navigation

dotfiles dotfiles-test

Repository of configuration files for setting up my development environment. Using a combination of bash scripts and ansible playbooks the process of getting an environment setup is almost completely automated.

prompt

vim

Compatible OSs

  • Ubuntu 20.04 LTS
  • WSL Ubuntu 20.04 LTS
  • Ubuntu 22.04 LTS
  • WSL Ubuntu 22.04 LTS

Setup

  1. Clone this repository
git clone https://github.com/DMcP89/dotfiles.git
  1. Run make install
# if you've set your become password in ansible.cfg you can run
make install

# if you haven't set your become password in ansible.cfg you can run
make local-install

Features

Powerline

I use powerline for my terminal prompt. I have a simple setup that will display the following information from left to right:

  • Hostname (Only while connected via SSH)
  • Username
  • Battery Status (Only if on a laptop)
  • Current date-time
  • Active virtual environment (Only if in a virtual environment)
  • Current working directory
  • Git branch and status (Only if in a git repository)

VIM

A relatively simple vim configuration that uses the powerline plugin to display a status bar, nerdtree for file tree navigation, and a few other features.

Plugins

Color Schemes

Ruby

  • mdless is a gem that allows you to display markdown in your terminal.

NodeJS

  • Nvm is a node version manager that allows you to install and manage multiple versions of node.

Python

  • Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere.

  • Pyenv lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.

  • Pyenv-virtualenv is a plugin for Pyenv that allows you to create and manage virtual environments.

Go

  • Installs latest version of Go

Rust

  • Ttyper is a command line tool that allows you to practice typing in your terminal.

CLI Tools

  • AWS CLI
  • Azure CLI
  • GCP CLI
  • Helm
  • Kubectl
  • Terraform
  • Docker