Giter VIP home page Giter VIP logo

dotfiles-1's Introduction

Alejandro's Dotfiles

A collection of my dotfiles.

Usage

git clone https://github.com/AlejandroFrias/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
sh install.sh

Requirements

  • rcm - The install script relies on rcm, https://github.com/thoughtbot/rcm. Using that rc file manager, all the dotfiles will be symlinked to your home directory.
  • git - git is used to install vim/tmux plugins
  • vim - Using version 8.0
  • tmux - Using version 2.1
  • ctags - Exuberant Ctags 5.9~svn20110310
  • iterm2 (optional) - If you have iterm2 installed, you'll get my custom profiles and key mappings!

Sublime

You need to manually copy the contents of Sublime/ into your Sublime user package folder. No automatic installation has been setup for this.

How to cherry pick Counsyl ./manage.py bash completeion

Django has bash completion, but if your ./manage.py script takes a long time to run help, then the built-in bash completion is too slow to be useful. My bash completion simply saves the output of ./manage.py help <subcommand> and parses the saved output of help instead of needed to generate it on each autocomplete attempt.

Here's how to cherry pick my ./manage.py bash completion.

git clone https://github.com/AlejandroFrias/dotfiles.git
mv dotfiles/django ~/.django
mv dotfiles/bash/django_bash_completion.sh ~/.django_bash_completion.sh
echo "source ~/.django_bash_completeion.sh" >> ~/.bashrc

To update the autocompletion options for a subcommand:

./manage.py help <subcommand> > ~/.django/help_output/<subcommand>.txt

To update the list of subcommands:

./manage.py help > ~/.django/help_output/help.txt

The scenario lists cannot be automated since they are not rendered in a consistent way across our apps. So I've been manually updating those as needed. If someone makes the help output of the various scenario lists more parser friendly, please let me know, I'll update the autocomplete script.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.