Code Monkey home page Code Monkey logo

zsh-complete-ccache-environment's Introduction

zsh complete ccache environment

This is somehow an extension for the ccache completion for zsh.

That completion can complete ccache ⇥ and export SOME_CCACHE_VARIABLE=⇥, but it cannot do export CCACHE_⇥. This is what I add in the completion function here. It is a bit hacky (and at the time of writing not complete), but you can give it a try. One part that made it especially hacky (and I should get in contact with the zsh maintainers if we can do something better on the zsh side) is that I want "tooltips" for the ccache variable names:

user@host somedir >> export CCACHE_⇥
ccache variables:
CCACHE_BASEDIR         -- relative to which top level paths are hashed
CCACHE_CC              -- specify compiler
CCACHE_COMPILERCHECK   -- compiler information included in the hash
CCACHE_COMPRESSLEVEL   -- cache compression level
CCACHE_DIR             -- where the cache and config are kept
CCACHE_EXTENSION       -- set extensions for intermediate files
CCACHE_EXTRAFILES      -- additional files to consider in hashing
CCACHE_IGNOREHEADERS   -- set paths to headers to ignore in hashing
CCACHE_LIMIT_MULTIPLE  -- cleanup level
CCACHE_LOGFILE         -- specify a log file
CCACHE_MAXFILES        -- maximum number of files in the cache
CCACHE_MAXSIZE         -- maximum size of the cache
CCACHE_NLEVELS         -- directory levels in the cache directory
CCACHE_PATH            -- path to the ccache directory
CCACHE_PREFIX          -- prefixes for compiler invokation
CCACHE_PREFIX_CPP      -- prefixes for preprocessor invokation
CCACHE_SLOPPINESS      -- hash files sloppy
CCACHE_TEMPDIR         -- where temporary files are kept
CCACHE_UMASK           -- set umask for ccache and child processes (e.g. for sharing cache)

zsh-complete-ccache-environment's People

Contributors

pseyfert avatar

Watchers

 avatar  avatar

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.