https://github.com/jazzsequence/sourced-functions
Custom functions for oh-my-zsh
https://github.com/jazzsequence/sourced-functions
Last synced: about 2 months ago
JSON representation
Custom functions for oh-my-zsh
- Host: GitHub
- URL: https://github.com/jazzsequence/sourced-functions
- Owner: jazzsequence
- License: gpl-3.0
- Created: 2016-10-24T15:12:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-04T19:55:26.000Z (about 2 years ago)
- Last Synced: 2025-05-17T17:39:58.783Z (10 months ago)
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ~/sourced/functions
Custom functions for oh-my-zsh
#### Version 0.11
### Usage
1. In your `~/.zshrc` file, make sure you have the following lines:
```
source $ZSH/oh-my-zsh.sh
for file in /Users/{your username}/sourced/*; do
source "$file"
done
```
2. Save this file to `/Users/{your username}/sourced/`.
3. Profit!
**Note:** Also make sure you have [ZSH](http://www.zsh.org/) and [Oh My ZSH!](https://github.com/robbyrussell/oh-my-zsh) installed. That's kind of important.
**Optional**
You can also clone this repo and get updates whenever it's updated. In that case, clone it somewhere, like `~/git`:
`$ git clone git@github.com:jazzsequence/sourced-functions.git ~/git/sourced-functions`
Then create a symbolic link in your `~/sourced` folder:
`$ ln -s ~/git/sourced-functions/functions ~/sourced`
## What's inside?
* A helpful function that gets the currently installed PHP version
* Colors help