Fixed vim and zsh
This commit is contained in:
18
zsh/modules/custom/README.md
Normal file
18
zsh/modules/custom/README.md
Normal file
@ -0,0 +1,18 @@
|
||||
Custom
|
||||
======
|
||||
|
||||
Add any custom aliases/settings to the `init.zsh` file.
|
||||
|
||||
Any functions should go in the `functions` folder, where the name of the file is the name of the function.
|
||||
|
||||
For example, this function from your .zshrc:
|
||||
```
|
||||
foo() {
|
||||
print 'bar'
|
||||
}
|
||||
```
|
||||
|
||||
becomes a file named 'foo' in the functions folder containing:
|
||||
```
|
||||
print 'bar'
|
||||
```
|
4
zsh/modules/custom/functions/example_function
Normal file
4
zsh/modules/custom/functions/example_function
Normal file
@ -0,0 +1,4 @@
|
||||
# this is an example function
|
||||
# running 'example_function' in a zsh session will execute the code below
|
||||
|
||||
print "executed example function: ${ZDOTDIR:-${HOME}}/modules/custom/functions/example_function!"
|
BIN
zsh/modules/custom/functions/example_function.zwc
Normal file
BIN
zsh/modules/custom/functions/example_function.zwc
Normal file
Binary file not shown.
8
zsh/modules/custom/init.zsh
Normal file
8
zsh/modules/custom/init.zsh
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# Custom aliases/settings
|
||||
#
|
||||
|
||||
# any custom stuff should go here.
|
||||
# ensure that 'custom' exists in the zmodules array in your .zimrc
|
||||
|
||||
|
BIN
zsh/modules/custom/init.zsh.zwc
Normal file
BIN
zsh/modules/custom/init.zsh.zwc
Normal file
Binary file not shown.
Reference in New Issue
Block a user