Add tmux file-read

This commit is contained in:
LinuxSploit 2021-06-24 11:48:20 +05:00 committed by GitHub
parent ed0922ee57
commit d6fdf6e633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,10 @@
---
functions:
file-read:
- description: The file is read and parsed as a `tmux` configuration file, part of the first invalid line is returned in an error message.
code: |
LFILE=file_to_read
tmux -f $LFILE
shell:
- code: tmux
sudo: