Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 774 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 774 Bytes

BASH tab completion for dnx commands

Provides argument completions for dnx, dnu and dnvm as well as semvers, aliases and dnx commands

Prerequisites

Only do this if you don't already have tab completion for other commands (such as git parameters)

If tab completion is installed, skip to Install

OSX
brew install bash-completion

Paste the following into ~/.bash_profile (create the file if it doesn't already exist)

if [ -f $(brew --prefix)/etc/bash_completion ]; then
    . $(brew --prefix)/etc/bash_completion
fi

if [ -f ~/.bashrc ]; then
    source ~/.bashrc
fi

Install completion for DNX

git clone https://github.com/nosami/dnx-bash-completion.git
cd dnx-bash-completion
./install.sh