some more files...
This commit is contained in:
parent
af95b3ff9a
commit
9b3c6863d8
5 changed files with 20 additions and 20 deletions
18
Cargo.toml
18
Cargo.toml
|
|
@ -60,13 +60,13 @@ depends = "$auto"
|
|||
license-file = ["LICENSE.md", "4"]
|
||||
assets = [
|
||||
# TODO?
|
||||
# ["assets/man/mosaic.1", "usr/share/man/man1/mosaic.1", "644"],
|
||||
["target/release/mosaic", "usr/bin/mosaic", "755"],
|
||||
["GOVERNANCE.md", "usr/share/doc/mosaic/GOVERNANCE.md", "644"],
|
||||
["README.md", "usr/share/doc/mosaic/README.md", "644"],
|
||||
["assets/layouts/*", "usr/share/mosaic/layouts/", "644"],
|
||||
["assets/plugins/*", "usr/share/mosaic/plugins/", "644"],
|
||||
["assets/completions/mosaic.bash", "usr/share/bash-completion/completions/mosaic.bash", "644"],
|
||||
["assets/completions/mosaic.fish", "usr/share/fish/vendor_completions.d/mosaic.fish", "644"],
|
||||
["assets/completions/_mosaic", "usr/share/zsh/vendor-completions/_mosaic", "644"],
|
||||
# ["assets/man/zellij.1", "usr/share/man/man1/zellij.1", "644"],
|
||||
["target/release/zellij", "usr/bin/zellij", "755"],
|
||||
["GOVERNANCE.md", "usr/share/doc/zellij/GOVERNANCE.md", "644"],
|
||||
["README.md", "usr/share/doc/zellij/README.md", "644"],
|
||||
["assets/layouts/*", "usr/share/zellij/layouts/", "644"],
|
||||
["assets/plugins/*", "usr/share/zellij/plugins/", "644"],
|
||||
["assets/completions/zellij.bash", "usr/share/bash-completion/completions/zellij.bash", "644"],
|
||||
["assets/completions/zellij.fish", "usr/share/fish/vendor_completions.d/zellij.fish", "644"],
|
||||
["assets/completions/_zellij", "usr/share/zsh/vendor-completions/_zellij", "644"],
|
||||
]
|
||||
|
|
|
|||
|
|
@ -15,15 +15,15 @@ _zellij() {
|
|||
|
||||
local context curcontext="$curcontext" state line
|
||||
_arguments "${_arguments_options[@]}" \
|
||||
'-s+[Send "split (direction h == horizontal / v == vertical)" to active mosaic session]' \
|
||||
'--split=[Send "split (direction h == horizontal / v == vertical)" to active mosaic session]' \
|
||||
'-o+[Send "open file in new pane" to active mosaic session]' \
|
||||
'--open-file=[Send "open file in new pane" to active mosaic session]' \
|
||||
'-s+[Send "split (direction h == horizontal / v == vertical)" to active zellij session]' \
|
||||
'--split=[Send "split (direction h == horizontal / v == vertical)" to active zellij session]' \
|
||||
'-o+[Send "open file in new pane" to active zellij session]' \
|
||||
'--open-file=[Send "open file in new pane" to active zellij session]' \
|
||||
'--max-panes=[Maximum panes on screen, caution: opening more panes will close old ones]' \
|
||||
'-l+[Path to a layout yaml file]' \
|
||||
'--layout=[Path to a layout yaml file]' \
|
||||
'-m[Send "move focused pane" to active mosaic session]' \
|
||||
'--move-focus[Send "move focused pane" to active mosaic session]' \
|
||||
'-m[Send "move focused pane" to active zellij session]' \
|
||||
'--move-focus[Send "move focused pane" to active zellij session]' \
|
||||
'-d[]' \
|
||||
'--debug[]' \
|
||||
'-h[Prints help information]' \
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
complete -c zellij -n "__fish_use_subcommand" -s s -l split -d 'Send "split (direction h == horizontal / v == vertical)" to active mosaic session'
|
||||
complete -c zellij -n "__fish_use_subcommand" -s o -l open-file -d 'Send "open file in new pane" to active mosaic session'
|
||||
complete -c zellij -n "__fish_use_subcommand" -s s -l split -d 'Send "split (direction h == horizontal / v == vertical)" to active zellij session'
|
||||
complete -c zellij -n "__fish_use_subcommand" -s o -l open-file -d 'Send "open file in new pane" to active zellij session'
|
||||
complete -c zellij -n "__fish_use_subcommand" -l max-panes -d 'Maximum panes on screen, caution: opening more panes will close old ones'
|
||||
complete -c zellij -n "__fish_use_subcommand" -s l -l layout -d 'Path to a layout yaml file'
|
||||
complete -c zellij -n "__fish_use_subcommand" -s m -l move-focus -d 'Send "move focused pane" to active mosaic session'
|
||||
complete -c zellij -n "__fish_use_subcommand" -s m -l move-focus -d 'Send "move focused pane" to active zellij session'
|
||||
complete -c zellij -n "__fish_use_subcommand" -s d -l debug
|
||||
complete -c zellij -n "__fish_use_subcommand" -s h -l help -d 'Prints help information'
|
||||
complete -c zellij -n "__fish_use_subcommand" -s V -l version -d 'Prints version information'
|
||||
|
|
|
|||
2
build.rs
2
build.rs
|
|
@ -112,7 +112,7 @@ fn main() {
|
|||
"layouts/default.yaml",
|
||||
"layouts/strider.yaml",
|
||||
];
|
||||
let project_dirs = ProjectDirs::from("org", "Mosaic Contributors", "Mosaic").unwrap();
|
||||
let project_dirs = ProjectDirs::from("org", "Zellij Contributors", "Zellij").unwrap();
|
||||
let data_dir = project_dirs.data_dir();
|
||||
fs::create_dir_all(data_dir.join("plugins")).unwrap();
|
||||
fs::create_dir_all(data_dir.join("layouts")).unwrap();
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ impl Display for LinePart {
|
|||
}
|
||||
|
||||
fn prefix(help: &Help) -> LinePart {
|
||||
let prefix_text = " Mosaic ";
|
||||
let prefix_text = " Zellij ";
|
||||
let part = match (&help.mode, help.mode_is_persistent) {
|
||||
(InputMode::Command, false) => {
|
||||
let prefix = prefix_text.bold().white().on_black();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue