Merge commit '21ca061287c2ee82ad27227ffb64041fe154bf11' as 'oh-my-zsh'
This commit is contained in:
5
oh-my-zsh/plugins/copyfile/copyfile.plugin.zsh
Normal file
5
oh-my-zsh/plugins/copyfile/copyfile.plugin.zsh
Normal file
@@ -0,0 +1,5 @@
|
||||
function copyfile {
|
||||
[[ "$#" != 1 ]] && return 1
|
||||
local file_to_copy=$1
|
||||
cat $file_to_copy | pbcopy
|
||||
}
|
||||
Reference in New Issue
Block a user