fix omz being in wrong directory
This commit is contained in:
parent
36265bd61c
commit
87dad1b7e9
1034 changed files with 0 additions and 1232 deletions
11
zsh/.local/share/oh-my-zsh/plugins/copyfile/README.md
Normal file
11
zsh/.local/share/oh-my-zsh/plugins/copyfile/README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# copyfile plugin
|
||||
|
||||
Puts the contents of a file in your system clipboard so you can paste it anywhere.
|
||||
|
||||
To use, add `copyfile` to your plugins array:
|
||||
|
||||
```zsh
|
||||
plugins=(... copyfile)
|
||||
```
|
||||
|
||||
Then you can run the command `copyfile <filename>` to copy the file named `filename`.
|
|
@ -0,0 +1,7 @@
|
|||
# Copies the contents of a given file to the system or X Windows clipboard
|
||||
#
|
||||
# copyfile <file>
|
||||
function copyfile {
|
||||
emulate -L zsh
|
||||
clipcopy $1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue