Skip to content

Commit

Permalink
Add bash_eval
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Harmon authored and eatnumber1 committed Apr 13, 2015
1 parent 846d664 commit 85b4c80
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .zsh/functions/bash_eval
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/zsh

autoload -U bash_source

function bash_eval {
bash_source <(<<<"$*")
}

bash_eval "$@"

0 comments on commit 85b4c80

Please sign in to comment.