JavaScript Code
var str = "hi";Memory allocation:
| Address | Value | Description |
|---|---|---|
...... |
... |
| autoload -Uz compinit && compinit | |
| autoload -Uz add-zsh-hook | |
| autoload -Uz vcs_info | |
| add-zsh-hook precmd vcs_info | |
| zstyle ':vcs_info:*' enable git | |
| zstyle ':vcs_info:*' formats " %F{cyan}%c%u(%b)%f" | |
| zstyle ':vcs_info:*' actionformats " %F{cyan}%c%u(%b)%f %a" | |
| zstyle ':vcs_info:*' stagedstr "%F{green}" |
JavaScript Code
var str = "hi";Memory allocation:
| Address | Value | Description |
|---|---|---|
...... |
... |
| #!/usr/bin/groovy | |
| /* | |
| * Copyright (c) 2016, Andrey Makeev <amaksoft@gmail.com> | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions | |
| * are met: | |
| * 1. Redistributions of source code must retain the above copyright |