2018-12-17 14:11:16 -05:00
|
|
|
custom
|
2015-12-22 05:55:48 -05:00
|
|
|
======
|
|
|
|
|
|
|
|
Add any custom aliases/settings to the `init.zsh` file.
|
|
|
|
|
2018-12-17 14:11:16 -05:00
|
|
|
Any functions should go in the `functions` subdirectory, where the name of the
|
|
|
|
file is the name of the function.
|
2015-12-22 05:55:48 -05:00
|
|
|
|
2018-12-17 14:11:16 -05:00
|
|
|
For example, this function from your `.zshrc`:
|
|
|
|
```zsh
|
2015-12-22 05:55:48 -05:00
|
|
|
foo() {
|
|
|
|
print 'bar'
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2018-12-17 14:11:16 -05:00
|
|
|
becomes a file named `foo` in the `functions` subdirectory containing:
|
|
|
|
```zsh
|
2015-12-22 05:55:48 -05:00
|
|
|
print 'bar'
|
|
|
|
```
|