Skip to content

Instantly share code, notes, and snippets.

@stphnclysmth
stphnclysmth / setenv.zsh
Created September 10, 2013 14:58
Csh-style variable exports in Zsh
# CSH-style variable exports
setenv () { typeset -x "${1}${1:+=}${(@)argv[2,$#]}" }
#requires -version 3
[CmdletBinding()]
param (
[string]
$Path
)
function Get-MD5 {
param (
[Parameter(Mandatory)]
dir -recurse | where {$_.name -match "^\."} | rm
$ rvm gemset copy <source> <destination>