Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Outline

Executable

Unpack the archive relevant to your machine and place in $PATH

Shell Completion Scripts

Bash

mkdir -p ~/.config/exercism
mv ../shell/exercism_completion.bash ~/.config/exercism/exercism_completion.bash

Load the completion in your .bashrc, .bash_profile or .profile by adding the following snippet:

if [ -f ~/.config/exercism/exercism_completion.bash ]; then
  source ~/.config/exercism/exercism_completion.bash
fi

Zsh

Load up the completion by placing the exercism_completion.zsh somewhere on your $fpath as _exercism. For example:

mkdir -p ~/.zsh/functions
mv ../shell/exercism_completion.zsh ~/.zsh/functions/_exercism

and then add the directory to your $fpath in your .zshrc, .zsh_profile or .profile before running compinit:

export fpath=(~/.zsh/functions $fpath)
autoload -U compinit && compinit

Oh my Zsh

If you are using the popular oh-my-zsh framework to manage your zsh plugins, move the file exercism_completion.zsh into ~/.oh-my-zsh/custom.

Fish

Completions must go in the user defined $fish_complete_path. By default, this is ~/.config/fish/completions

mv ../shell/exercism.fish ~/.config/fish/exercism.fish
Morty Proxy This is a proxified and sanitized view of the page, visit original site.