Compare commits
10 Commits
master
...
1b81ee39fb
| Author | SHA1 | Date | |
|---|---|---|---|
| 1b81ee39fb | |||
| 0cc0dbba8c | |||
| b32d47884f | |||
| 707d6cffe8 | |||
| 61d1adb3f0 | |||
| 3a5e73a41e | |||
| 8cb7d0ef2c | |||
| cd52f62b81 | |||
| b9556c9ffb | |||
| 4b520d8ff3 |
+1
-1
@@ -1,2 +1,2 @@
|
||||
*nvim/lazy-lock.json*
|
||||
*nvim/.config/nvim/lazy-lock.json*
|
||||
.DS_Store
|
||||
|
||||
+4
-4
@@ -8,7 +8,7 @@ case $- in
|
||||
esac
|
||||
|
||||
# Path to your oh-my-bash installation.
|
||||
export OSH='/home/jsarthak/.oh-my-bash'
|
||||
export OSH='$HOME/.oh-my-bash'
|
||||
|
||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||
# it'll load a random theme each time that oh-my-bash is loaded.
|
||||
@@ -172,6 +172,6 @@ fi
|
||||
# interactive shell.
|
||||
|
||||
# Example command:
|
||||
source ~/dotfiles/shell/common
|
||||
source ~/dotfiles/shell/personal #added by 6500gitsetup
|
||||
source ~/dotfiles/shell/aliases
|
||||
source ~/.config/shell/common
|
||||
source ~/.config/shell/personal #added by 6500gitsetup
|
||||
source ~/.config/shell/aliases
|
||||
|
||||
@@ -10,9 +10,9 @@ msgwin_orientation=0
|
||||
highlighting_invert_all=false
|
||||
pref_main_search_use_current_word=true
|
||||
check_detect_indent=false
|
||||
detect_indent_width=false
|
||||
detect_indent_width=true
|
||||
use_tab_to_indent=true
|
||||
pref_editor_tab_width=8
|
||||
pref_editor_tab_width=4
|
||||
indent_mode=2
|
||||
indent_type=0
|
||||
virtualspace=1
|
||||
@@ -63,7 +63,7 @@ beep_on_errors=true
|
||||
auto_focus=false
|
||||
sidebar_symbol_visible=false
|
||||
sidebar_openfiles_visible=false
|
||||
editor_font=Cascadia Code PL 10
|
||||
editor_font=Iosevka Nerd Font 14
|
||||
tagbar_font=Sans 9
|
||||
msgwin_font=Comic Mono 10
|
||||
show_notebook_tabs=true
|
||||
@@ -132,6 +132,16 @@ treeview_position=271
|
||||
msgwindow_position=1079
|
||||
geometry=1883;108;1182;876;0;
|
||||
custom_date_format=
|
||||
tab_label_length=1000
|
||||
use_native_dialogs=true
|
||||
show_line_endings_only_when_differ=false
|
||||
symbols_group_by_type=true
|
||||
openfiles_path_mode=2
|
||||
backspace_unindent=true
|
||||
change_history_markers=false
|
||||
change_history_indicators=false
|
||||
skip_confirmation_for_replace_in_session=false
|
||||
warn_on_project_close=true
|
||||
|
||||
[build-menu]
|
||||
number_ft_menu_items=0
|
||||
@@ -203,6 +213,7 @@ last_dir=/home/sarthakj
|
||||
terminal_cmd=x-terminal-emulator -e "/bin/sh %c"
|
||||
browser_cmd=sensible-browser
|
||||
grep_cmd=grep
|
||||
shell_cmd=/bin/bash
|
||||
|
||||
[printing]
|
||||
print_cmd=lpr '%f'
|
||||
@@ -212,6 +223,7 @@ print_page_numbers=true
|
||||
print_page_header=true
|
||||
page_header_basename=false
|
||||
page_header_datefmt=%c
|
||||
print_cmd_common_format=lpr '%d/%f'
|
||||
|
||||
[project]
|
||||
session_file=
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
[Settings]
|
||||
# 0: automatic selection based on system settings (requires Geany restart when changed, macOS 10.14+); 1: light; 2: dark; make sure there's no ~/.config/gtk-3.0/settings.ini file, otherwise it overrides the settings made here
|
||||
theme=0
|
||||
# no value: autodetect; locale string: locale to be used (e.g. en_US.UTF-8)
|
||||
locale=
|
||||
# no value: don't use any IM module; module name: use the specified module, e.g. 'quartz' for native macOS behavior, for complete list of modules, see Geany.app/Contents/Resources/lib/gtk-3.0/3.0.0/immodules, use without the 'im-' prefix
|
||||
im_module=quartz
|
||||
@@ -0,0 +1,5 @@
|
||||
[Settings]
|
||||
gtk-menu-images=1
|
||||
gtk-theme-name=Prof-Gnome
|
||||
gtk-application-prefer-dark-theme=0
|
||||
gtk-icon-theme-name=Papirus
|
||||
@@ -0,0 +1,32 @@
|
||||
[files]
|
||||
recent_files=/home/sarthakj/git-repos/v4l2loopback/utils/Makefile;/home/sarthakj/ti-processor-sdk-linux-rt-j7-evm-08_02_00_01/Makefile;/home/sarthakj/ti-processor-sdk-linux-rt-j7-evm-08_02_00_01/v4l2loopback/Makefile;/home/sarthakj/ti-processor-sdk-linux-rt-j7-evm-08_02_00_01/board-support/linux-rt-5.10.100+gitAUTOINC+204ec708dc-g204ec708dc/samples/rpmsg/Makefile;/home/sarthakj/ti-processor-sdk-linux-rt-j7-evm-08_02_00_01/v4l2loopback/Makefile.manual;/home/sarthakj/Workspace/TDA4_J7/ref/CodeRepo/Milstone_50_percent_code/src/main_baremetal.c;/home/sarthakj/Downloads/0001-ENGR00257661-pcie-imx-pcie-ep-rc-validation.patch;/home/sarthakj/Downloads/IT6664_hdmi2_tx(1).patch;/home/sarthakj/Downloads/Makefile.patch;/home/sarthakj/edid;
|
||||
recent_projects=
|
||||
current_page=0
|
||||
|
||||
[project]
|
||||
session_file=
|
||||
project_file_path=/home/jsarthak/projects
|
||||
|
||||
[geany]
|
||||
treeview_position=271
|
||||
msgwindow_position=1079
|
||||
geometry=528;80;1182;876;0;
|
||||
sidebar_page=1
|
||||
|
||||
[VTE]
|
||||
last_dir=/home/sarthakj
|
||||
|
||||
[search]
|
||||
find_all_expanded=false
|
||||
replace_all_expanded=false
|
||||
position_find_x=2122
|
||||
position_find_y=446
|
||||
position_replace_x=-1
|
||||
position_replace_y=-1
|
||||
position_fif_x=-1
|
||||
position_fif_y=-1
|
||||
|
||||
[plugins]
|
||||
load_plugins=true
|
||||
custom_plugin_path=
|
||||
active_plugins=;
|
||||
@@ -3,7 +3,15 @@ local options = {
|
||||
base46 = {
|
||||
theme = "tokyodark", -- default theme
|
||||
hl_add = {},
|
||||
hl_override = {},
|
||||
hl_override = {
|
||||
TbBufOn = {
|
||||
bold = true,
|
||||
fg = "green",
|
||||
},
|
||||
St_FileName = {
|
||||
bold = true,
|
||||
},
|
||||
},
|
||||
integrations = {},
|
||||
changed_themes = {},
|
||||
transparency = true,
|
||||
|
||||
@@ -2,5 +2,4 @@ return {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"tpope/vim-fugitive",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"github/copilot.vim",
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# starship.toml - Fully riced modern prompt config aligned with Carbonfox theme
|
||||
|
||||
format = """
|
||||
$username$hostname$directory$git_branch$git_state$git_status$cmd_duration$line_break\
|
||||
$os$username$hostname$directory$git_branch$git_state$git_status$python$nodejs$rust$golang$cmd_duration$line_break\
|
||||
$character"""
|
||||
|
||||
# Wait 10 milliseconds for starship to check files under the current directory.
|
||||
@@ -8,75 +10,93 @@ scan_timeout = 10
|
||||
# Disable the blank line at the start of the prompt
|
||||
add_newline = true
|
||||
|
||||
# # Define custom colors
|
||||
# [palettes.foo]
|
||||
# # Overwrite existing color
|
||||
# blue = '21'
|
||||
# # Define new color
|
||||
# mustard = '#af8700'
|
||||
|
||||
[directory]
|
||||
style = "purple"
|
||||
truncation_length = 3
|
||||
format = ': [$path]($style)[$read_only]($read_only_style) '
|
||||
truncation_symbol = ".../"
|
||||
truncate_to_repo =true
|
||||
|
||||
[character]
|
||||
success_symbol = '[❯](bold green)'
|
||||
# success_symbol = '[➜](bold green)'
|
||||
error_symbol = '[✗](bold purple) '
|
||||
vimcmd_symbol = "[❮](green)"
|
||||
|
||||
[git_branch]
|
||||
symbol = '🌱 '
|
||||
# truncation_length = 4
|
||||
truncation_symbol = ''
|
||||
format = '[$symbol$branch]($style) '
|
||||
|
||||
[git_status]
|
||||
conflicted = '🏳'
|
||||
ahead = '🏎💨'
|
||||
behind = '😰'
|
||||
diverged = '😵'
|
||||
up_to_date = '✓'
|
||||
untracked = '🤷'
|
||||
stashed = '📦'
|
||||
modified = '📝'
|
||||
staged = '[++\($count\)](green)'
|
||||
renamed = '👅'
|
||||
deleted = '🗑'
|
||||
|
||||
[git_state]
|
||||
format = '[\($state( $progress_current of $progress_total)\)]($style) '
|
||||
cherry_pick = '[🍒 PICKING](bold red)'
|
||||
|
||||
[cmd_duration]
|
||||
min_time = 100
|
||||
format = 'underwent [$duration](bold yellow)'
|
||||
|
||||
[os]
|
||||
disabled = false
|
||||
style = "bold white"
|
||||
|
||||
[username]
|
||||
style_user = 'white bold'
|
||||
style_root = 'black bold'
|
||||
format = '[$user]($style) '
|
||||
style_user = "bold #be95ff" # Carbonfox purple
|
||||
style_root = "bold red"
|
||||
format = "[$user]($style)"
|
||||
disabled = false
|
||||
show_always = true
|
||||
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
format = '@(bold blue) [$hostname](bold red) '
|
||||
trim_at = '.ciena.com'
|
||||
style = "bold #33b1ff" # Carbonfox blue/cyan
|
||||
format = "@[$hostname]($style) "
|
||||
disabled = false
|
||||
|
||||
[directory]
|
||||
style = "bold #08bdba" # Carbonfox teal
|
||||
format = "in [ $path]($style)[$read_only]($read_only_style) "
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
truncate_to_repo = true
|
||||
read_only = " "
|
||||
read_only_style = "bold red"
|
||||
|
||||
[character]
|
||||
success_symbol = "[❯](bold #25be6a)" # Carbonfox green
|
||||
error_symbol = "[❯](bold #ee5396)" # Carbonfox pink/red
|
||||
vimcmd_symbol = "[❮](bold #08bdba)" # Carbonfox teal
|
||||
|
||||
[git_branch]
|
||||
symbol = "🌱 "
|
||||
style = "bold #ee5396" # Carbonfox pink
|
||||
format = "on [$symbol$branch]($style) "
|
||||
truncation_symbol = ""
|
||||
|
||||
[git_status]
|
||||
style = "bold #ee5396"
|
||||
format = "([$all_status$ahead_behind]($style) )"
|
||||
conflicted = "🏳"
|
||||
ahead = "🏎💨"
|
||||
behind = "😰"
|
||||
diverged = "😵"
|
||||
untracked = "🤷"
|
||||
stashed = "📦"
|
||||
modified = "📝"
|
||||
staged = '[++\($count\)](green)'
|
||||
renamed = "👅"
|
||||
deleted = "🗑"
|
||||
|
||||
[git_state]
|
||||
format = "([$state( $progress_current of $progress_total)]($style) )"
|
||||
cherry_pick = "[🍒 PICKING](bold red)"
|
||||
|
||||
[python]
|
||||
symbol = "🐍 "
|
||||
style = "bold #3ddbd9"
|
||||
format = "via [$symbol$version]($style) "
|
||||
|
||||
[nodejs]
|
||||
symbol = " "
|
||||
style = "bold #25be6a"
|
||||
format = "via [$symbol$version]($style) "
|
||||
|
||||
[rust]
|
||||
symbol = "🦀 "
|
||||
style = "bold #ff9e64"
|
||||
format = "via [$symbol$version]($style) "
|
||||
|
||||
[golang]
|
||||
symbol = " "
|
||||
style = "bold #78a9ff"
|
||||
format = "via [$symbol$version]($style) "
|
||||
|
||||
[cmd_duration]
|
||||
min_time = 100
|
||||
style = "bold #e0af68" # Carbonfox yellow/orange
|
||||
format = "underwent [$duration]($style) "
|
||||
|
||||
[status]
|
||||
style = 'bg:blue'
|
||||
symbol = '🔴 '
|
||||
success_symbol = '🟢 SUCCESS'
|
||||
format = '[\[$symbol$common_meaning$signal_name$maybe_int\]]($style) '
|
||||
style = "bg:blue"
|
||||
symbol = "🔴 "
|
||||
success_symbol = "🟢 SUCCESS"
|
||||
format = '[[\[$symbol$common_meaning$signal_name$maybe_int\]]($style) ]'
|
||||
map_symbol = true
|
||||
disabled = false
|
||||
disabled = true
|
||||
|
||||
[conda]
|
||||
format = "[$symbol$environment]($style) "
|
||||
|
||||
+37
-35
@@ -71,29 +71,31 @@ tmux_conf_24b_colour=auto
|
||||
# - tmux_conf_theme_synchronized
|
||||
tmux_conf_theme=enabled
|
||||
|
||||
color_yellow="yellow"
|
||||
color_reg="red"
|
||||
color_green="green"
|
||||
color_teal="teal"
|
||||
color_white="white"
|
||||
color_pink="pink"
|
||||
color_black="black"
|
||||
color_blue="blue"
|
||||
color_mauve="#FFE3E3"
|
||||
color_offwhite="#F9F9F2"
|
||||
color_grey="grey"
|
||||
# Carbonfox Color Palette
|
||||
color_bg="#161616"
|
||||
color_fg="#f2f4f8"
|
||||
color_black="#282828"
|
||||
color_gray="#353535"
|
||||
color_light_gray="#484848"
|
||||
color_red="#ee5396"
|
||||
color_green="#25be6a"
|
||||
color_teal="#3ddbd9"
|
||||
color_blue="#78a9ff"
|
||||
color_purple="#be95ff"
|
||||
color_cyan="#33b1ff"
|
||||
color_white="#dfdfe0"
|
||||
|
||||
color_accent="blue"
|
||||
color_accent="$color_blue"
|
||||
color_primary="default"
|
||||
color_secondary="$color_grey"
|
||||
color_fg_primary="default"
|
||||
color_fg_secondary="$color_offwhite"
|
||||
color_secondary="$color_gray"
|
||||
color_fg_primary="$color_fg"
|
||||
color_fg_secondary="$color_white"
|
||||
|
||||
window_status_current_bg="default"
|
||||
window_status_current_fg="$color_accent"
|
||||
|
||||
theme_mode_bg="$color_accent"
|
||||
theme_mode_fg="$color_fg_primary"
|
||||
theme_mode_fg="$color_bg"
|
||||
|
||||
tmux_conf_theme_window_fg="$color_fg_primary"
|
||||
# window style
|
||||
@@ -172,7 +174,7 @@ tmux_conf_theme_window_status_attr="none"
|
||||
# tmux_conf_theme_window_status_format="#I #W#{?#{||:#{window_bell_flag},#{window_zoomed_flag}}, ,}#{?window_bell_flag,!,}#{?window_zoomed_flag,Z,}"
|
||||
#tmux_conf_theme_window_status_format="#{circled_window_index} #W#{?#{||:#{window_bell_flag},#{window_zoomed_flag}}, ,}#{?window_bell_flag,!,}#{?window_zoomed_flag,Z,}"
|
||||
# tmux_conf_theme_window_status_format=" #I: #(despell -e #W) #W #{?#{||:#{window_bell_flag},#{window_zoomed_flag}}, ,}#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}"
|
||||
tmux_conf_theme_window_status_format=" #I:#W #{?#{||:#{window_bell_flag},#{window_zoomed_flag}}, ,}#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}"
|
||||
tmux_conf_theme_window_status_format="#[fg=$color_gray,bg=default]#[fg=$color_fg,bg=$color_gray]#I: #(bash /Users/jsarthak/dotfiles/tmux/tmux-window-name.sh '#W' '#{pane_current_path}')#{?#{||:#{window_bell_flag},#{window_zoomed_flag}}, ,}#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}#[fg=$color_gray,bg=default]"
|
||||
|
||||
# window current status style
|
||||
# - built-in variables are:
|
||||
@@ -187,7 +189,7 @@ tmux_conf_theme_window_status_format=" #I:#W #{?#{||:#{window_bell_flag},#{windo
|
||||
# tmux_conf_theme_window_status_current_format="#I #W#{?#{||:#{window_bell_flag},#{window_zoomed_flag}}, ,}#{?window_bell_flag,!,}#{?window_zoomed_flag,Z,}"
|
||||
#tmux_conf_theme_window_status_current_format="#{circled_window_index} #W#{?#{||:#{window_bell_flag},#{window_zoomed_flag}}, ,}#{?window_bell_flag,!,}#{?window_zoomed_flag,Z,}"
|
||||
# tmux_conf_theme_window_status_current_format="#I: #(despell -e #W) #[fg=$tmux_conf_theme_window_status_current_fg]#W*#{?#{||:#{window_bell_flag},#{window_zoomed_flag}}, ,}#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}"
|
||||
tmux_conf_theme_window_status_current_format="#I:#[fg=$tmux_conf_theme_window_status_current_fg]#W#{?#{||:#{window_bell_flag},#{window_zoomed_flag}}, ,}#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}"
|
||||
tmux_conf_theme_window_status_current_format="#[fg=$color_accent,bg=default]#[fg=$color_bg,bg=$color_accent,bold]#I: #(bash /Users/jsarthak/dotfiles/tmux/tmux-window-name.sh '#W' '#{pane_current_path}')#{?#{||:#{window_bell_flag},#{window_zoomed_flag}}, ,}#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}#[fg=$color_accent,bg=default]"
|
||||
|
||||
tmux_conf_theme_window_status_current_fg="$window_status_current_fg"
|
||||
tmux_conf_theme_window_status_current_bg="$window_status_current_bg"
|
||||
@@ -210,9 +212,9 @@ tmux_conf_theme_window_status_last_attr="bold"
|
||||
|
||||
# status left/right sections separators
|
||||
tmux_conf_theme_left_separator_main=""
|
||||
tmux_conf_theme_left_separator_sub="|"
|
||||
tmux_conf_theme_left_separator_sub=""
|
||||
tmux_conf_theme_right_separator_main=""
|
||||
tmux_conf_theme_right_separator_sub="\u2022"
|
||||
tmux_conf_theme_right_separator_sub=""
|
||||
# tmux_conf_theme_left_separator_main='\uE0B0' # /!\ you don't need to install Powerline
|
||||
# tmux_conf_theme_left_separator_sub='\uE0B1' # yku only need fonts patched with
|
||||
# tmux_conf_theme_right_separator_main='\uE0B2' # Powerline symbols or the standalone
|
||||
@@ -247,18 +249,18 @@ tmux_conf_theme_right_separator_sub="\u2022"
|
||||
# - #{username}
|
||||
# - #{username_ssh}
|
||||
|
||||
tmux_conf_theme_status_left=" [#S]"
|
||||
tmux_conf_theme_status_right=" #{prefix}#{mouse}#{pairing}#{synchronized} |\u2022 #{username}#{root} |\u2022 #{hostname} |\u2022 ↑ #{?uptime_y, #{uptime_y}y,}#{?uptime_d, #{uptime_d}d,}#{?uptime_h, #{uptime_h}h,}#{?uptime_m, #{uptime_m}m,} "
|
||||
tmux_conf_theme_status_left=" ❐ #S #[fg=$color_accent,bg=default,none]"
|
||||
tmux_conf_theme_status_right=" #{prefix}#{mouse}#{pairing}#{synchronized} |#[fg=default,bg=default] #[fg=$color_secondary,bg=default,none]#[fg=$color_fg,bg=$color_secondary,none] #{?uptime_d,#{uptime_d}d,}#{?uptime_h,#{uptime_h}h,}#{?uptime_m,#{uptime_m}m,}#[fg=$color_secondary,bg=default,none] |#[fg=default,bg=default] #[fg=$color_purple,bg=default,none]#[fg=$color_bg,bg=$color_purple,bold] #{username}#{root}@#{hostname}#[fg=$color_purple,bg=default,none] "
|
||||
|
||||
# status left style
|
||||
tmux_conf_theme_status_left_fg="$color_black,$color_fg_primary,$color_fg_primary"
|
||||
tmux_conf_theme_status_left_bg="$color_primary,$color_primary,$color_primary"
|
||||
tmux_conf_theme_status_left_attr="bold,none,none"
|
||||
tmux_conf_theme_status_left_fg="$color_bg"
|
||||
tmux_conf_theme_status_left_bg="$color_accent"
|
||||
tmux_conf_theme_status_left_attr="bold"
|
||||
|
||||
# status right style
|
||||
tmux_conf_theme_status_right_fg="$color_fg_primary,$color_fg_primary,$color_fg_primary,$color_fg_primary"
|
||||
tmux_conf_theme_status_right_bg="$color_primary,$color_primary,$color_primary,$color_primary"
|
||||
tmux_conf_theme_status_right_attr="bold,none,bold,none"
|
||||
tmux_conf_theme_status_right_fg="$color_red,$color_fg,$color_bg"
|
||||
tmux_conf_theme_status_right_bg="default,$color_secondary,$color_purple"
|
||||
tmux_conf_theme_status_right_attr="bold,none,bold"
|
||||
|
||||
# pairing indicator
|
||||
tmux_conf_theme_pairing="⚇" # U+2687
|
||||
@@ -267,14 +269,14 @@ tmux_conf_theme_pairing_bg="none"
|
||||
tmux_conf_theme_pairing_attr="none"
|
||||
|
||||
# prefix indicator
|
||||
tmux_conf_theme_prefix="⌨" # U+2328
|
||||
tmux_conf_theme_prefix_fg="none"
|
||||
tmux_conf_theme_prefix=" "
|
||||
tmux_conf_theme_prefix_fg="$color_red"
|
||||
tmux_conf_theme_prefix_bg="none"
|
||||
tmux_conf_theme_prefix_attr="none"
|
||||
tmux_conf_theme_prefix_attr="bold"
|
||||
|
||||
# mouse indicator
|
||||
tmux_conf_theme_mouse="↗" # U+2197
|
||||
tmux_conf_theme_mouse_fg="none"
|
||||
tmux_conf_theme_mouse=" "
|
||||
tmux_conf_theme_mouse_fg="$color_teal"
|
||||
tmux_conf_theme_mouse_bg="none"
|
||||
tmux_conf_theme_mouse_attr="none"
|
||||
|
||||
@@ -285,8 +287,8 @@ tmux_conf_theme_root_bg="none"
|
||||
tmux_conf_theme_root_attr="bold,blink"
|
||||
|
||||
# synchronized indicator
|
||||
tmux_conf_theme_synchronized="⚏" # U+268F
|
||||
tmux_conf_theme_synchronized_fg="none"
|
||||
tmux_conf_theme_synchronized=" "
|
||||
tmux_conf_theme_synchronized_fg="$color_green"
|
||||
tmux_conf_theme_synchronized_bg="none"
|
||||
tmux_conf_theme_synchronized_attr="none"
|
||||
|
||||
|
||||
Executable
+86
@@ -0,0 +1,86 @@
|
||||
#!/bin/bash
|
||||
# tmux-window-name.sh - Auto emoji/icon plugin replacement for tmux window titles
|
||||
# Zero dependencies, fast shell-based script mapping commands to Nerd Font glyphs.
|
||||
|
||||
cmd="$1"
|
||||
path="$2"
|
||||
|
||||
# Get basename of the directory
|
||||
base_dir=$(basename "$path")
|
||||
if [ "$base_dir" = "$USER" ]; then
|
||||
base_dir="~"
|
||||
fi
|
||||
|
||||
icon=""
|
||||
name="$cmd"
|
||||
|
||||
case "$cmd" in
|
||||
zsh|bash|sh|fish|ksh)
|
||||
icon=""
|
||||
name="$base_dir"
|
||||
;;
|
||||
nvim|vim|vi)
|
||||
icon=""
|
||||
name="nvim ($base_dir)"
|
||||
;;
|
||||
emacs)
|
||||
icon=""
|
||||
name="emacs ($base_dir)"
|
||||
;;
|
||||
git|lazygit|gh)
|
||||
icon=""
|
||||
name="${cmd} ($base_dir)"
|
||||
;;
|
||||
node|npm|yarn|pnpm|bun)
|
||||
icon=""
|
||||
name="${cmd} ($base_dir)"
|
||||
;;
|
||||
python|python3|pip|ipython)
|
||||
icon=""
|
||||
;;
|
||||
docker|docker-compose|lazydocker)
|
||||
icon=""
|
||||
name="${cmd} ($base_dir)"
|
||||
;;
|
||||
cargo|rustc|rustup)
|
||||
icon=""
|
||||
name="${cmd} ($base_dir)"
|
||||
;;
|
||||
go)
|
||||
icon=""
|
||||
;;
|
||||
htop|top|btop)
|
||||
icon=""
|
||||
;;
|
||||
curl|wget)
|
||||
icon=""
|
||||
;;
|
||||
man)
|
||||
icon=""
|
||||
;;
|
||||
less|more)
|
||||
icon="📄"
|
||||
;;
|
||||
make|cmake|just)
|
||||
icon="🛠️"
|
||||
;;
|
||||
ssh|scp|sftp|mosh-client|mosh)
|
||||
icon="🔑"
|
||||
;;
|
||||
sudo)
|
||||
icon="🔒"
|
||||
;;
|
||||
terraform|tofu)
|
||||
icon=""
|
||||
name="${cmd} ($base_dir)"
|
||||
;;
|
||||
grep|rg|find|fd)
|
||||
icon="🔍"
|
||||
;;
|
||||
sleep)
|
||||
icon="💤"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Output the formatted name
|
||||
echo "$icon $name"
|
||||
+4
-3
@@ -111,9 +111,10 @@ source <(fzf --zsh)
|
||||
export PATH="/Users/jsarthak/.antigravity/antigravity/bin:$PATH"
|
||||
export PATH="/Users/jsarthak/flutter-sdk/flutter/bin:$PATH"
|
||||
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
|
||||
source $HOME/dotfiles/shell/common
|
||||
source $HOME/dotfiles/shell/personal
|
||||
source $HOME/dotfiles/shell/aliases
|
||||
source ~/.config/shell/common
|
||||
source ~/.config/shell/personal
|
||||
source ~/.config/shell/aliases
|
||||
|
||||
MANPAGER="col -b | cat"
|
||||
MANROFFOPT="-P-c"
|
||||
eval "$(zoxide init zsh)"
|
||||
|
||||
Reference in New Issue
Block a user