Browse Source

added functions to zsh config

master
jrtechs 5 months ago
parent
commit
4d6f88ea54
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      .zshrc

+ 17
- 0
.zshrc View File

@@ -100,6 +100,23 @@ function begone
fi
}

# recursively searches for a text fragment in a file
function findme
{
grep -nr "$1"
}


# removes meta data from images
function strip
{
echo "Removing image meta data on png and jpg images"
mogrify -strip ./*.jpg
mogrify -strip ./*.JPG
mogrify -strip ./*.png
mogrify -strip ./*.PNG
}


# displays quote when terminal opens
quote


Loading…
Cancel
Save