diff --git a/data/zsh.json b/data/zsh.json index 42ebf0d..c42bebd 100644 --- a/data/zsh.json +++ b/data/zsh.json @@ -1,5 +1,15 @@ { "functions": { + "file-read": [ + { + "code": "zsh -c 'echo \"$(<[file])\"'\n" + } + ], + "file-write": [ + { + "code": "zsh -c 'echo [data] >[file]'\n" + } + ], "shell": [ { "code": "zsh" @@ -16,4 +26,4 @@ } ] } -} \ No newline at end of file +}