~ubuntu-branches/ubuntu/utopic/slic3r/utopic

« back to all changes in this revision

Viewing changes to utils/zsh/README.markdown

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2014-06-17 01:27:26 UTC
  • Revision ID: package-import@ubuntu.com-20140617012726-2wrs4zdo251nr4vg
Tags: upstream-1.1.4+dfsg
ImportĀ upstreamĀ versionĀ 1.1.4+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ZSH Completions for Slic3r
 
2
 
 
3
To enable zsh(1) completions for Slic3r, add the following to your
 
4
``~/.zshrc`` file, replacing ``/path/to/Slic3r/`` with the actual path
 
5
to your Slic3r directory:
 
6
 
 
7
    typeset -U fpath
 
8
 
 
9
    if [[ -d /path/to/Slic3r/utils/zsh/functions ]]; then
 
10
        fpath=(/path/to/Slic3r/utils/zsh/functions $fpath)
 
11
    fi
 
12
 
 
13
    autoload -Uz compinit
 
14
    compinit
 
15
    zstyle ':completion:*' verbose true
 
16
    zstyle ':completion:*:descriptions' format '%B%d%b'
 
17
    zstyle ':completion:*:messages' format '%d'
 
18
    zstyle ':completion:*:warnings' format 'No matches for %d'
 
19
    zstyle ':completion:*' group-name '%d'
 
20
 
 
21
See the zshcompsys(1) man page for further details.