Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add each-file.

  • Loading branch information...
commit f842a36d696f7861838d2e5b5f2ae98089cbcdaf 1 parent a603439
@paulmillr authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 zshrc.sh
View
10 zshrc.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env zsh
# Profiler.
-zmodload zsh/zprof
+# zmodload zsh/zprof
#
# Sets Oh My Zsh options.
@@ -51,6 +51,12 @@ colors
export EDITOR="/usr/local/bin/mate -w"
alias rm=trash
+function each-file() {
+ for file in *; do
+ $1 $file
+ done
+}
+
# Count code lines in some directory.
# Example usage: `loc .py .js .css`
function loc() {
@@ -122,4 +128,4 @@ function convert_tags() {
}
# Profiler end.
-zprof
+# zprof
Please sign in to comment.
Something went wrong with that request. Please try again.