File: zplug-env

package info (click to toggle)
zplug 2.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,068 kB
  • sloc: sh: 1,504; awk: 235; makefile: 26
file content (10 lines) | stat: -rwxr-xr-x 295 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env zsh
# Description: The environment variables of zplug
# ^-- This description is used as complete message

# This is a sample zplug script
# For more information, see man page of zplug(1)

env \
    | grep -E "^_?ZPLUG_" \
    | perl -pe 's/^(\w+)(=)(.*)$/\033[32m$1\033[m $2 $3/'