Fix zsh config inclusion
This commit is contained in:
10
zsh/.oh-my-zsh_old/plugins/copydir/README.md
Normal file
10
zsh/.oh-my-zsh_old/plugins/copydir/README.md
Normal file
@ -0,0 +1,10 @@
|
||||
# copydir plugin
|
||||
|
||||
Copies the path of your current folder to the system clipboard.
|
||||
|
||||
To use, add `copydir` to your plugins array:
|
||||
```
|
||||
plugins=(... copydir)
|
||||
```
|
||||
|
||||
Then use the command `copydir` to copy the $PWD.
|
5
zsh/.oh-my-zsh_old/plugins/copydir/copydir.plugin.zsh
Normal file
5
zsh/.oh-my-zsh_old/plugins/copydir/copydir.plugin.zsh
Normal file
@ -0,0 +1,5 @@
|
||||
# Copies the pathname of the current directory to the system or X Windows clipboard
|
||||
function copydir {
|
||||
emulate -L zsh
|
||||
print -n $PWD | clipcopy
|
||||
}
|
Reference in New Issue
Block a user