Skip to content

Instantly share code, notes, and snippets.

@cmbankester
Last active November 24, 2015 22:05

Revisions

  1. cmbankester revised this gist Nov 24, 2015. 1 changed file with 31 additions and 1 deletion.
    32 changes: 31 additions & 1 deletion ideas.md
    Original file line number Diff line number Diff line change
    @@ -14,4 +14,34 @@
    * When using a desk:
    * Split pane -> activate current desk for new pane
    * Show desk name in zsh prompt
    * E.g. ➜ ◲ ruby | bid-manager git:(quality-assurance)
    * E.g. ➜ ◲ ruby | bid-manager git:(quality-assurance)
    * Deskfile extensions
    * E.g. `bid-manager.sh` extends base desk `node.js.sh`
    * Implementation e.g.:
    ```zsh
    # ~/.desk/desks/node.js.sh
    #
    # Description: Node.js desk
    #

    # stuff that won't happen when extended (i.e., stuff that's meant for when you're just using the node.js desk)
    cd ~/foo/bar
    echo "Using node.js desk"

    extended # function that sets off the extended portion
    # alternatively, we could use some magic comments?

    # stuff that will happen when extended
    export NVM_DIR=~/.nvm
    source $(brew --prefix nvm)/nvm.sh
    ```
    ```zsh
    # ~/.desk/desks/tool-tracker.sh
    #
    # Description: Desk for Tool Tracker
    # Extends: node.js
    #
    # no need to export NVM_DIR, since it's extended
    cd ~/foo/bar/some/other/path
    ```
  2. cmbankester created this gist Nov 24, 2015.
    17 changes: 17 additions & 0 deletions ideas.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    # Ideas

    ## Sites

    * redstickmetal.com
    * BR/NO/LA metal scene
    * Bands
    * Events
    * Blog?

    ## Apps / Projects

    * [Desk](https://github.com/jamesob/desk) integration with iTerm / ZSH
    * When using a desk:
    * Split pane -> activate current desk for new pane
    * Show desk name in zsh prompt
    * E.g. ➜ ◲ ruby | bid-manager git:(quality-assurance)