feat(zsh): modularize Zsh configuration with environment variables, aliases, functions, and plugins
- Create a new Zsh configuration structure under ~/.config/zsh - Add main .zshrc file to load configurations and plugins - Implement environment variables in env.zsh - Define aliases for common commands in aliases.zsh - Set up completion settings in completion.zsh - Add custom functions for navigation, file handling, and process management in functions.zsh - Configure keybindings in keybindings.zsh - Set shell options in options.zsh - Load plugins using Zinit in plugins.zsh - Configure prompt settings in prompt.zsh - Create a .zshenv file to set ZDOTDIR for Zsh configuration directory
This commit is contained in:
@@ -0,0 +1,123 @@
|
||||
// Zed settings
|
||||
//
|
||||
// For information on how to configure Zed, see the Zed
|
||||
// documentation: https://zed.dev/docs/configuring-zed
|
||||
//
|
||||
// To see all of Zed's default settings without changing your
|
||||
// custom settings, run `zed: open default settings` from the
|
||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||
{
|
||||
"edit_predictions": {
|
||||
"provider": "copilot"
|
||||
},
|
||||
"outline_panel": {
|
||||
"auto_fold_dirs": true,
|
||||
},
|
||||
"use_system_window_tabs": true,
|
||||
"centered_layout": {
|
||||
"left_padding": 0.2,
|
||||
},
|
||||
"redact_private_values": false,
|
||||
"cursor_shape": "bar",
|
||||
"autosave": {
|
||||
"after_delay": {
|
||||
"milliseconds": 1000,
|
||||
},
|
||||
},
|
||||
"preview_tabs": {
|
||||
"enabled": true,
|
||||
"enable_preview_from_multibuffer": true,
|
||||
"enable_preview_from_file_finder": false,
|
||||
},
|
||||
"pane_split_direction_vertical": "right",
|
||||
"zoomed_padding": true,
|
||||
"active_pane_modifiers": {
|
||||
"inactive_opacity": 1.0,
|
||||
"border_size": 0.0,
|
||||
},
|
||||
"status_bar": {
|
||||
"active_language_button": true,
|
||||
"cursor_position_button": true,
|
||||
},
|
||||
"terminal": {
|
||||
"dock": "bottom",
|
||||
"button": true,
|
||||
},
|
||||
"diagnostics": {
|
||||
"button": true,
|
||||
},
|
||||
"search": {
|
||||
"button": true,
|
||||
},
|
||||
"debugger": {
|
||||
"button": true,
|
||||
},
|
||||
"tabs": {
|
||||
"show_diagnostics": "errors",
|
||||
"close_position": "right",
|
||||
"file_icons": true,
|
||||
"git_status": true,
|
||||
},
|
||||
"tab_bar": {
|
||||
"show": true,
|
||||
},
|
||||
"title_bar": {
|
||||
"show_menus": false,
|
||||
"show_user_picture": false,
|
||||
"show_onboarding_banner": true,
|
||||
"show_project_items": true,
|
||||
"show_branch_name": true,
|
||||
"show_branch_icon": true,
|
||||
},
|
||||
"project_panel": {
|
||||
"sort_mode": "directories_first",
|
||||
"dock": "left",
|
||||
"hide_root": true,
|
||||
"button": true,
|
||||
"indent_size": 15.0,
|
||||
"git_status": true,
|
||||
"folder_icons": true,
|
||||
"file_icons": true,
|
||||
"hide_gitignore": false,
|
||||
},
|
||||
"agent": {
|
||||
"button": true,
|
||||
"always_allow_tool_actions": true,
|
||||
"inline_assistant_model": {
|
||||
"provider": "copilot_chat",
|
||||
"model": "grok-code-fast-1",
|
||||
},
|
||||
"default_profile": "ask",
|
||||
"default_model": {
|
||||
"provider": "copilot_chat",
|
||||
"model": "gpt-5.1-codex-max",
|
||||
},
|
||||
"model_parameters": [],
|
||||
},
|
||||
"collaboration_panel": {
|
||||
"button": false,
|
||||
"dock": "right",
|
||||
},
|
||||
"ui_font_family": "FiraCode Nerd Font Mono",
|
||||
"telemetry": {
|
||||
"diagnostics": false,
|
||||
"metrics": false,
|
||||
},
|
||||
"buffer_font_weight": 400.0,
|
||||
"ui_font_weight": 400.0,
|
||||
"buffer_font_family": "FiraCode Nerd Font Mono",
|
||||
"buffer_line_height": "comfortable",
|
||||
"icon_theme": {
|
||||
"mode": "system",
|
||||
"light": "Material Icon Theme",
|
||||
"dark": "Catppuccin Frappé",
|
||||
},
|
||||
"ui_font_size": 16.0,
|
||||
"buffer_font_size": 15.0,
|
||||
"proxy": "http://127.0.0.1:8118",
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"light": "Nord Light",
|
||||
"dark": "Catppuccin Frappé",
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
// Zed settings
|
||||
//
|
||||
// For information on how to configure Zed, see the Zed
|
||||
// documentation: https://zed.dev/docs/configuring-zed
|
||||
//
|
||||
// To see all of Zed's default settings without changing your
|
||||
// custom settings, run `zed: open default settings` from the
|
||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||
{
|
||||
"outline_panel": {
|
||||
"auto_fold_dirs": true,
|
||||
},
|
||||
"use_system_window_tabs": true,
|
||||
"centered_layout": {
|
||||
"left_padding": 0.2,
|
||||
},
|
||||
"redact_private_values": false,
|
||||
"cursor_shape": "bar",
|
||||
"autosave": {
|
||||
"after_delay": {
|
||||
"milliseconds": 1000,
|
||||
},
|
||||
},
|
||||
"preview_tabs": {
|
||||
"enabled": true,
|
||||
"enable_preview_from_multibuffer": true,
|
||||
"enable_preview_from_file_finder": false,
|
||||
},
|
||||
"pane_split_direction_vertical": "right",
|
||||
"zoomed_padding": true,
|
||||
"active_pane_modifiers": {
|
||||
"inactive_opacity": 1.0,
|
||||
"border_size": 0.0,
|
||||
},
|
||||
"status_bar": {
|
||||
"active_language_button": true,
|
||||
"cursor_position_button": true,
|
||||
},
|
||||
"terminal": {
|
||||
"dock": "bottom",
|
||||
"button": true,
|
||||
},
|
||||
"diagnostics": {
|
||||
"button": true,
|
||||
},
|
||||
"search": {
|
||||
"button": true,
|
||||
},
|
||||
"debugger": {
|
||||
"button": true,
|
||||
},
|
||||
"tabs": {
|
||||
"show_diagnostics": "errors",
|
||||
"close_position": "right",
|
||||
"file_icons": true,
|
||||
"git_status": true,
|
||||
},
|
||||
"tab_bar": {
|
||||
"show": true,
|
||||
},
|
||||
"title_bar": {
|
||||
"show_menus": false,
|
||||
"show_user_picture": false,
|
||||
"show_onboarding_banner": true,
|
||||
"show_project_items": true,
|
||||
"show_branch_name": true,
|
||||
"show_branch_icon": true,
|
||||
},
|
||||
"project_panel": {
|
||||
"sort_mode": "directories_first",
|
||||
"dock": "left",
|
||||
"hide_root": true,
|
||||
"button": true,
|
||||
"indent_size": 15.0,
|
||||
"git_status": true,
|
||||
"folder_icons": true,
|
||||
"file_icons": true,
|
||||
"hide_gitignore": false,
|
||||
},
|
||||
"agent": {
|
||||
"button": true,
|
||||
"always_allow_tool_actions": true,
|
||||
"inline_assistant_model": {
|
||||
"provider": "copilot_chat",
|
||||
"model": "grok-code-fast-1",
|
||||
},
|
||||
"default_profile": "ask",
|
||||
"default_model": {
|
||||
"provider": "copilot_chat",
|
||||
"model": "gpt-5.1-codex-max",
|
||||
},
|
||||
"model_parameters": [],
|
||||
},
|
||||
"collaboration_panel": {
|
||||
"button": false,
|
||||
"dock": "right",
|
||||
},
|
||||
"features": {
|
||||
"edit_prediction_provider": "copilot",
|
||||
},
|
||||
"ui_font_family": "FiraCode Nerd Font Mono",
|
||||
"telemetry": {
|
||||
"diagnostics": false,
|
||||
"metrics": false,
|
||||
},
|
||||
"buffer_font_weight": 400.0,
|
||||
"ui_font_weight": 400.0,
|
||||
"buffer_font_family": "FiraCode Nerd Font Mono",
|
||||
"buffer_line_height": "comfortable",
|
||||
"icon_theme": {
|
||||
"mode": "system",
|
||||
"light": "Material Icon Theme",
|
||||
"dark": "Catppuccin Frappé",
|
||||
},
|
||||
"ui_font_size": 16.0,
|
||||
"buffer_font_size": 15.0,
|
||||
"proxy": "http://127.0.0.1:8118",
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"light": "Nord Light",
|
||||
"dark": "Catppuccin Frappé",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user