This commit is contained in:
Oscar Plaisant
2024-05-14 10:51:40 +02:00
parent f71d6b0503
commit 66c143b7b3
164 changed files with 25026 additions and 13829 deletions

View File

@@ -0,0 +1,102 @@
{
"settings_version": "0.21.0",
"debug": false,
"obsidian_command_palette_prefix": "Execute: ",
"preview_variables_in_command_palette": true,
"show_autocomplete_menu": true,
"working_directory": "",
"default_shells": {},
"environment_variable_path_augmentations": {
"darwin": "/Users/oscarplaisant/.opam/default/bin:/Users/oscarplaisant/.opam/default/bin:/opt/local/bin:/opt/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.cargo/env:/Library/TeX/texbin:/Users/oscarplaisant/.cargo/bin:/Users/oscarplaisant/.opam/default/bin:/opt/local/bin:/opt/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/oscarplaisant/.cargo/env:/Users/oscarplaisant/.cargo/bin+:/Users/oscarplaisant/.zsh_scripts/+:/Users/oscarplaisant/.zsh_scripts/+:/Users/oscarplaisant/.zsh_scripts/"
},
"show_installation_warnings": true,
"error_message_duration": 20,
"notification_message_duration": 10,
"execution_notification_mode": "disabled",
"output_channel_clipboard_also_outputs_to_notification": true,
"output_channel_notification_decorates_output": true,
"enable_events": true,
"approve_modals_by_pressing_enter_key": true,
"command_palette": {
"re_execute_last_shell_command": {
"enabled": true,
"prefix": "Re-execute: "
}
},
"max_visible_lines_in_shell_command_fields": false,
"shell_commands": [
{
"id": "4s9o488usd",
"platform_specific_commands": {
"default": "/opt/homebrew/bin/neovide {{file_path:absolute}}"
},
"shells": {},
"alias": "neovide",
"icon": null,
"confirm_execution": false,
"ignore_error_codes": [],
"input_contents": {
"stdin": null
},
"output_handlers": {
"stdout": {
"handler": "ignore",
"convert_ansi_code": true
},
"stderr": {
"handler": "notification",
"convert_ansi_code": true
}
},
"output_wrappers": {
"stdout": null,
"stderr": null
},
"output_channel_order": "stdout-first",
"output_handling_mode": "buffered",
"events": {},
"command_palette_availability": "enabled",
"preactions": [],
"variable_default_values": {}
},
{
"id": "53b5ai5phh",
"platform_specific_commands": {
"default": "/opt/homebrew/bin/tmux new-window && /opt/homebrew/bin/tmux send-keys \"cd {{folder_path:absolute}}\" Enter \"nvim {{file_name}}\" Enter && open -a iTerm\n"
},
"shells": {},
"alias": "Open in tmux>nVim",
"icon": "terminal-square",
"confirm_execution": false,
"ignore_error_codes": [],
"input_contents": {
"stdin": null
},
"output_handlers": {
"stdout": {
"handler": "ignore",
"convert_ansi_code": true
},
"stderr": {
"handler": "notification",
"convert_ansi_code": true
}
},
"output_wrappers": {
"stdout": null,
"stderr": null
},
"output_channel_order": "stdout-first",
"output_handling_mode": "buffered",
"events": {},
"command_palette_availability": "enabled",
"preactions": [],
"variable_default_values": {}
}
],
"prompts": [],
"builtin_variables": {},
"custom_variables": [],
"custom_shells": [],
"output_wrappers": []
}

View File

@@ -1,5 +1,5 @@
{
"settings_version": "0.21.0",
"settings_version": "0.22.0",
"debug": false,
"obsidian_command_palette_prefix": "Execute: ",
"preview_variables_in_command_palette": true,
@@ -57,7 +57,9 @@
"events": {},
"command_palette_availability": "enabled",
"preactions": [],
"variable_default_values": {}
"variable_default_values": {},
"execution_notification_mode": null,
"debounce": null
},
{
"id": "53b5ai5phh",
@@ -91,12 +93,18 @@
"events": {},
"command_palette_availability": "enabled",
"preactions": [],
"variable_default_values": {}
"variable_default_values": {},
"execution_notification_mode": null,
"debounce": null
}
],
"prompts": [],
"builtin_variables": {},
"custom_variables": [],
"custom_variables_notify_changes_via": {
"obsidian_uri": true,
"output_assignment": true
},
"custom_shells": [],
"output_wrappers": []
}

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{
"id": "obsidian-shellcommands",
"name": "Shell commands",
"version": "0.21.0",
"version": "0.22.0",
"minAppVersion": "1.4.0",
"description": "You can predefine system commands that you want to run frequently, and assign hotkeys for them. For example open external applications. Automatic execution is also supported, and execution via URI links.",
"author": "Jarkko Linnanvirta",

View File

@@ -1,6 +1,6 @@
/*
* 'Shell commands' plugin for Obsidian.
* Copyright (C) 2021 - 2023 Jarkko Linnanvirta
* Copyright (C) 2021 - 2024 Jarkko Linnanvirta
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by