init
71a5e21c
276 file(s) · +25775 −0
Binary file — no preview.
| 1 | + | set -g default-terminal "xterm-256color" |
|
| 2 | + | set-option -ga terminal-overrides ",xterm-256color:Tc" |
|
| 3 | + | set -ga terminal-overrides ",xterm-256color:Tc" |
|
| 4 | + | set-option -g default-shell /opt/homebrew/bin/fish |
|
| 5 | + | ||
| 6 | + | # action key |
|
| 7 | + | unbind C-b |
|
| 8 | + | set-option -g prefix C-q |
|
| 9 | + | set-option -g repeat-time 0 |
|
| 10 | + | set -g @tpm-clean 'u' |
|
| 11 | + | bind-key x kill-pane # skip "kill-pane 1? (y/n)" prompt |
|
| 12 | + | set -g detach-on-destroy off # don't exit from tmux when closing a session |
|
| 13 | + | ||
| 14 | + | # Plugins |
|
| 15 | + | set -g @plugin 'tmux-plugins/tpm' |
|
| 16 | + | set -g @plugin 'tmux-plugins/tmux-sensible' |
|
| 17 | + | set -g @plugin 'joshmedeski/t-smart-tmux-session-manager' |
|
| 18 | + | set -g @plugin 'christoomey/vim-tmux-navigator' |
|
| 19 | + | set -g @t-fzf-prompt ' ' |
|
| 20 | + | ||
| 21 | + | set -g @plugin 'tinted-theming/base16-tmux' |
|
| 22 | + | bind-key b set-option status |
|
| 23 | + | ||
| 24 | + | set-window-option -g mode-keys vi |
|
| 25 | + | ||
| 26 | + | # turn on mouse |
|
| 27 | + | set -g mouse on |
|
| 28 | + | ||
| 29 | + | #bind t send-key C-t |
|
| 30 | + | # Reload settings |
|
| 31 | + | bind r source-file ~/.tmux.conf \; display "Reloaded!" |
|
| 32 | + | # Open current directory |
|
| 33 | + | bind o run-shell "open #{pane_current_path}" |
|
| 34 | + | bind -r e kill-pane -a |
|
| 35 | + | ||
| 36 | + | # vim-like pane switching |
|
| 37 | + | bind -r k select-pane -U |
|
| 38 | + | bind -r j select-pane -D |
|
| 39 | + | bind -r h select-pane -L |
|
| 40 | + | bind -r l select-pane -R |
|
| 41 | + | ||
| 42 | + | # Moving window |
|
| 43 | + | bind-key -n C-S-Left swap-window -t -1 \; previous-window |
|
| 44 | + | bind-key -n C-S-Right swap-window -t +1 \; next-window |
|
| 45 | + | ||
| 46 | + | # Resizing pane |
|
| 47 | + | bind -r C-k resize-pane -U 5 |
|
| 48 | + | bind -r C-j resize-pane -D 5 |
|
| 49 | + | bind -r C-h resize-pane -L 5 |
|
| 50 | + | bind -r C-l resize-pane -R 5 |
|
| 51 | + | ||
| 52 | + | # Start windows and panes at 1, not 0 |
|
| 53 | + | set -g base-index 1 |
|
| 54 | + | set -g pane-base-index 1 |
|
| 55 | + | set-window-option -g pane-base-index 1 |
|
| 56 | + | set-option -g renumber-windows on |
|
| 57 | + | ||
| 58 | + | # Opens split panes in current path |
|
| 59 | + | bind '"' split-window -v -c "#{pane_current_path}" |
|
| 60 | + | bind % split-window -h -c "#{pane_current_path}" |
|
| 61 | + | ||
| 62 | + | ||
| 63 | + | #set-option utf8-default on |
|
| 64 | + | #set-option -g mouse-select-pane |
|
| 65 | + | set-window-option -g mode-keys vi |
|
| 66 | + | #set-window-option -g utf8 on |
|
| 67 | + | # look'n feel |
|
| 68 | + | set-option -g status-position "top" |
|
| 69 | + | set-option -g status-style bg=colour0,fg=default |
|
| 70 | + | set-option -g status-justify centre |
|
| 71 | + | set-option -g status-left '#[bg=default,fg=default,bold]#{?client_prefix,, }#[bg=default,fg=colour3,bold]#{?client_prefix, ,}' |
|
| 72 | + | set-option -g status-right '#S' |
|
| 73 | + | set-option -g window-status-format '#[bg=colour0,fg=colour2] #W ' |
|
| 74 | + | set-option -g window-status-current-format '#[bg=colour0,fg=colour3] #W#{?window_zoomed_flag, , }' |
|
| 75 | + | ||
| 76 | + | ||
| 77 | + | run '~/.tmux/plugins/tpm/tpm' |
| 1 | + | env: |
|
| 2 | + | TERM: xterm-256color |
|
| 3 | + | ||
| 4 | + | window: |
|
| 5 | + | # Window dimensions (changes require restart) |
|
| 6 | + | # |
|
| 7 | + | # Specified in number of columns/lines, not pixels. If both are zero this |
|
| 8 | + | # setting is ignored. |
|
| 9 | + | dimensions: |
|
| 10 | + | columns: 85 |
|
| 11 | + | lines: 30 |
|
| 12 | + | ||
| 13 | + | # Window padding (changes require restart) |
|
| 14 | + | # |
|
| 15 | + | # Blank space added around the window in pixels. This padding is not scaled by |
|
| 16 | + | # DPI and the specified value is always added at both opposing sides. |
|
| 17 | + | padding: |
|
| 18 | + | x: 10 |
|
| 19 | + | y: 4 |
|
| 20 | + | ||
| 21 | + | # Spread additional padding evenly around the terminal content. |
|
| 22 | + | dynamic_padding: false |
|
| 23 | + | ||
| 24 | + | # Window decorations |
|
| 25 | + | # |
|
| 26 | + | # Available values: |
|
| 27 | + | # - full: borders and title bar |
|
| 28 | + | # - none: neither borders nor title bar |
|
| 29 | + | # - transparent: title bar, transparent background and title bar buttons |
|
| 30 | + | # - buttonless: title bar, transparent background, but no title bar buttons |
|
| 31 | + | decorations: buttonless |
|
| 32 | + | ||
| 33 | + | # Startup Mode (changes require restart) |
|
| 34 | + | # |
|
| 35 | + | # Values for `startup_mode`: |
|
| 36 | + | # - Windowed |
|
| 37 | + | # - Maximized |
|
| 38 | + | # - Fullscreen |
|
| 39 | + | # |
|
| 40 | + | # Values for `startup_mode` (macOS only): |
|
| 41 | + | # - SimpleFullscreen |
|
| 42 | + | startup_mode: Windowed |
|
| 43 | + | ||
| 44 | + | # Background opacity |
|
| 45 | + | opacity: 1.0 |
|
| 46 | + | ||
| 47 | + | # Font configuration (changes require restart) |
|
| 48 | + | font: |
|
| 49 | + | # The normal (roman) font face to use. |
|
| 50 | + | # Style can be specified to pick a specific face. |
|
| 51 | + | normal: |
|
| 52 | + | # family: Hack Nerd Font Mono |
|
| 53 | + | family: BerkeleyMono Nerd Font |
|
| 54 | + | # family: "Fira Code" |
|
| 55 | + | # family: "Source Code Pro" |
|
| 56 | + | # style: Retina |
|
| 57 | + | ||
| 58 | + | # Point size of the font |
|
| 59 | + | size: 14.0 |
|
| 60 | + | ||
| 61 | + | # Offset is the extra space around each character. offset.y can be thought of |
|
| 62 | + | # as modifying the linespacing, and offset.x as modifying the letter spacing. |
|
| 63 | + | offset: |
|
| 64 | + | x: 0 |
|
| 65 | + | y: 0 |
|
| 66 | + | ||
| 67 | + | # Glyph offset determines the locations of the glyphs within their cells with |
|
| 68 | + | # the default being at the bottom. Increase the x offset to move the glyph to |
|
| 69 | + | # the right, increase the y offset to move the glyph upward. |
|
| 70 | + | glyph_offset: |
|
| 71 | + | x: 0 |
|
| 72 | + | y: 0 |
|
| 73 | + | ||
| 74 | + | # Thin stroke font rendering (macOS only) |
|
| 75 | + | # |
|
| 76 | + | # Thin strokes are suitable for retina displays, but for non-retina you |
|
| 77 | + | # probably want this set to false. |
|
| 78 | + | # |
|
| 79 | + | # macOS >= 10.14.x: |
|
| 80 | + | # |
|
| 81 | + | # If the font quality on non-retina display looks bad then set |
|
| 82 | + | # `use_thin_strokes` to `true` and enable font smoothing by running the |
|
| 83 | + | # following command: |
|
| 84 | + | # `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO` |
|
| 85 | + | # |
|
| 86 | + | # This is a global setting and will require a log out or restart to take |
|
| 87 | + | # effect. |
|
| 88 | + | ||
| 89 | + | # When true, bold text is drawn using the bright variant of colors. |
|
| 90 | + | draw_bold_text_with_bright_colors: false |
|
| 91 | + | ||
| 92 | + | # Use custom cursor colors. If true, display the cursor in the cursor.foreground |
|
| 93 | + | # and cursor.background colors, otherwise invert the colors of the cursor. |
|
| 94 | + | custom_cursor_colors: true |
|
| 95 | + | ||
| 96 | + | cursor: |
|
| 97 | + | ||
| 98 | + | style: |
|
| 99 | + | ||
| 100 | + | shape: Block |
|
| 101 | + | blinking: On |
|
| 102 | + | ||
| 103 | + | import: |
|
| 104 | + | # uncomment the flavour you want below: |
|
| 105 | + | # - ~/.config/alacritty/rose-pine.yml |
|
| 106 | + | # - ~/.config/alacritty/gruvbox-material.yml |
|
| 107 | + | #- ~/.config/alacritty/flexoki.yml |
|
| 108 | + | - ~/.config/alacritty/base16-alacritty/colors/base16-black-metal.yml |
|
| 109 | + | ||
| 110 | + | key_bindings: |
|
| 111 | + | - { key: V, mods: Command, action: Paste } |
|
| 112 | + | - { key: C, mods: Command, action: Copy } |
|
| 113 | + | - { key: Q, mods: Command, action: Quit } |
|
| 114 | + | - { key: N, mods: Command, action: CreateNewWindow } |
|
| 115 | + | - { key: K, mods: Command, chars: "\x11\x54" } # open t - tmux smart session manager |
|
| 116 | + | ||
| 117 | + | live_config_reload: true |
|
| 118 | + | ||
| 119 | + | selection: |
|
| 120 | + | semantic_escape_chars: ',│`|:"'' ()[]{}<>' |
|
| 121 | + | save_to_clipboard: true |
Binary file — no preview.
Binary file — no preview.
| 1 | + | #? Config file for btop v. 1.2.13 |
|
| 2 | + | ||
| 3 | + | #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. |
|
| 4 | + | #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" |
|
| 5 | + | color_theme = "TTY" |
|
| 6 | + | ||
| 7 | + | #* If the theme set background should be shown, set to False if you want terminal background transparency. |
|
| 8 | + | theme_background = False |
|
| 9 | + | ||
| 10 | + | #* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. |
|
| 11 | + | truecolor = True |
|
| 12 | + | ||
| 13 | + | #* Set to true to force tty mode regardless if a real tty has been detected or not. |
|
| 14 | + | #* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols. |
|
| 15 | + | force_tty = False |
|
| 16 | + | ||
| 17 | + | #* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. |
|
| 18 | + | #* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box. |
|
| 19 | + | #* Use whitespace " " as separator between different presets. |
|
| 20 | + | #* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty" |
|
| 21 | + | presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty" |
|
| 22 | + | ||
| 23 | + | #* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists. |
|
| 24 | + | #* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. |
|
| 25 | + | vim_keys = True |
|
| 26 | + | ||
| 27 | + | #* Rounded corners on boxes, is ignored if TTY mode is ON. |
|
| 28 | + | rounded_corners = True |
|
| 29 | + | ||
| 30 | + | #* Default symbols to use for graph creation, "braille", "block" or "tty". |
|
| 31 | + | #* "braille" offers the highest resolution but might not be included in all fonts. |
|
| 32 | + | #* "block" has half the resolution of braille but uses more common characters. |
|
| 33 | + | #* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY. |
|
| 34 | + | #* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view. |
|
| 35 | + | graph_symbol = "braille" |
|
| 36 | + | ||
| 37 | + | # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". |
|
| 38 | + | graph_symbol_cpu = "default" |
|
| 39 | + | ||
| 40 | + | # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". |
|
| 41 | + | graph_symbol_mem = "default" |
|
| 42 | + | ||
| 43 | + | # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". |
|
| 44 | + | graph_symbol_net = "default" |
|
| 45 | + | ||
| 46 | + | # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". |
|
| 47 | + | graph_symbol_proc = "default" |
|
| 48 | + | ||
| 49 | + | #* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace. |
|
| 50 | + | shown_boxes = "cpu mem proc net" |
|
| 51 | + | ||
| 52 | + | #* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. |
|
| 53 | + | update_ms = 2000 |
|
| 54 | + | ||
| 55 | + | #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", |
|
| 56 | + | #* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. |
|
| 57 | + | proc_sorting = "cpu direct" |
|
| 58 | + | ||
| 59 | + | #* Reverse sorting order, True or False. |
|
| 60 | + | proc_reversed = False |
|
| 61 | + | ||
| 62 | + | #* Show processes as a tree. |
|
| 63 | + | proc_tree = True |
|
| 64 | + | ||
| 65 | + | #* Use the cpu graph colors in the process list. |
|
| 66 | + | proc_colors = True |
|
| 67 | + | ||
| 68 | + | #* Use a darkening gradient in the process list. |
|
| 69 | + | proc_gradient = True |
|
| 70 | + | ||
| 71 | + | #* If process cpu usage should be of the core it's running on or usage of the total available cpu power. |
|
| 72 | + | proc_per_core = False |
|
| 73 | + | ||
| 74 | + | #* Show process memory as bytes instead of percent. |
|
| 75 | + | proc_mem_bytes = True |
|
| 76 | + | ||
| 77 | + | #* Show cpu graph for each process. |
|
| 78 | + | proc_cpu_graphs = True |
|
| 79 | + | ||
| 80 | + | #* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) |
|
| 81 | + | proc_info_smaps = False |
|
| 82 | + | ||
| 83 | + | #* Show proc box on left side of screen instead of right. |
|
| 84 | + | proc_left = False |
|
| 85 | + | ||
| 86 | + | #* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). |
|
| 87 | + | proc_filter_kernel = False |
|
| 88 | + | ||
| 89 | + | #* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. |
|
| 90 | + | #* Select from a list of detected attributes from the options menu. |
|
| 91 | + | cpu_graph_upper = "total" |
|
| 92 | + | ||
| 93 | + | #* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available. |
|
| 94 | + | #* Select from a list of detected attributes from the options menu. |
|
| 95 | + | cpu_graph_lower = "total" |
|
| 96 | + | ||
| 97 | + | #* Toggles if the lower CPU graph should be inverted. |
|
| 98 | + | cpu_invert_lower = True |
|
| 99 | + | ||
| 100 | + | #* Set to True to completely disable the lower CPU graph. |
|
| 101 | + | cpu_single_graph = False |
|
| 102 | + | ||
| 103 | + | #* Show cpu box at bottom of screen instead of top. |
|
| 104 | + | cpu_bottom = False |
|
| 105 | + | ||
| 106 | + | #* Shows the system uptime in the CPU box. |
|
| 107 | + | show_uptime = True |
|
| 108 | + | ||
| 109 | + | #* Show cpu temperature. |
|
| 110 | + | check_temp = True |
|
| 111 | + | ||
| 112 | + | #* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. |
|
| 113 | + | cpu_sensor = "Auto" |
|
| 114 | + | ||
| 115 | + | #* Show temperatures for cpu cores also if check_temp is True and sensors has been found. |
|
| 116 | + | show_coretemp = True |
|
| 117 | + | ||
| 118 | + | #* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. |
|
| 119 | + | #* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. |
|
| 120 | + | #* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries. |
|
| 121 | + | #* Example: "4:0 5:1 6:3" |
|
| 122 | + | cpu_core_map = "" |
|
| 123 | + | ||
| 124 | + | #* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine". |
|
| 125 | + | temp_scale = "fahrenheit" |
|
| 126 | + | ||
| 127 | + | #* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. |
|
| 128 | + | base_10_sizes = False |
|
| 129 | + | ||
| 130 | + | #* Show CPU frequency. |
|
| 131 | + | show_cpu_freq = True |
|
| 132 | + | ||
| 133 | + | #* Draw a clock at top of screen, formatting according to strftime, empty string to disable. |
|
| 134 | + | #* Special formatting: /host = hostname | /user = username | /uptime = system uptime |
|
| 135 | + | clock_format = "%X" |
|
| 136 | + | ||
| 137 | + | #* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. |
|
| 138 | + | background_update = True |
|
| 139 | + | ||
| 140 | + | #* Custom cpu model name, empty string to disable. |
|
| 141 | + | custom_cpu_name = "" |
|
| 142 | + | ||
| 143 | + | #* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". |
|
| 144 | + | #* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user". |
|
| 145 | + | disks_filter = "" |
|
| 146 | + | ||
| 147 | + | #* Show graphs instead of meters for memory values. |
|
| 148 | + | mem_graphs = True |
|
| 149 | + | ||
| 150 | + | #* Show mem box below net box instead of above. |
|
| 151 | + | mem_below_net = False |
|
| 152 | + | ||
| 153 | + | #* Count ZFS ARC in cached and available memory. |
|
| 154 | + | zfs_arc_cached = True |
|
| 155 | + | ||
| 156 | + | #* If swap memory should be shown in memory box. |
|
| 157 | + | show_swap = True |
|
| 158 | + | ||
| 159 | + | #* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. |
|
| 160 | + | swap_disk = True |
|
| 161 | + | ||
| 162 | + | #* If mem box should be split to also show disks info. |
|
| 163 | + | show_disks = True |
|
| 164 | + | ||
| 165 | + | #* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. |
|
| 166 | + | only_physical = True |
|
| 167 | + | ||
| 168 | + | #* Read disks list from /etc/fstab. This also disables only_physical. |
|
| 169 | + | use_fstab = True |
|
| 170 | + | ||
| 171 | + | #* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) |
|
| 172 | + | zfs_hide_datasets = False |
|
| 173 | + | ||
| 174 | + | #* Set to true to show available disk space for privileged users. |
|
| 175 | + | disk_free_priv = False |
|
| 176 | + | ||
| 177 | + | #* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. |
|
| 178 | + | show_io_stat = True |
|
| 179 | + | ||
| 180 | + | #* Toggles io mode for disks, showing big graphs for disk read/write speeds. |
|
| 181 | + | io_mode = False |
|
| 182 | + | ||
| 183 | + | #* Set to True to show combined read/write io graphs in io mode. |
|
| 184 | + | io_graph_combined = False |
|
| 185 | + | ||
| 186 | + | #* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". |
|
| 187 | + | #* Example: "/mnt/media:100 /:20 /boot:1". |
|
| 188 | + | io_graph_speeds = "" |
|
| 189 | + | ||
| 190 | + | #* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. |
|
| 191 | + | net_download = 100 |
|
| 192 | + | ||
| 193 | + | net_upload = 100 |
|
| 194 | + | ||
| 195 | + | #* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. |
|
| 196 | + | net_auto = True |
|
| 197 | + | ||
| 198 | + | #* Sync the auto scaling for download and upload to whichever currently has the highest scale. |
|
| 199 | + | net_sync = True |
|
| 200 | + | ||
| 201 | + | #* Starts with the Network Interface specified here. |
|
| 202 | + | net_iface = "" |
|
| 203 | + | ||
| 204 | + | #* Show battery stats in top right if battery is present. |
|
| 205 | + | show_battery = True |
|
| 206 | + | ||
| 207 | + | #* Which battery to use if multiple are present. "Auto" for auto detection. |
|
| 208 | + | selected_battery = "Auto" |
|
| 209 | + | ||
| 210 | + | #* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". |
|
| 211 | + | #* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. |
|
| 212 | + | log_level = "WARNING" |
| 1 | + | ||
| 2 | + | 2023/05/08 (12:13:42) | ===> btop++ v.1.2.13 |
|
| 3 | + | 2023/05/08 (12:13:42) | ERROR: Stall in Runner thread, restarting! |
|
| 4 | + | ||
| 5 | + | 2023/09/15 (01:58:40) | ===> btop++ v.1.2.13 |
|
| 6 | + | 2023/09/15 (01:58:40) | ERROR: failed getting network interfaces |
|
| 7 | + | 2023/09/23 (06:19:12) | ERROR: failed getting network interfaces |
| 1 | + | # Btop gruvbox material dark (https://github.com/sainnhe/gruvbox-material) theme |
|
| 2 | + | # by Marco Radocchia |
|
| 3 | + | ||
| 4 | + | # Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255" |
|
| 5 | + | # example for white: "#FFFFFF", "#ff" or "255 255 255". |
|
| 6 | + | ||
| 7 | + | # All graphs and meters can be gradients |
|
| 8 | + | # For single color graphs leave "mid" and "end" variable empty. |
|
| 9 | + | # Use "start" and "end" variables for two color gradient |
|
| 10 | + | # Use "start", "mid" and "end" for three color gradient |
|
| 11 | + | ||
| 12 | + | # Main background, empty for terminal default, need to be empty if you want transparent background |
|
| 13 | + | theme[main_bg]="#282828" |
|
| 14 | + | ||
| 15 | + | # Main text color |
|
| 16 | + | theme[main_fg]="#d4be98" |
|
| 17 | + | ||
| 18 | + | # Title color for boxes |
|
| 19 | + | theme[title]="#d4be98" |
|
| 20 | + | ||
| 21 | + | # Higlight color for keyboard shortcuts |
|
| 22 | + | theme[hi_fg]="#ea6962" |
|
| 23 | + | ||
| 24 | + | # Background color of selected items |
|
| 25 | + | theme[selected_bg]="#d8a657" |
|
| 26 | + | ||
| 27 | + | # Foreground color of selected items |
|
| 28 | + | theme[selected_fg]="#282828" |
|
| 29 | + | ||
| 30 | + | # Color of inactive/disabled text |
|
| 31 | + | theme[inactive_fg]="#282828" |
|
| 32 | + | ||
| 33 | + | # Color of text appearing on top of graphs, i.e uptime and current network graph scaling |
|
| 34 | + | theme[graph_text]="#665c54" |
|
| 35 | + | ||
| 36 | + | # Misc colors for processes box including mini cpu graphs, details memory graph and details status text |
|
| 37 | + | theme[proc_misc]="#a9b665" |
|
| 38 | + | ||
| 39 | + | # Cpu box outline color |
|
| 40 | + | theme[cpu_box]="#7c6f64" |
|
| 41 | + | ||
| 42 | + | # Memory/disks box outline color |
|
| 43 | + | theme[mem_box]="#7c6f64" |
|
| 44 | + | ||
| 45 | + | # Net up/down box outline color |
|
| 46 | + | theme[net_box]="#7c6f64" |
|
| 47 | + | ||
| 48 | + | # Processes box outline color |
|
| 49 | + | theme[proc_box]="#7c6f64" |
|
| 50 | + | ||
| 51 | + | # Box divider line and small boxes line color |
|
| 52 | + | theme[div_line]="#7c6f64" |
|
| 53 | + | ||
| 54 | + | # Temperature graph colors |
|
| 55 | + | theme[temp_start]="#7daea3" |
|
| 56 | + | theme[temp_mid]="#e78a4e" |
|
| 57 | + | theme[temp_end]="#ea6962" |
|
| 58 | + | ||
| 59 | + | # CPU graph colors |
|
| 60 | + | theme[cpu_start]="#a9b665" |
|
| 61 | + | theme[cpu_mid]="#d8a657" |
|
| 62 | + | theme[cpu_end]="#ea6962" |
|
| 63 | + | ||
| 64 | + | # Mem/Disk free meter |
|
| 65 | + | theme[free_start]="#89b482" |
|
| 66 | + | theme[free_mid]="" |
|
| 67 | + | theme[free_end]="" |
|
| 68 | + | ||
| 69 | + | # Mem/Disk cached meter |
|
| 70 | + | theme[cached_start]="#7daea3" |
|
| 71 | + | theme[cached_mid]="" |
|
| 72 | + | theme[cached_end]="" |
|
| 73 | + | ||
| 74 | + | # Mem/Disk available meter |
|
| 75 | + | theme[available_start]="#d8a657" |
|
| 76 | + | theme[available_mid]="" |
|
| 77 | + | theme[available_end]="" |
|
| 78 | + | ||
| 79 | + | # Mem/Disk used meter |
|
| 80 | + | theme[used_start]="#ea6962" |
|
| 81 | + | theme[used_mid]="" |
|
| 82 | + | theme[used_end]="" |
|
| 83 | + | ||
| 84 | + | # Download graph colors |
|
| 85 | + | theme[download_start]="#e78a4e" |
|
| 86 | + | theme[download_mid]="" |
|
| 87 | + | theme[download_end]="" |
|
| 88 | + | ||
| 89 | + | # Upload graph colors |
|
| 90 | + | theme[upload_start]="#d3869b" |
|
| 91 | + | theme[upload_mid]="" |
|
| 92 | + | theme[upload_end]="" |
| 1 | + | # Main background, empty for terminal default, need to be empty if you want transparent background |
|
| 2 | + | theme[main_bg]="#191724" |
|
| 3 | + | # Base |
|
| 4 | + | ||
| 5 | + | # Main text color |
|
| 6 | + | theme[main_fg]="#e0def4" |
|
| 7 | + | # Text |
|
| 8 | + | ||
| 9 | + | # Title color for boxes |
|
| 10 | + | theme[title]="#908caa" |
|
| 11 | + | # Subtle |
|
| 12 | + | ||
| 13 | + | # Highlight color for keyboard shortcuts |
|
| 14 | + | theme[hi_fg]="#e0def4" |
|
| 15 | + | # Text |
|
| 16 | + | ||
| 17 | + | # Background color of selected item in processes box |
|
| 18 | + | theme[selected_bg]="#524f67" |
|
| 19 | + | # HL High |
|
| 20 | + | ||
| 21 | + | # Foreground color of selected item in processes box |
|
| 22 | + | theme[selected_fg]="#f6c177" |
|
| 23 | + | # Gold |
|
| 24 | + | ||
| 25 | + | # Color of inactive/disabled text |
|
| 26 | + | theme[inactive_fg]="#403d52" |
|
| 27 | + | # HL Med |
|
| 28 | + | ||
| 29 | + | # Color of text appearing on top of graphs, i.e uptime and current network graph scaling |
|
| 30 | + | theme[graph_text]="#9ccfd8" |
|
| 31 | + | # Foam |
|
| 32 | + | ||
| 33 | + | # Background color of the percentage meters |
|
| 34 | + | theme[meter_bg]="#9ccfd8" |
|
| 35 | + | # Foam |
|
| 36 | + | ||
| 37 | + | # Misc colors for processes box including mini cpu graphs, details memory graph and details status text |
|
| 38 | + | theme[proc_misc]="#c4a7e7" |
|
| 39 | + | # Iris |
|
| 40 | + | ||
| 41 | + | # Cpu box outline color |
|
| 42 | + | theme[cpu_box]="#ebbcba" |
|
| 43 | + | # Rose |
|
| 44 | + | ||
| 45 | + | # Memory/disks box outline color |
|
| 46 | + | theme[mem_box]="#31748f" |
|
| 47 | + | # Pine |
|
| 48 | + | ||
| 49 | + | # Net up/down box outline color |
|
| 50 | + | theme[net_box]="#c4a7e7" |
|
| 51 | + | # Iris |
|
| 52 | + | ||
| 53 | + | # Processes box outline color |
|
| 54 | + | theme[proc_box]="#eb6f92" |
|
| 55 | + | # Love |
|
| 56 | + | ||
| 57 | + | # Box divider line and small boxes line color |
|
| 58 | + | theme[div_line]="#6e6a86" |
|
| 59 | + | # Muted |
|
| 60 | + | ||
| 61 | + | # Temperature graph colors |
|
| 62 | + | theme[temp_start]="#ebbcba" |
|
| 63 | + | # Rose |
|
| 64 | + | theme[temp_mid]="#f6c177" |
|
| 65 | + | # Gold |
|
| 66 | + | theme[temp_end]="#eb6f92" |
|
| 67 | + | # Love |
|
| 68 | + | ||
| 69 | + | # CPU graph colors |
|
| 70 | + | theme[cpu_start]="#f6c177" |
|
| 71 | + | # Gold |
|
| 72 | + | theme[cpu_mid]="#ebbcba" |
|
| 73 | + | # Rose |
|
| 74 | + | theme[cpu_end]="#eb6f92" |
|
| 75 | + | # Love |
|
| 76 | + | ||
| 77 | + | # Mem/Disk free meter |
|
| 78 | + | # all love |
|
| 79 | + | theme[free_start]="#eb6f92" |
|
| 80 | + | theme[free_mid]="#eb6f92" |
|
| 81 | + | theme[free_end]="#eb6f92" |
|
| 82 | + | ||
| 83 | + | # Mem/Disk cached meter |
|
| 84 | + | # all iris |
|
| 85 | + | theme[cached_start]="#c4a7e7" |
|
| 86 | + | theme[cached_mid]="#c4a7e7" |
|
| 87 | + | theme[cached_end]="#c4a7e7" |
|
| 88 | + | ||
| 89 | + | # Mem/Disk available meter |
|
| 90 | + | # all pine |
|
| 91 | + | theme[available_start]="#31748f" |
|
| 92 | + | theme[available_mid]="#31748f" |
|
| 93 | + | theme[available_end]="#31748f" |
|
| 94 | + | ||
| 95 | + | # Mem/Disk used meter |
|
| 96 | + | # all rose |
|
| 97 | + | theme[used_start]="#ebbcba" |
|
| 98 | + | theme[used_mid]="#ebbcba" |
|
| 99 | + | theme[used_end]="#ebbcba" |
|
| 100 | + | ||
| 101 | + | # Download graph colors |
|
| 102 | + | # Pine for start, foam for the rest |
|
| 103 | + | theme[download_start]="#31748f" |
|
| 104 | + | theme[download_mid]="#9ccfd8" |
|
| 105 | + | theme[download_end]="#9ccfd8" |
|
| 106 | + | ||
| 107 | + | # Upload graph colors |
|
| 108 | + | theme[upload_start]="#ebbcba" |
|
| 109 | + | # Rose for start |
|
| 110 | + | theme[upload_mid]="#eb6f92" |
|
| 111 | + | # Love for mid and end |
|
| 112 | + | theme[upload_end]="#eb6f92" |
|
| 113 | + | ||
| 114 | + | # Process box color gradient for threads, mem and cpu usage |
|
| 115 | + | theme[process_start]="#31748f" |
|
| 116 | + | # Pine |
|
| 117 | + | theme[process_mid]="#9ccfd8" |
|
| 118 | + | # Foam for mid and end |
|
| 119 | + | theme[process_end]="#9ccfd8" |
| 1 | + | complete --command fisher --exclusive --long help --description "Print help" |
|
| 2 | + | complete --command fisher --exclusive --long version --description "Print version" |
|
| 3 | + | complete --command fisher --exclusive --condition __fish_use_subcommand --arguments install --description "Install plugins" |
|
| 4 | + | complete --command fisher --exclusive --condition __fish_use_subcommand --arguments update --description "Update installed plugins" |
|
| 5 | + | complete --command fisher --exclusive --condition __fish_use_subcommand --arguments remove --description "Remove installed plugins" |
|
| 6 | + | complete --command fisher --exclusive --condition __fish_use_subcommand --arguments list --description "List installed plugins matching regex" |
|
| 7 | + | complete --command fisher --exclusive --condition "__fish_seen_subcommand_from update remove" --arguments "(fisher list)" |
| 1 | + | complete --command nvm --exclusive |
|
| 2 | + | complete --command nvm --exclusive --long version --description "Print version" |
|
| 3 | + | complete --command nvm --exclusive --long help --description "Print help" |
|
| 4 | + | complete --command nvm --long silent --description "Suppress standard output" |
|
| 5 | + | ||
| 6 | + | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments install --description "Download and activate the specified Node version" |
|
| 7 | + | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments use --description "Activate the specified Node version in the current shell" |
|
| 8 | + | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list --description "List installed Node versions" |
|
| 9 | + | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list-remote --description "List available Node versions to install" |
|
| 10 | + | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments current --description "Print the currently-active Node version" |
|
| 11 | + | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from install" --arguments "( |
|
| 12 | + | test -e $nvm_data && string split ' ' <$nvm_data/.index |
|
| 13 | + | )" |
|
| 14 | + | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use" --arguments "(_nvm_list | string split ' ')" |
|
| 15 | + | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments uninstall --description "Uninstall the specified Node version" |
|
| 16 | + | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from uninstall" --arguments "( |
|
| 17 | + | _nvm_list | string split ' ' | string replace system '' |
|
| 18 | + | )" |
|
| 19 | + | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use uninstall" --arguments "( |
|
| 20 | + | set --query nvm_default_version && echo default |
|
| 21 | + | )" |
| 1 | + | # Aliases |
|
| 2 | + | ||
| 3 | + | abbr f zi |
|
| 4 | + | abbr nvimrc 'nvim ~/.config/nvim/init.lua' |
|
| 5 | + | abbr nf neofetch |
|
| 6 | + | abbr pwdc "pwd | tr -d '\n' | pbcopy" |
|
| 7 | + | abbr nvim-kickstart "set -gx NVIM_APPNAME nvim-kickstart" |
|
| 8 | + | abbr nvim-old "set -gx NVIM_APPNAME nvim" |
|
| 9 | + | abbr nvim-new "set -gx NVIM_APPNAME nvim-new" |
|
| 10 | + | # Colorize grep output (good for log files) |
|
| 11 | + | abbr grep 'grep --color=auto' |
|
| 12 | + | abbr egrep 'egrep --color=auto' |
|
| 13 | + | abbr fgrep 'fgrep --color=auto' |
|
| 14 | + | # confirm before overwriting something |
|
| 15 | + | abbr lnd "sudo arp-scan -l" |
|
| 16 | + | abbr rm trash |
| 1 | + | status is-interactive || exit |
|
| 2 | + | ||
| 3 | + | set --global autopair_left "(" "[" "{" '"' "'" |
|
| 4 | + | set --global autopair_right ")" "]" "}" '"' "'" |
|
| 5 | + | set --global autopair_pairs "()" "[]" "{}" '""' "''" |
|
| 6 | + | ||
| 7 | + | function _autopair_fish_key_bindings --on-variable fish_key_bindings |
|
| 8 | + | set --query fish_key_bindings[1] || return |
|
| 9 | + | ||
| 10 | + | test $fish_key_bindings = fish_default_key_bindings && |
|
| 11 | + | set --local mode default insert || |
|
| 12 | + | set --local mode insert default |
|
| 13 | + | ||
| 14 | + | bind --mode $mode[-1] --erase \177 \b \t |
|
| 15 | + | ||
| 16 | + | bind --mode $mode[1] \177 _autopair_backspace # macOS ⌫ |
|
| 17 | + | bind --mode $mode[1] \b _autopair_backspace |
|
| 18 | + | bind --mode $mode[1] \t _autopair_tab |
|
| 19 | + | ||
| 20 | + | printf "%s\n" $autopair_pairs | while read --local left right --delimiter "" |
|
| 21 | + | bind --mode $mode[-1] --erase $left $right |
|
| 22 | + | if test $left = $right |
|
| 23 | + | bind --mode $mode[1] $left "_autopair_insert_same \\$left" |
|
| 24 | + | else |
|
| 25 | + | bind --mode $mode[1] $left "_autopair_insert_left \\$left \\$right" |
|
| 26 | + | bind --mode $mode[1] $right "_autopair_insert_right \\$right" |
|
| 27 | + | end |
|
| 28 | + | end |
|
| 29 | + | end |
|
| 30 | + | ||
| 31 | + | _autopair_fish_key_bindings |
|
| 32 | + | ||
| 33 | + | function _autopair_uninstall --on-event autopair_uninstall |
|
| 34 | + | string collect ( |
|
| 35 | + | bind --all | string replace --filter --regex -- "_autopair.*" --erase |
|
| 36 | + | set --names | string replace --filter --regex -- "^autopair" "set --erase autopair" |
|
| 37 | + | ) | source |
|
| 38 | + | functions --erase (functions --all | string match "_autopair_*") |
|
| 39 | + | end |
| 1 | + | if test -n "$base16_fish_theme" && status --is-interactive |
|
| 2 | + | base16-$base16_fish_theme |
|
| 3 | + | end |
|
| 4 | + |
| 1 | + | # Exports |
|
| 2 | + | set -x MANPAGER 'nvim +Man!' |
|
| 3 | + | set -x BASE16_THEME_DEFAULT base16-black-metal-dark-funeral |
|
| 4 | + | set -x MANWIDTH 999 |
|
| 5 | + | set -x PATH "$HOME/.cargo/bin:$PATH" |
|
| 6 | + | set -x PATH "$HOME/.local/share/go/bin:$PATH" |
|
| 7 | + | set -x GOPATH "$HOME/.local/share/go" |
|
| 8 | + | set -x PATH "/opt/homebrew/opt/llvm/bin:$PATH" |
|
| 9 | + | set -x BAT_THEME ansi |
|
| 10 | + | # pnpm |
|
| 11 | + | set -x PNPM_HOME "$HOME/.local/share/pnpm" |
|
| 12 | + | set -x PATH "$PNPM_HOME:$PATH" |
|
| 13 | + | # pnpm end |
|
| 14 | + | set -x FZF_DEFAULT_OPTS "--height 40% --layout=reverse --inline-info --border" |
|
| 15 | + | set -x _ZO_DATA_DIR "$HOME/.local/share/zoxide" |
|
| 16 | + | ||
| 17 | + | # set -gx NVM_DIR (brew --prefix nvm) |
|
| 18 | + | # set -x PATH "/Users/stevedsimkins/solana"/bin:"$PATH" |
|
| 19 | + | # source $NVM_DIR/nvm.sh; and nvm use |
|
| 20 | + | # set -x PATH "/Users/stevedsimkins/.local/share/solana/install/active_release/bin:$PATH" |
|
| 21 | + | set -x BUN_INSTALL "$HOME/.bun" |
|
| 22 | + | set -x PATH "$BUN_INSTALL/bin:$PATH" |
|
| 23 | + | set -x PATH "/opt/homebrew/opt/curl/bin:$PATH" |
|
| 24 | + | set -x IPFS_GATEWAY "https://newonboardingflow.mypinata.cloud" |
|
| 25 | + | # ~/.tmux/plugins |
|
| 26 | + | set -x PATH $HOME/.tmux/plugins/t-smart-tmux-session-manager/bin:$PATH |
|
| 27 | + | # ~/.config/tmux/plugins |
|
| 28 | + | set -x PATH $HOME/.config/tmux/plugins/t-smart-tmux-session-manager/bin:$PATH |
| 1 | + | set --query nvm_mirror || set --global nvm_mirror https://nodejs.org/dist |
|
| 2 | + | set --query XDG_DATA_HOME || set --local XDG_DATA_HOME ~/.local/share |
|
| 3 | + | set --global nvm_data $XDG_DATA_HOME/nvm |
|
| 4 | + | ||
| 5 | + | function _nvm_install --on-event nvm_install |
|
| 6 | + | test ! -d $nvm_data && command mkdir -p $nvm_data |
|
| 7 | + | echo "Downloading the Node distribution index..." 2>/dev/null |
|
| 8 | + | _nvm_index_update |
|
| 9 | + | end |
|
| 10 | + | ||
| 11 | + | function _nvm_update --on-event nvm_update |
|
| 12 | + | set --query --universal nvm_data && set --erase --universal nvm_data |
|
| 13 | + | set --query --universal nvm_mirror && set --erase --universal nvm_mirror |
|
| 14 | + | set --query nvm_mirror || set --global nvm_mirror https://nodejs.org/dist |
|
| 15 | + | end |
|
| 16 | + | ||
| 17 | + | function _nvm_uninstall --on-event nvm_uninstall |
|
| 18 | + | command rm -rf $nvm_data |
|
| 19 | + | ||
| 20 | + | set --query nvm_current_version && _nvm_version_deactivate $nvm_current_version |
|
| 21 | + | ||
| 22 | + | set --names | string replace --filter --regex -- "^nvm" "set --erase nvm" | source |
|
| 23 | + | functions --erase (functions --all | string match --entire --regex -- "^_nvm_") |
|
| 24 | + | end |
|
| 25 | + | ||
| 26 | + | if status is-interactive && set --query nvm_default_version && ! set --query nvm_current_version |
|
| 27 | + | nvm use --silent $nvm_default_version |
|
| 28 | + | end |
| 1 | + | # Path to Oh My Fish install. |
|
| 2 | + | set -q XDG_DATA_HOME |
|
| 3 | + | and set -gx OMF_PATH "$XDG_DATA_HOME/omf" |
|
| 4 | + | or set -gx OMF_PATH "$HOME/.local/share/omf" |
|
| 5 | + | ||
| 6 | + | # Load Oh My Fish configuration. |
|
| 7 | + | source $OMF_PATH/init.fish |
| 1 | + | # Sponge version |
|
| 2 | + | set --global sponge_version 1.1.0 |
|
| 3 | + | ||
| 4 | + | # Allow to repeat previous command by default |
|
| 5 | + | if not set --query --universal sponge_delay |
|
| 6 | + | set --universal sponge_delay 2 |
|
| 7 | + | end |
|
| 8 | + | ||
| 9 | + | # Purge entries both after `sponge_delay` entries and on exit by default |
|
| 10 | + | if not set --query --universal sponge_purge_only_on_exit |
|
| 11 | + | set --universal sponge_purge_only_on_exit false |
|
| 12 | + | end |
|
| 13 | + | ||
| 14 | + | # Add default filters |
|
| 15 | + | if not set --query --universal sponge_filters |
|
| 16 | + | set --universal sponge_filters sponge_filter_failed sponge_filter_matched |
|
| 17 | + | end |
|
| 18 | + | ||
| 19 | + | # Don't filter out commands that already have been in the history by default |
|
| 20 | + | if not set --query --universal sponge_allow_previously_successful |
|
| 21 | + | set --universal sponge_allow_previously_successful true |
|
| 22 | + | end |
|
| 23 | + | ||
| 24 | + | # Consider `0` the only successful exit code by default |
|
| 25 | + | if not set --query --universal sponge_successful_exit_codes |
|
| 26 | + | set --universal sponge_successful_exit_codes 0 |
|
| 27 | + | end |
|
| 28 | + | ||
| 29 | + | # No active regex patterns by default |
|
| 30 | + | if not set --query --universal sponge_regex_patterns |
|
| 31 | + | set --universal sponge_regex_patterns |
|
| 32 | + | end |
|
| 33 | + | ||
| 34 | + | # Attach event handlers |
|
| 35 | + | functions --query \ |
|
| 36 | + | _sponge_on_prompt \ |
|
| 37 | + | _sponge_on_preexec \ |
|
| 38 | + | _sponge_on_postexec \ |
|
| 39 | + | _sponge_on_exit |
|
| 40 | + | ||
| 41 | + | # Initialize empty state for the first run |
|
| 42 | + | function _sponge_install --on-event sponge_install |
|
| 43 | + | set --global _sponge_current_command '' |
|
| 44 | + | set --global _sponge_current_command_exit_code 0 |
|
| 45 | + | set --global _sponge_current_command_previously_in_history false |
|
| 46 | + | end |
|
| 47 | + | ||
| 48 | + | # Clean up variables |
|
| 49 | + | function _sponge_uninstall --on-event sponge_uninstall |
|
| 50 | + | _sponge_clear_state |
|
| 51 | + | set --erase sponge_version |
|
| 52 | + | end |
| 1 | + | function theme |
|
| 2 | + | set currentTheme $BASE16_THEME |
|
| 3 | + | exa ~/.config/base16-shell/scripts/ \ |
|
| 4 | + | | sed 's/base16-//; s/\.sh$//' \ |
|
| 5 | + | | fzf \ |
|
| 6 | + | --query $currentTheme \ |
|
| 7 | + | --preview "bash ~/.config/base16-shell/colortest base16-{}.sh" \ |
|
| 8 | + | --border rounded \ |
|
| 9 | + | --pointer '>' \ |
|
| 10 | + | --prompt ' ' |
|
| 11 | + | ||
| 12 | + | end |
| 1 | + | eval "$(/opt/homebrew/bin/brew shellenv)" |
|
| 2 | + | set -U fish_greeting |
|
| 3 | + | set -U fish_key_bindings fish_vi_key_bindings |
|
| 4 | + | set -U fish_cursor_default |
|
| 5 | + | set -Ux EDITOR nvim |
|
| 6 | + | set -Ux fish_color_autosuggestion normal |
|
| 7 | + | # Base16 Shell |
|
| 8 | + | if status --is-interactive |
|
| 9 | + | set BASE16_SHELL_PATH "$HOME/.config/base16-shell" |
|
| 10 | + | set BASE16_SHELL "$HOME/.config/base16-shell" |
|
| 11 | + | if test -s "$BASE16_SHELL_PATH" |
|
| 12 | + | source "$BASE16_SHELL_PATH/profile_helper.fish" |
|
| 13 | + | end |
|
| 14 | + | end |
|
| 15 | + | zoxide init fish | source |
|
| 16 | + | starship init fish | source |
| 1 | + | jorgebucaran/fisher |
|
| 2 | + | meaningful-ooo/sponge |
|
| 3 | + | jorgebucaran/nvm.fish |
|
| 4 | + | rose-pine/fish |
|
| 5 | + | jorgebucaran/autopair.fish |
|
| 6 | + | fabioantunes/base16-fish-shell |
| 1 | + | # This file contains fish universal variable definitions. |
|
| 2 | + | # VERSION: 3.0 |
|
| 3 | + | SETUVAR --export EDITOR:nvim |
|
| 4 | + | SETUVAR --export FZF_DEFAULT_OPTS:\x2d\x2dheight\x2040\x25\x20\x2d\x2dlayout\x3dreverse\x20\x2d\x2dinline\x2dinfo\x20\x2d\x2dborder |
|
| 5 | + | SETUVAR __fish_initialized:3400 |
|
| 6 | + | SETUVAR _fisher_fabioantunes_2F_base16_2D_fish_2D_shell_files:\x7e/\x2econfig/fish/functions/__base16_fish_shell_color_test\x2efish\x1e\x7e/\x2econfig/fish/functions/__base16_fish_shell_create_vimrc_background\x2efish\x1e\x7e/\x2econfig/fish/functions/__base16_fish_shell_set_background\x2efish\x1e\x7e/\x2econfig/fish/functions/__put_template\x2efish\x1e\x7e/\x2econfig/fish/functions/__put_template_custom\x2efish\x1e\x7e/\x2econfig/fish/functions/__put_template_var\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2d3024\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dapathy\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dapprentice\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dashes\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dcave\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dcave\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2ddune\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2ddune\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2destuary\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2destuary\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dforest\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dforest\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dheath\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dheath\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dlakeside\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dlakeside\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dplateau\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dplateau\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dsavanna\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dsavanna\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dseaside\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dseaside\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dsulphurpool\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dsulphurpool\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datlas\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbespin\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dbathory\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dburzum\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2ddark\x2dfuneral\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dgorgoroth\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dimmortal\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dkhold\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dmarduk\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dmayhem\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dnile\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dvenom\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbrewer\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbright\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbrogrammer\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbrushtrees\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbrushtrees\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dchalk\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dcircus\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dclassic\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dclassic\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dcodeschool\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dcolors\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dcupcake\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dcupertino\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddanqing\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddarcula\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddarkmoss\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddarktooth\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddarkviolet\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddecaf\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddefault\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddefault\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddirtysea\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddracula\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dedge\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dedge\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2deighties\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dembers\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dequilibrium\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dequilibrium\x2dgray\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dequilibrium\x2dgray\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dequilibrium\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2despresso\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2deva\x2ddim\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2deva\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dflat\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dframer\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dfruit\x2dsoda\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgigavolt\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgithub\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgoogle\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgoogle\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgrayscale\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgrayscale\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgreenscreen\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2ddark\x2dhard\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2ddark\x2dmedium\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2ddark\x2dpale\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2ddark\x2dsoft\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2dlight\x2dhard\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2dlight\x2dmedium\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2dlight\x2dsoft\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhardcore\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dharmonic\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dharmonic\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dheetch\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dheetch\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhelios\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhopscotch\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhorizon\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhorizon\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhorizon\x2dterminal\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhorizon\x2dterminal\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhumanoid\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhumanoid\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dia\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dia\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dicy\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dirblack\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2disotope\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dkimber\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmacintosh\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmarrakesh\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmateria\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmaterial\x2ddarker\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmaterial\x2dlighter\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmaterial\x2dpalenight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmaterial\x2dvivid\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmaterial\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmellow\x2dpurple\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmexico\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmocha\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmonokai\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dnebula\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dnord\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dnova\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2docean\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2doceanicnext\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2done\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2donedark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2doutrun\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpapercolor\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpapercolor\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dparaiso\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpasque\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dphd\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpico\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpinky\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpop\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dporple\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dqualia\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2drailscasts\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2drebecca\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2drose\x2dpine\x2ddawn\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2drose\x2dpine\x2dmoon\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2drose\x2dpine\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsagelight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsakura\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsandcastle\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dseti\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dshades\x2dof\x2dpurple\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dshapeshifter\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsilk\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsilk\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsnazzy\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsolarflare\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsolarflare\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsolarized\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsolarized\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dspacemacs\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsummercamp\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsummerfruit\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsummerfruit\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsynth\x2dmidnight\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsynth\x2dmidnight\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtango\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtender\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtomorrow\x2dnight\x2deighties\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtomorrow\x2dnight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtomorrow\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtube\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtwilight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dunikitty\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dunikitty\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dvulcan\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2d10\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2d10\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2d95\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2d95\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2dhighcontrast\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2dhighcontrast\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2dnt\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2dnt\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwoodland\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dxcode\x2ddusk\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dzenburn\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/base16\x2efish |
|
| 7 | + | SETUVAR _fisher_jorgebucaran_2F_autopair_2E_fish_files:\x7e/\x2econfig/fish/functions/_autopair_backspace\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_insert_left\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_insert_right\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_insert_same\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_tab\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/autopair\x2efish |
|
| 8 | + | SETUVAR _fisher_jorgebucaran_2F_fisher_files:\x7e/\x2econfig/fish/functions/fisher\x2efish\x1e\x7e/\x2econfig/fish/completions/fisher\x2efish |
|
| 9 | + | SETUVAR _fisher_jorgebucaran_2F_nvm_2E_fish_files:\x7e/\x2econfig/fish/functions/_nvm_index_update\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_list\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_activate\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_deactivate\x2efish\x1e\x7e/\x2econfig/fish/functions/nvm\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/nvm\x2efish\x1e\x7e/\x2econfig/fish/completions/nvm\x2efish |
|
| 10 | + | SETUVAR _fisher_meaningful_2D_ooo_2F_sponge_files:\x7e/\x2econfig/fish/functions/_sponge_clear_state\x2efish\x1e\x7e/\x2econfig/fish/functions/_sponge_on_exit\x2efish\x1e\x7e/\x2econfig/fish/functions/_sponge_on_postexec\x2efish\x1e\x7e/\x2econfig/fish/functions/_sponge_on_preexec\x2efish\x1e\x7e/\x2econfig/fish/functions/_sponge_on_prompt\x2efish\x1e\x7e/\x2econfig/fish/functions/_sponge_remove_from_history\x2efish\x1e\x7e/\x2econfig/fish/functions/sponge_filter_failed\x2efish\x1e\x7e/\x2econfig/fish/functions/sponge_filter_matched\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/sponge\x2efish |
|
| 11 | + | SETUVAR _fisher_plugins:jorgebucaran/fisher\x1emeaningful\x2dooo/sponge\x1ejorgebucaran/nvm\x2efish\x1erose\x2dpine/fish\x1ejorgebucaran/autopair\x2efish\x1efabioantunes/base16\x2dfish\x2dshell |
|
| 12 | + | SETUVAR _fisher_rose_2D_pine_2F_fish_files:\x7e/\x2econfig/fish/themes/Ros\u00e9\x20Pine\x20Dawn\x2etheme\x1e\x7e/\x2econfig/fish/themes/Ros\u00e9\x20Pine\x20Moon\x2etheme\x1e\x7e/\x2econfig/fish/themes/Ros\u00e9\x20Pine\x2etheme |
|
| 13 | + | SETUVAR _fisher_upgraded_to_4_4:\x1d |
|
| 14 | + | SETUVAR --export fish_color_autosuggestion:normal |
|
| 15 | + | SETUVAR fish_color_cancel:\x2dr |
|
| 16 | + | SETUVAR fish_color_command:blue |
|
| 17 | + | SETUVAR fish_color_comment:red |
|
| 18 | + | SETUVAR fish_color_cwd:green |
|
| 19 | + | SETUVAR fish_color_cwd_root:red |
|
| 20 | + | SETUVAR fish_color_end:green |
|
| 21 | + | SETUVAR fish_color_error:brred |
|
| 22 | + | SETUVAR fish_color_escape:brcyan |
|
| 23 | + | SETUVAR fish_color_history_current:\x2d\x2dbold |
|
| 24 | + | SETUVAR fish_color_host:normal |
|
| 25 | + | SETUVAR fish_color_host_remote:yellow |
|
| 26 | + | SETUVAR fish_color_normal:normal |
|
| 27 | + | SETUVAR fish_color_operator:brcyan |
|
| 28 | + | SETUVAR fish_color_param:cyan |
|
| 29 | + | SETUVAR fish_color_quote:yellow |
|
| 30 | + | SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold |
|
| 31 | + | SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack |
|
| 32 | + | SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack |
|
| 33 | + | SETUVAR fish_color_status:red |
|
| 34 | + | SETUVAR fish_color_user:brgreen |
|
| 35 | + | SETUVAR fish_color_valid_path:\x2d\x2dunderline |
|
| 36 | + | SETUVAR fish_cursor_default:\x1d |
|
| 37 | + | SETUVAR fish_cursor_external:yes |
|
| 38 | + | SETUVAR fish_greeting:\x1d |
|
| 39 | + | SETUVAR fish_key_bindings:fish_vi_key_bindings |
|
| 40 | + | SETUVAR fish_pager_color_completion:normal |
|
| 41 | + | SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di |
|
| 42 | + | SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline |
|
| 43 | + | SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan |
|
| 44 | + | SETUVAR fish_pager_color_selected_background:\x2dr |
|
| 45 | + | SETUVAR sponge_allow_previously_successful:true |
|
| 46 | + | SETUVAR sponge_delay:2 |
|
| 47 | + | SETUVAR sponge_filters:sponge_filter_failed\x1esponge_filter_matched |
|
| 48 | + | SETUVAR sponge_purge_only_on_exit:false |
|
| 49 | + | SETUVAR sponge_regex_patterns:\x1d |
|
| 50 | + | SETUVAR sponge_successful_exit_codes:0 |
| 1 | + | function __base16_fish_shell_color_test -d "Util function that generates colour output" |
|
| 2 | + | set ansi_mappings Black Red Green Yellow Blue Magenta Cyan White "Bright Black" "Bright Red" "Bright Green" "Bright Yellow" "Bright Blue" "Bright Magenta" "Bright Cyan" "Bright White" |
|
| 3 | + | set colors base00 base08 base0B base0A base0D base0E base0C base05 base03 base08 base0B base0A base0D base0E base0C base07 base09 base0F base01 base02 base04 base06 |
|
| 4 | + | set non_padded_values (seq 0 21) |
|
| 5 | + | set padded_seq_values (seq -w 0 21) |
|
| 6 | + | set base16_colors_hex $argv |
|
| 7 | + | ||
| 8 | + | for base16_color_hex in $base16_colors_hex |
|
| 9 | + | set -l index (contains -i -- $base16_color_hex $base16_colors_hex) |
|
| 10 | + | set -l base16_color $padded_seq_values[$index] |
|
| 11 | + | set -q ansi_mappings[$index]; or set ansi_mappings[$index] "" |
|
| 12 | + | set current_color (string replace -a / "" $base16_color) |
|
| 13 | + | ||
| 14 | + | set block (printf "\x1b[48;5;""$non_padded_values[$index]"m___________________________) |
|
| 15 | + | set foreground (printf "\x1b[38;5;""$non_padded_values[$index]"m"color$base16_color") |
|
| 16 | + | printf "%s %s %s #%s %-23s %s\x1b[0m\n" $foreground $colors[$index] $current_color $base16_color_hex $ansi_mappings[$index] $block |
|
| 17 | + | end |
|
| 18 | + | end |
| 1 | + | function __base16_fish_shell_create_vimrc_background -d "base16-fish-shell private function to generate vimrc background" |
|
| 2 | + | echo -e "if !exists('g:colors_name') || g:colors_name != '$argv[1]'\n colorscheme base16-$argv[1]\n set background=$base16_fish_shell_background\nendif" > ~/.vimrc_background |
|
| 3 | + | end |
| 1 | + | function __base16_fish_shell_set_background -d "base16-fish-shell private function to check if theme is dark or light" |
|
| 2 | + | set red $argv[1] |
|
| 3 | + | set green $argv[2] |
|
| 4 | + | set blue $argv[3] |
|
| 5 | + | ||
| 6 | + | set luma (math 0.2126 \* 0x$red + 0.7152 \* 0x$green + 0.0722 \* 0x$blue) |
|
| 7 | + | ||
| 8 | + | # luma value range goes from 0 to 255 |
|
| 9 | + | # where 0 is darkest and 255 lightest |
|
| 10 | + | if test $luma -lt 128 |
|
| 11 | + | set -gx base16_fish_shell_background dark |
|
| 12 | + | else |
|
| 13 | + | set -gx base16_fish_shell_background light |
|
| 14 | + | end |
|
| 15 | + | end |
| 1 | + | function __put_template -d "base16-fish-shell private function" |
|
| 2 | + | if test -n "$TMUX" |
|
| 3 | + | printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\\\033\\' $argv |
|
| 4 | + | else if string match -q -- '*screen*' $TERM |
|
| 5 | + | printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv |
|
| 6 | + | else if string match -q -- 'linux*' $TERM |
|
| 7 | + | test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g') |
|
| 8 | + | else |
|
| 9 | + | printf '\033]4;%d;rgb:%s\033\\' $argv |
|
| 10 | + | end |
|
| 11 | + | end |
| 1 | + | function __put_template_custom |
|
| 2 | + | if test -n "$TMUX" |
|
| 3 | + | printf '\033Ptmux;\033\033]%s%s\033\033\\\\\033\\' $argv |
|
| 4 | + | else if string match -q -- 'screen*' $TERM |
|
| 5 | + | printf '\033P\033]%s%s\007\033\\' $argv |
|
| 6 | + | else if string match -q -- 'linux*' $TERM |
|
| 7 | + | true |
|
| 8 | + | else |
|
| 9 | + | printf '\033]%s%s\033\\' $argv |
|
| 10 | + | end |
|
| 11 | + | end |
| 1 | + | function __put_template_var -d "base16-fish-shell private function" |
|
| 2 | + | if test -n "$TMUX" |
|
| 3 | + | printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\\\033\\' $argv |
|
| 4 | + | else if string match -q -- 'screen*' $TERM |
|
| 5 | + | printf '\033P\033]%d;rgb:%s\007\033\\' $argv |
|
| 6 | + | else if string match -q -- 'linux*' $TERM |
|
| 7 | + | true |
|
| 8 | + | else |
|
| 9 | + | printf '\033]%d;rgb:%s\033\\' $argv |
|
| 10 | + | end |
|
| 11 | + | end |
| 1 | + | function _autopair_backspace |
|
| 2 | + | set --local index (commandline --cursor) |
|
| 3 | + | set --local buffer (commandline) |
|
| 4 | + | ||
| 5 | + | test $index -ge 1 && |
|
| 6 | + | contains -- (string sub --start=$index --length=2 -- "$buffer") $autopair_pairs && |
|
| 7 | + | commandline --function delete-char |
|
| 8 | + | commandline --function backward-delete-char |
|
| 9 | + | end |
| 1 | + | function _autopair_insert_left --argument-names left right |
|
| 2 | + | set --local buffer (commandline) |
|
| 3 | + | set --local before (commandline --cut-at-cursor) |
|
| 4 | + | ||
| 5 | + | commandline --insert -- $left |
|
| 6 | + | ||
| 7 | + | switch "$buffer" |
|
| 8 | + | case "$before"{," "\*,$autopair_right\*} |
|
| 9 | + | set --local index (commandline --cursor) |
|
| 10 | + | commandline --insert -- $right |
|
| 11 | + | commandline --cursor $index |
|
| 12 | + | end |
|
| 13 | + | end |
| 1 | + | function _autopair_insert_right --argument-names key |
|
| 2 | + | set --local buffer (commandline) |
|
| 3 | + | set --local before (commandline --cut-at-cursor) |
|
| 4 | + | ||
| 5 | + | switch "$buffer" |
|
| 6 | + | case "$before$key"\* |
|
| 7 | + | commandline --cursor (math (commandline --cursor) + 1) |
|
| 8 | + | case \* |
|
| 9 | + | commandline --insert -- $key |
|
| 10 | + | end |
|
| 11 | + | end |
| 1 | + | function _autopair_insert_same --argument-names key |
|
| 2 | + | set --local buffer (commandline) |
|
| 3 | + | set --local index (commandline --cursor) |
|
| 4 | + | set --local next (string sub --start=(math $index + 1) --length=1 -- "$buffer") |
|
| 5 | + | ||
| 6 | + | if test (math (count (string match --all --regex -- "$key" "$buffer")) % 2) = 0 |
|
| 7 | + | test $key = $next && commandline --cursor (math $index + 1) && return |
|
| 8 | + | ||
| 9 | + | commandline --insert -- $key |
|
| 10 | + | ||
| 11 | + | if test $index -lt 1 || |
|
| 12 | + | contains -- (string sub --start=$index --length=1 -- "$buffer") "" " " $autopair_left && |
|
| 13 | + | contains -- $next "" " " $autopair_right |
|
| 14 | + | commandline --insert -- $key |
|
| 15 | + | commandline --cursor (math $index + 1) |
|
| 16 | + | end |
|
| 17 | + | else |
|
| 18 | + | commandline --insert -- $key |
|
| 19 | + | end |
|
| 20 | + | end |
| 1 | + | function _autopair_tab |
|
| 2 | + | commandline --paging-mode && down-or-search && return |
|
| 3 | + | ||
| 4 | + | string match --quiet --regex -- '\$[^\s]*"$' (commandline --current-token) && |
|
| 5 | + | commandline --function end-of-line --function backward-delete-char |
|
| 6 | + | commandline --function complete |
|
| 7 | + | end |
| 1 | + | function _nvm_index_update |
|
| 2 | + | test ! -d $nvm_data && command mkdir -p $nvm_data |
|
| 3 | + | ||
| 4 | + | set --local index $nvm_data/.index |
|
| 5 | + | ||
| 6 | + | if not command curl --location --silent $nvm_mirror/index.tab >$index.temp |
|
| 7 | + | command rm -f $index.temp |
|
| 8 | + | echo "nvm: Can't update index, host unavailable: \"$nvm_mirror\"" >&2 |
|
| 9 | + | return 1 |
|
| 10 | + | end |
|
| 11 | + | ||
| 12 | + | command awk -v OFS=\t ' |
|
| 13 | + | /v0.9.12/ { exit } # Unsupported |
|
| 14 | + | NR > 1 { |
|
| 15 | + | print $1 (NR == 2 ? " latest" : $10 != "-" ? " lts/" tolower($10) : "") |
|
| 16 | + | } |
|
| 17 | + | ' $index.temp >$index |
|
| 18 | + | ||
| 19 | + | command rm -f $index.temp |
|
| 20 | + | end |
| 1 | + | function _nvm_list |
|
| 2 | + | set --local versions $nvm_data/* |
|
| 3 | + | set --query versions[1] && |
|
| 4 | + | string match --entire --regex -- (string match --regex -- "v\d.+" $versions | |
|
| 5 | + | string escape --style=regex | |
|
| 6 | + | string join "|" |
|
| 7 | + | ) <$nvm_data/.index |
|
| 8 | + | ||
| 9 | + | command --all node | |
|
| 10 | + | string match --quiet --invert --regex -- "^$nvm_data" && echo system |
|
| 11 | + | end |
| 1 | + | function _nvm_version_activate --argument-names ver |
|
| 2 | + | set --global --export nvm_current_version $ver |
|
| 3 | + | set --prepend PATH $nvm_data/$ver/bin |
|
| 4 | + | end |
| 1 | + | function _nvm_version_deactivate --argument-names ver |
|
| 2 | + | test "$nvm_current_version" = "$ver" && set --erase nvm_current_version |
|
| 3 | + | set --local index (contains --index -- $nvm_data/$ver/bin $PATH) && |
|
| 4 | + | set --erase PATH[$index] |
|
| 5 | + | end |
| 1 | + | function _sponge_clear_state |
|
| 2 | + | set --erase --global _sponge_current_command |
|
| 3 | + | set --erase --global _sponge_current_command_exit_code |
|
| 4 | + | set --erase --global _sponge_current_command_previously_in_history |
|
| 5 | + | end |
| 1 | + | function _sponge_on_exit --on-event fish_exit |
|
| 2 | + | sponge_delay=0 _sponge_remove_from_history |
|
| 3 | + | end |
| 1 | + | function _sponge_on_postexec --on-event fish_postexec |
|
| 2 | + | set --global _sponge_current_command_exit_code $status |
|
| 3 | + | ||
| 4 | + | # Remove command from the queue if it's been added previously |
|
| 5 | + | if set --local index (contains --index -- $_sponge_current_command $_sponge_queue) |
|
| 6 | + | set --erase _sponge_queue[$index] |
|
| 7 | + | end |
|
| 8 | + | ||
| 9 | + | # Ignore empty commands |
|
| 10 | + | if test -n $_sponge_current_command |
|
| 11 | + | set --local command '' |
|
| 12 | + | # Run filters |
|
| 13 | + | for filter in $sponge_filters |
|
| 14 | + | if $filter \ |
|
| 15 | + | $_sponge_current_command \ |
|
| 16 | + | $_sponge_current_command_exit_code \ |
|
| 17 | + | $_sponge_current_command_previously_in_history |
|
| 18 | + | set command $_sponge_current_command |
|
| 19 | + | break |
|
| 20 | + | end |
|
| 21 | + | end |
|
| 22 | + | set --prepend --global _sponge_queue $command |
|
| 23 | + | end |
|
| 24 | + | end |
| 1 | + | function _sponge_on_preexec --on-event fish_preexec \ |
|
| 2 | + | --argument-names command |
|
| 3 | + | _sponge_clear_state |
|
| 4 | + | ||
| 5 | + | set --global _sponge_current_command $command |
|
| 6 | + | ||
| 7 | + | builtin history search --case-sensitive --exact --max=1 --null $command \ |
|
| 8 | + | | read --local --null found_entries |
|
| 9 | + | ||
| 10 | + | # If a command is in the history and in the queue, ignore it, like if it wasn’t in the history |
|
| 11 | + | if test (count $found_entries) -ne 0; and not contains $command $_sponge_queue |
|
| 12 | + | set --global _sponge_current_command_previously_in_history true |
|
| 13 | + | else |
|
| 14 | + | set --global _sponge_current_command_previously_in_history false |
|
| 15 | + | end |
|
| 16 | + | end |
| 1 | + | function _sponge_on_prompt --on-event fish_prompt |
|
| 2 | + | if test $sponge_purge_only_on_exit = false |
|
| 3 | + | _sponge_remove_from_history |
|
| 4 | + | end |
|
| 5 | + | end |
| 1 | + | function _sponge_remove_from_history |
|
| 2 | + | ||
| 3 | + | while test (count $_sponge_queue) -gt $sponge_delay |
|
| 4 | + | builtin history delete --case-sensitive --exact -- $_sponge_queue[-1] |
|
| 5 | + | set --erase _sponge_queue[-1] |
|
| 6 | + | end |
|
| 7 | + | ||
| 8 | + | builtin history save |
|
| 9 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # 3024 scheme by Jan T. Sott (http://github.com/idleberg) |
|
| 4 | + | ||
| 5 | + | function base16-3024 -d "base16 3024 theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "09/03/00" # Base 00 - Black |
|
| 11 | + | set color01 "db/2d/20" # Base 08 - Red |
|
| 12 | + | set color02 "01/a2/52" # Base 0B - Green |
|
| 13 | + | set color03 "fd/ed/02" # Base 0A - Yellow |
|
| 14 | + | set color04 "01/a0/e4" # Base 0D - Blue |
|
| 15 | + | set color05 "a1/6a/94" # Base 0E - Magenta |
|
| 16 | + | set color06 "b5/e4/f4" # Base 0C - Cyan |
|
| 17 | + | set color07 "a5/a2/a2" # Base 05 - White |
|
| 18 | + | set color08 "5c/58/55" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f7/f7/f7" # Base 07 - Bright White |
|
| 26 | + | set color16 "e8/bb/d0" # Base 09 |
|
| 27 | + | set color17 "cd/ab/53" # Base 0F |
|
| 28 | + | set color18 "3a/34/32" # Base 01 |
|
| 29 | + | set color19 "4a/45/43" # Base 02 |
|
| 30 | + | set color20 "80/7d/7c" # Base 04 |
|
| 31 | + | set color21 "d6/d5/d4" # Base 06 |
|
| 32 | + | set color_foreground "a5/a2/a2" # Base 05 |
|
| 33 | + | set color_background "09/03/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a5a2a2 # foreground |
|
| 65 | + | __put_template_custom Ph 090300 # background |
|
| 66 | + | __put_template_custom Pi a5a2a2 # bold color |
|
| 67 | + | __put_template_custom Pj 4a4543 # selection color |
|
| 68 | + | __put_template_custom Pk a5a2a2 # selected text color |
|
| 69 | + | __put_template_custom Pl a5a2a2 # cursor |
|
| 70 | + | __put_template_custom Pm 090300 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "01a0e4" blue |
|
| 86 | + | set -gx fish_color_quote "01a252" green |
|
| 87 | + | set -gx fish_color_redirection "fded02" yellow |
|
| 88 | + | set -gx fish_color_end "b5e4f4" cyan |
|
| 89 | + | set -gx fish_color_error "db2d20" red |
|
| 90 | + | set -gx fish_color_param "d6d5d4" cyan |
|
| 91 | + | set -gx fish_color_comment "5c5855" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a5a2a2" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fded02" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "b5e4f4" cyan |
|
| 97 | + | set -gx fish_color_escape "b5e4f4" cyan |
|
| 98 | + | set -gx fish_color_cwd "01a252" green |
|
| 99 | + | set -gx fish_color_cwd_root "db2d20" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "5c5855" brblack |
|
| 102 | + | set -gx fish_color_user "01a252" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fded02" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a5a2a2" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f7f7f7" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "09" "03" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background 3024 |
|
| 113 | + | set -U base16_fish_theme 3024 |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Apathy scheme by Jannik Siebert (https://github.com/janniks) |
|
| 4 | + | ||
| 5 | + | function base16-apathy -d "base16 Apathy theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "03/1a/16" # Base 00 - Black |
|
| 11 | + | set color01 "3e/96/88" # Base 08 - Red |
|
| 12 | + | set color02 "88/3e/96" # Base 0B - Green |
|
| 13 | + | set color03 "3e/4c/96" # Base 0A - Yellow |
|
| 14 | + | set color04 "96/88/3e" # Base 0D - Blue |
|
| 15 | + | set color05 "4c/96/3e" # Base 0E - Magenta |
|
| 16 | + | set color06 "96/3e/4c" # Base 0C - Cyan |
|
| 17 | + | set color07 "81/b5/ac" # Base 05 - White |
|
| 18 | + | set color08 "2b/68/5e" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "d2/e7/e4" # Base 07 - Bright White |
|
| 26 | + | set color16 "3e/79/96" # Base 09 |
|
| 27 | + | set color17 "3e/96/5b" # Base 0F |
|
| 28 | + | set color18 "0b/34/2d" # Base 01 |
|
| 29 | + | set color19 "18/4e/45" # Base 02 |
|
| 30 | + | set color20 "5f/9c/92" # Base 04 |
|
| 31 | + | set color21 "a7/ce/c8" # Base 06 |
|
| 32 | + | set color_foreground "81/b5/ac" # Base 05 |
|
| 33 | + | set color_background "03/1a/16" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 81b5ac # foreground |
|
| 65 | + | __put_template_custom Ph 031a16 # background |
|
| 66 | + | __put_template_custom Pi 81b5ac # bold color |
|
| 67 | + | __put_template_custom Pj 184e45 # selection color |
|
| 68 | + | __put_template_custom Pk 81b5ac # selected text color |
|
| 69 | + | __put_template_custom Pl 81b5ac # cursor |
|
| 70 | + | __put_template_custom Pm 031a16 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "96883e" blue |
|
| 86 | + | set -gx fish_color_quote "883e96" green |
|
| 87 | + | set -gx fish_color_redirection "3e4c96" yellow |
|
| 88 | + | set -gx fish_color_end "963e4c" cyan |
|
| 89 | + | set -gx fish_color_error "3e9688" red |
|
| 90 | + | set -gx fish_color_param "a7cec8" cyan |
|
| 91 | + | set -gx fish_color_comment "2b685e" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "81b5ac" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "3e4c96" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "963e4c" cyan |
|
| 97 | + | set -gx fish_color_escape "963e4c" cyan |
|
| 98 | + | set -gx fish_color_cwd "883e96" green |
|
| 99 | + | set -gx fish_color_cwd_root "3e9688" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "2b685e" brblack |
|
| 102 | + | set -gx fish_color_user "883e96" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "3e4c96" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "81b5ac" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "d2e7e4" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "03" "1a" "16" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background apathy |
|
| 113 | + | set -U base16_fish_theme apathy |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Apprentice scheme by romainl |
|
| 4 | + | ||
| 5 | + | function base16-apprentice -d "base16 Apprentice theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "26/26/26" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "87/af/87" # Base 0B - Green |
|
| 13 | + | set color03 "5f/87/87" # Base 0A - Yellow |
|
| 14 | + | set color04 "ff/ff/af" # Base 0D - Blue |
|
| 15 | + | set color05 "87/af/d7" # Base 0E - Magenta |
|
| 16 | + | set color06 "5f/87/5f" # Base 0C - Cyan |
|
| 17 | + | set color07 "bc/bc/bc" # Base 05 - White |
|
| 18 | + | set color08 "6c/6c/6c" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/87/00" # Base 09 |
|
| 27 | + | set color17 "5f/87/af" # Base 0F |
|
| 28 | + | set color18 "30/30/30" # Base 01 |
|
| 29 | + | set color19 "33/33/33" # Base 02 |
|
| 30 | + | set color20 "78/78/78" # Base 04 |
|
| 31 | + | set color21 "c9/c9/c9" # Base 06 |
|
| 32 | + | set color_foreground "bc/bc/bc" # Base 05 |
|
| 33 | + | set color_background "26/26/26" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg bcbcbc # foreground |
|
| 65 | + | __put_template_custom Ph 262626 # background |
|
| 66 | + | __put_template_custom Pi bcbcbc # bold color |
|
| 67 | + | __put_template_custom Pj 333333 # selection color |
|
| 68 | + | __put_template_custom Pk bcbcbc # selected text color |
|
| 69 | + | __put_template_custom Pl bcbcbc # cursor |
|
| 70 | + | __put_template_custom Pm 262626 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "ffffaf" blue |
|
| 86 | + | set -gx fish_color_quote "87af87" green |
|
| 87 | + | set -gx fish_color_redirection "5f8787" yellow |
|
| 88 | + | set -gx fish_color_end "5f875f" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "c9c9c9" cyan |
|
| 91 | + | set -gx fish_color_comment "6c6c6c" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "bcbcbc" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "5f8787" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "5f875f" cyan |
|
| 97 | + | set -gx fish_color_escape "5f875f" cyan |
|
| 98 | + | set -gx fish_color_cwd "87af87" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "6c6c6c" brblack |
|
| 102 | + | set -gx fish_color_user "87af87" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "5f8787" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "bcbcbc" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "26" "26" "26" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background apprentice |
|
| 113 | + | set -U base16_fish_theme apprentice |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Ashes scheme by Jannik Siebert (https://github.com/janniks) |
|
| 4 | + | ||
| 5 | + | function base16-ashes -d "base16 Ashes theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1c/20/23" # Base 00 - Black |
|
| 11 | + | set color01 "c7/ae/95" # Base 08 - Red |
|
| 12 | + | set color02 "95/c7/ae" # Base 0B - Green |
|
| 13 | + | set color03 "ae/c7/95" # Base 0A - Yellow |
|
| 14 | + | set color04 "ae/95/c7" # Base 0D - Blue |
|
| 15 | + | set color05 "c7/95/ae" # Base 0E - Magenta |
|
| 16 | + | set color06 "95/ae/c7" # Base 0C - Cyan |
|
| 17 | + | set color07 "c7/cc/d1" # Base 05 - White |
|
| 18 | + | set color08 "74/7c/84" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f3/f4/f5" # Base 07 - Bright White |
|
| 26 | + | set color16 "c7/c7/95" # Base 09 |
|
| 27 | + | set color17 "c7/95/95" # Base 0F |
|
| 28 | + | set color18 "39/3f/45" # Base 01 |
|
| 29 | + | set color19 "56/5e/65" # Base 02 |
|
| 30 | + | set color20 "ad/b3/ba" # Base 04 |
|
| 31 | + | set color21 "df/e2/e5" # Base 06 |
|
| 32 | + | set color_foreground "c7/cc/d1" # Base 05 |
|
| 33 | + | set color_background "1c/20/23" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c7ccd1 # foreground |
|
| 65 | + | __put_template_custom Ph 1c2023 # background |
|
| 66 | + | __put_template_custom Pi c7ccd1 # bold color |
|
| 67 | + | __put_template_custom Pj 565e65 # selection color |
|
| 68 | + | __put_template_custom Pk c7ccd1 # selected text color |
|
| 69 | + | __put_template_custom Pl c7ccd1 # cursor |
|
| 70 | + | __put_template_custom Pm 1c2023 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "ae95c7" blue |
|
| 86 | + | set -gx fish_color_quote "95c7ae" green |
|
| 87 | + | set -gx fish_color_redirection "aec795" yellow |
|
| 88 | + | set -gx fish_color_end "95aec7" cyan |
|
| 89 | + | set -gx fish_color_error "c7ae95" red |
|
| 90 | + | set -gx fish_color_param "dfe2e5" cyan |
|
| 91 | + | set -gx fish_color_comment "747c84" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c7ccd1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "aec795" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "95aec7" cyan |
|
| 97 | + | set -gx fish_color_escape "95aec7" cyan |
|
| 98 | + | set -gx fish_color_cwd "95c7ae" green |
|
| 99 | + | set -gx fish_color_cwd_root "c7ae95" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "747c84" brblack |
|
| 102 | + | set -gx fish_color_user "95c7ae" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "aec795" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c7ccd1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f3f4f5" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1c" "20" "23" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background ashes |
|
| 113 | + | set -U base16_fish_theme ashes |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Cave Light scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-cave-light -d "base16 Atelier Cave Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "ef/ec/f4" # Base 00 - Black |
|
| 11 | + | set color01 "be/46/78" # Base 08 - Red |
|
| 12 | + | set color02 "2a/92/92" # Base 0B - Green |
|
| 13 | + | set color03 "a0/6e/3b" # Base 0A - Yellow |
|
| 14 | + | set color04 "57/6d/db" # Base 0D - Blue |
|
| 15 | + | set color05 "95/5a/e7" # Base 0E - Magenta |
|
| 16 | + | set color06 "39/8b/c6" # Base 0C - Cyan |
|
| 17 | + | set color07 "58/52/60" # Base 05 - White |
|
| 18 | + | set color08 "7e/78/87" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "19/17/1c" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/57/3c" # Base 09 |
|
| 27 | + | set color17 "bf/40/bf" # Base 0F |
|
| 28 | + | set color18 "e2/df/e7" # Base 01 |
|
| 29 | + | set color19 "8b/87/92" # Base 02 |
|
| 30 | + | set color20 "65/5f/6d" # Base 04 |
|
| 31 | + | set color21 "26/23/2a" # Base 06 |
|
| 32 | + | set color_foreground "58/52/60" # Base 05 |
|
| 33 | + | set color_background "ef/ec/f4" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 585260 # foreground |
|
| 65 | + | __put_template_custom Ph efecf4 # background |
|
| 66 | + | __put_template_custom Pi 585260 # bold color |
|
| 67 | + | __put_template_custom Pj 8b8792 # selection color |
|
| 68 | + | __put_template_custom Pk 585260 # selected text color |
|
| 69 | + | __put_template_custom Pl 585260 # cursor |
|
| 70 | + | __put_template_custom Pm efecf4 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "576ddb" blue |
|
| 86 | + | set -gx fish_color_quote "2a9292" green |
|
| 87 | + | set -gx fish_color_redirection "a06e3b" yellow |
|
| 88 | + | set -gx fish_color_end "398bc6" cyan |
|
| 89 | + | set -gx fish_color_error "be4678" red |
|
| 90 | + | set -gx fish_color_param "26232a" cyan |
|
| 91 | + | set -gx fish_color_comment "7e7887" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "585260" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a06e3b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "398bc6" cyan |
|
| 97 | + | set -gx fish_color_escape "398bc6" cyan |
|
| 98 | + | set -gx fish_color_cwd "2a9292" green |
|
| 99 | + | set -gx fish_color_cwd_root "be4678" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "7e7887" brblack |
|
| 102 | + | set -gx fish_color_user "2a9292" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a06e3b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "585260" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "19171c" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "ef" "ec" "f4" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-cave-light |
|
| 113 | + | set -U base16_fish_theme atelier-cave-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Cave scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-cave -d "base16 Atelier Cave theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "19/17/1c" # Base 00 - Black |
|
| 11 | + | set color01 "be/46/78" # Base 08 - Red |
|
| 12 | + | set color02 "2a/92/92" # Base 0B - Green |
|
| 13 | + | set color03 "a0/6e/3b" # Base 0A - Yellow |
|
| 14 | + | set color04 "57/6d/db" # Base 0D - Blue |
|
| 15 | + | set color05 "95/5a/e7" # Base 0E - Magenta |
|
| 16 | + | set color06 "39/8b/c6" # Base 0C - Cyan |
|
| 17 | + | set color07 "8b/87/92" # Base 05 - White |
|
| 18 | + | set color08 "65/5f/6d" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ef/ec/f4" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/57/3c" # Base 09 |
|
| 27 | + | set color17 "bf/40/bf" # Base 0F |
|
| 28 | + | set color18 "26/23/2a" # Base 01 |
|
| 29 | + | set color19 "58/52/60" # Base 02 |
|
| 30 | + | set color20 "7e/78/87" # Base 04 |
|
| 31 | + | set color21 "e2/df/e7" # Base 06 |
|
| 32 | + | set color_foreground "8b/87/92" # Base 05 |
|
| 33 | + | set color_background "19/17/1c" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 8b8792 # foreground |
|
| 65 | + | __put_template_custom Ph 19171c # background |
|
| 66 | + | __put_template_custom Pi 8b8792 # bold color |
|
| 67 | + | __put_template_custom Pj 585260 # selection color |
|
| 68 | + | __put_template_custom Pk 8b8792 # selected text color |
|
| 69 | + | __put_template_custom Pl 8b8792 # cursor |
|
| 70 | + | __put_template_custom Pm 19171c # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "576ddb" blue |
|
| 86 | + | set -gx fish_color_quote "2a9292" green |
|
| 87 | + | set -gx fish_color_redirection "a06e3b" yellow |
|
| 88 | + | set -gx fish_color_end "398bc6" cyan |
|
| 89 | + | set -gx fish_color_error "be4678" red |
|
| 90 | + | set -gx fish_color_param "e2dfe7" cyan |
|
| 91 | + | set -gx fish_color_comment "655f6d" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "8b8792" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a06e3b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "398bc6" cyan |
|
| 97 | + | set -gx fish_color_escape "398bc6" cyan |
|
| 98 | + | set -gx fish_color_cwd "2a9292" green |
|
| 99 | + | set -gx fish_color_cwd_root "be4678" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "655f6d" brblack |
|
| 102 | + | set -gx fish_color_user "2a9292" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a06e3b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "8b8792" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "efecf4" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "19" "17" "1c" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-cave |
|
| 113 | + | set -U base16_fish_theme atelier-cave |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Dune Light scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-dune-light -d "base16 Atelier Dune Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fe/fb/ec" # Base 00 - Black |
|
| 11 | + | set color01 "d7/37/37" # Base 08 - Red |
|
| 12 | + | set color02 "60/ac/39" # Base 0B - Green |
|
| 13 | + | set color03 "ae/95/13" # Base 0A - Yellow |
|
| 14 | + | set color04 "66/84/e1" # Base 0D - Blue |
|
| 15 | + | set color05 "b8/54/d4" # Base 0E - Magenta |
|
| 16 | + | set color06 "1f/ad/83" # Base 0C - Cyan |
|
| 17 | + | set color07 "6e/6b/5e" # Base 05 - White |
|
| 18 | + | set color08 "99/95/80" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "20/20/1d" # Base 07 - Bright White |
|
| 26 | + | set color16 "b6/56/11" # Base 09 |
|
| 27 | + | set color17 "d4/35/52" # Base 0F |
|
| 28 | + | set color18 "e8/e4/cf" # Base 01 |
|
| 29 | + | set color19 "a6/a2/8c" # Base 02 |
|
| 30 | + | set color20 "7d/7a/68" # Base 04 |
|
| 31 | + | set color21 "29/28/24" # Base 06 |
|
| 32 | + | set color_foreground "6e/6b/5e" # Base 05 |
|
| 33 | + | set color_background "fe/fb/ec" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 6e6b5e # foreground |
|
| 65 | + | __put_template_custom Ph fefbec # background |
|
| 66 | + | __put_template_custom Pi 6e6b5e # bold color |
|
| 67 | + | __put_template_custom Pj a6a28c # selection color |
|
| 68 | + | __put_template_custom Pk 6e6b5e # selected text color |
|
| 69 | + | __put_template_custom Pl 6e6b5e # cursor |
|
| 70 | + | __put_template_custom Pm fefbec # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6684e1" blue |
|
| 86 | + | set -gx fish_color_quote "60ac39" green |
|
| 87 | + | set -gx fish_color_redirection "ae9513" yellow |
|
| 88 | + | set -gx fish_color_end "1fad83" cyan |
|
| 89 | + | set -gx fish_color_error "d73737" red |
|
| 90 | + | set -gx fish_color_param "292824" cyan |
|
| 91 | + | set -gx fish_color_comment "999580" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "6e6b5e" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ae9513" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1fad83" cyan |
|
| 97 | + | set -gx fish_color_escape "1fad83" cyan |
|
| 98 | + | set -gx fish_color_cwd "60ac39" green |
|
| 99 | + | set -gx fish_color_cwd_root "d73737" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "999580" brblack |
|
| 102 | + | set -gx fish_color_user "60ac39" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ae9513" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "6e6b5e" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "20201d" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fe" "fb" "ec" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-dune-light |
|
| 113 | + | set -U base16_fish_theme atelier-dune-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Dune scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-dune -d "base16 Atelier Dune theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "20/20/1d" # Base 00 - Black |
|
| 11 | + | set color01 "d7/37/37" # Base 08 - Red |
|
| 12 | + | set color02 "60/ac/39" # Base 0B - Green |
|
| 13 | + | set color03 "ae/95/13" # Base 0A - Yellow |
|
| 14 | + | set color04 "66/84/e1" # Base 0D - Blue |
|
| 15 | + | set color05 "b8/54/d4" # Base 0E - Magenta |
|
| 16 | + | set color06 "1f/ad/83" # Base 0C - Cyan |
|
| 17 | + | set color07 "a6/a2/8c" # Base 05 - White |
|
| 18 | + | set color08 "7d/7a/68" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fe/fb/ec" # Base 07 - Bright White |
|
| 26 | + | set color16 "b6/56/11" # Base 09 |
|
| 27 | + | set color17 "d4/35/52" # Base 0F |
|
| 28 | + | set color18 "29/28/24" # Base 01 |
|
| 29 | + | set color19 "6e/6b/5e" # Base 02 |
|
| 30 | + | set color20 "99/95/80" # Base 04 |
|
| 31 | + | set color21 "e8/e4/cf" # Base 06 |
|
| 32 | + | set color_foreground "a6/a2/8c" # Base 05 |
|
| 33 | + | set color_background "20/20/1d" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a6a28c # foreground |
|
| 65 | + | __put_template_custom Ph 20201d # background |
|
| 66 | + | __put_template_custom Pi a6a28c # bold color |
|
| 67 | + | __put_template_custom Pj 6e6b5e # selection color |
|
| 68 | + | __put_template_custom Pk a6a28c # selected text color |
|
| 69 | + | __put_template_custom Pl a6a28c # cursor |
|
| 70 | + | __put_template_custom Pm 20201d # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6684e1" blue |
|
| 86 | + | set -gx fish_color_quote "60ac39" green |
|
| 87 | + | set -gx fish_color_redirection "ae9513" yellow |
|
| 88 | + | set -gx fish_color_end "1fad83" cyan |
|
| 89 | + | set -gx fish_color_error "d73737" red |
|
| 90 | + | set -gx fish_color_param "e8e4cf" cyan |
|
| 91 | + | set -gx fish_color_comment "7d7a68" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a6a28c" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ae9513" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1fad83" cyan |
|
| 97 | + | set -gx fish_color_escape "1fad83" cyan |
|
| 98 | + | set -gx fish_color_cwd "60ac39" green |
|
| 99 | + | set -gx fish_color_cwd_root "d73737" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "7d7a68" brblack |
|
| 102 | + | set -gx fish_color_user "60ac39" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ae9513" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a6a28c" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fefbec" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "20" "20" "1d" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-dune |
|
| 113 | + | set -U base16_fish_theme atelier-dune |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Estuary Light scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-estuary-light -d "base16 Atelier Estuary Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f4/f3/ec" # Base 00 - Black |
|
| 11 | + | set color01 "ba/62/36" # Base 08 - Red |
|
| 12 | + | set color02 "7d/97/26" # Base 0B - Green |
|
| 13 | + | set color03 "a5/98/0d" # Base 0A - Yellow |
|
| 14 | + | set color04 "36/a1/66" # Base 0D - Blue |
|
| 15 | + | set color05 "5f/91/82" # Base 0E - Magenta |
|
| 16 | + | set color06 "5b/9d/48" # Base 0C - Cyan |
|
| 17 | + | set color07 "5f/5e/4e" # Base 05 - White |
|
| 18 | + | set color08 "87/85/73" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "22/22/1b" # Base 07 - Bright White |
|
| 26 | + | set color16 "ae/73/13" # Base 09 |
|
| 27 | + | set color17 "9d/6c/7c" # Base 0F |
|
| 28 | + | set color18 "e7/e6/df" # Base 01 |
|
| 29 | + | set color19 "92/91/81" # Base 02 |
|
| 30 | + | set color20 "6c/6b/5a" # Base 04 |
|
| 31 | + | set color21 "30/2f/27" # Base 06 |
|
| 32 | + | set color_foreground "5f/5e/4e" # Base 05 |
|
| 33 | + | set color_background "f4/f3/ec" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 5f5e4e # foreground |
|
| 65 | + | __put_template_custom Ph f4f3ec # background |
|
| 66 | + | __put_template_custom Pi 5f5e4e # bold color |
|
| 67 | + | __put_template_custom Pj 929181 # selection color |
|
| 68 | + | __put_template_custom Pk 5f5e4e # selected text color |
|
| 69 | + | __put_template_custom Pl 5f5e4e # cursor |
|
| 70 | + | __put_template_custom Pm f4f3ec # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "36a166" blue |
|
| 86 | + | set -gx fish_color_quote "7d9726" green |
|
| 87 | + | set -gx fish_color_redirection "a5980d" yellow |
|
| 88 | + | set -gx fish_color_end "5b9d48" cyan |
|
| 89 | + | set -gx fish_color_error "ba6236" red |
|
| 90 | + | set -gx fish_color_param "302f27" cyan |
|
| 91 | + | set -gx fish_color_comment "878573" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "5f5e4e" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a5980d" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "5b9d48" cyan |
|
| 97 | + | set -gx fish_color_escape "5b9d48" cyan |
|
| 98 | + | set -gx fish_color_cwd "7d9726" green |
|
| 99 | + | set -gx fish_color_cwd_root "ba6236" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "878573" brblack |
|
| 102 | + | set -gx fish_color_user "7d9726" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a5980d" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "5f5e4e" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "22221b" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f4" "f3" "ec" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-estuary-light |
|
| 113 | + | set -U base16_fish_theme atelier-estuary-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Estuary scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-estuary -d "base16 Atelier Estuary theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "22/22/1b" # Base 00 - Black |
|
| 11 | + | set color01 "ba/62/36" # Base 08 - Red |
|
| 12 | + | set color02 "7d/97/26" # Base 0B - Green |
|
| 13 | + | set color03 "a5/98/0d" # Base 0A - Yellow |
|
| 14 | + | set color04 "36/a1/66" # Base 0D - Blue |
|
| 15 | + | set color05 "5f/91/82" # Base 0E - Magenta |
|
| 16 | + | set color06 "5b/9d/48" # Base 0C - Cyan |
|
| 17 | + | set color07 "92/91/81" # Base 05 - White |
|
| 18 | + | set color08 "6c/6b/5a" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f4/f3/ec" # Base 07 - Bright White |
|
| 26 | + | set color16 "ae/73/13" # Base 09 |
|
| 27 | + | set color17 "9d/6c/7c" # Base 0F |
|
| 28 | + | set color18 "30/2f/27" # Base 01 |
|
| 29 | + | set color19 "5f/5e/4e" # Base 02 |
|
| 30 | + | set color20 "87/85/73" # Base 04 |
|
| 31 | + | set color21 "e7/e6/df" # Base 06 |
|
| 32 | + | set color_foreground "92/91/81" # Base 05 |
|
| 33 | + | set color_background "22/22/1b" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 929181 # foreground |
|
| 65 | + | __put_template_custom Ph 22221b # background |
|
| 66 | + | __put_template_custom Pi 929181 # bold color |
|
| 67 | + | __put_template_custom Pj 5f5e4e # selection color |
|
| 68 | + | __put_template_custom Pk 929181 # selected text color |
|
| 69 | + | __put_template_custom Pl 929181 # cursor |
|
| 70 | + | __put_template_custom Pm 22221b # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "36a166" blue |
|
| 86 | + | set -gx fish_color_quote "7d9726" green |
|
| 87 | + | set -gx fish_color_redirection "a5980d" yellow |
|
| 88 | + | set -gx fish_color_end "5b9d48" cyan |
|
| 89 | + | set -gx fish_color_error "ba6236" red |
|
| 90 | + | set -gx fish_color_param "e7e6df" cyan |
|
| 91 | + | set -gx fish_color_comment "6c6b5a" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "929181" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a5980d" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "5b9d48" cyan |
|
| 97 | + | set -gx fish_color_escape "5b9d48" cyan |
|
| 98 | + | set -gx fish_color_cwd "7d9726" green |
|
| 99 | + | set -gx fish_color_cwd_root "ba6236" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "6c6b5a" brblack |
|
| 102 | + | set -gx fish_color_user "7d9726" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a5980d" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "929181" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f4f3ec" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "22" "22" "1b" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-estuary |
|
| 113 | + | set -U base16_fish_theme atelier-estuary |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Forest Light scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-forest-light -d "base16 Atelier Forest Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f1/ef/ee" # Base 00 - Black |
|
| 11 | + | set color01 "f2/2c/40" # Base 08 - Red |
|
| 12 | + | set color02 "7b/97/26" # Base 0B - Green |
|
| 13 | + | set color03 "c3/84/18" # Base 0A - Yellow |
|
| 14 | + | set color04 "40/7e/e7" # Base 0D - Blue |
|
| 15 | + | set color05 "66/66/ea" # Base 0E - Magenta |
|
| 16 | + | set color06 "3d/97/b8" # Base 0C - Cyan |
|
| 17 | + | set color07 "68/61/5e" # Base 05 - White |
|
| 18 | + | set color08 "9c/94/91" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "1b/19/18" # Base 07 - Bright White |
|
| 26 | + | set color16 "df/53/20" # Base 09 |
|
| 27 | + | set color17 "c3/3f/f3" # Base 0F |
|
| 28 | + | set color18 "e6/e2/e0" # Base 01 |
|
| 29 | + | set color19 "a8/a1/9f" # Base 02 |
|
| 30 | + | set color20 "76/6e/6b" # Base 04 |
|
| 31 | + | set color21 "2c/24/21" # Base 06 |
|
| 32 | + | set color_foreground "68/61/5e" # Base 05 |
|
| 33 | + | set color_background "f1/ef/ee" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 68615e # foreground |
|
| 65 | + | __put_template_custom Ph f1efee # background |
|
| 66 | + | __put_template_custom Pi 68615e # bold color |
|
| 67 | + | __put_template_custom Pj a8a19f # selection color |
|
| 68 | + | __put_template_custom Pk 68615e # selected text color |
|
| 69 | + | __put_template_custom Pl 68615e # cursor |
|
| 70 | + | __put_template_custom Pm f1efee # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "407ee7" blue |
|
| 86 | + | set -gx fish_color_quote "7b9726" green |
|
| 87 | + | set -gx fish_color_redirection "c38418" yellow |
|
| 88 | + | set -gx fish_color_end "3d97b8" cyan |
|
| 89 | + | set -gx fish_color_error "f22c40" red |
|
| 90 | + | set -gx fish_color_param "2c2421" cyan |
|
| 91 | + | set -gx fish_color_comment "9c9491" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "68615e" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c38418" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "3d97b8" cyan |
|
| 97 | + | set -gx fish_color_escape "3d97b8" cyan |
|
| 98 | + | set -gx fish_color_cwd "7b9726" green |
|
| 99 | + | set -gx fish_color_cwd_root "f22c40" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "9c9491" brblack |
|
| 102 | + | set -gx fish_color_user "7b9726" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c38418" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "68615e" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "1b1918" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f1" "ef" "ee" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-forest-light |
|
| 113 | + | set -U base16_fish_theme atelier-forest-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Forest scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-forest -d "base16 Atelier Forest theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1b/19/18" # Base 00 - Black |
|
| 11 | + | set color01 "f2/2c/40" # Base 08 - Red |
|
| 12 | + | set color02 "7b/97/26" # Base 0B - Green |
|
| 13 | + | set color03 "c3/84/18" # Base 0A - Yellow |
|
| 14 | + | set color04 "40/7e/e7" # Base 0D - Blue |
|
| 15 | + | set color05 "66/66/ea" # Base 0E - Magenta |
|
| 16 | + | set color06 "3d/97/b8" # Base 0C - Cyan |
|
| 17 | + | set color07 "a8/a1/9f" # Base 05 - White |
|
| 18 | + | set color08 "76/6e/6b" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f1/ef/ee" # Base 07 - Bright White |
|
| 26 | + | set color16 "df/53/20" # Base 09 |
|
| 27 | + | set color17 "c3/3f/f3" # Base 0F |
|
| 28 | + | set color18 "2c/24/21" # Base 01 |
|
| 29 | + | set color19 "68/61/5e" # Base 02 |
|
| 30 | + | set color20 "9c/94/91" # Base 04 |
|
| 31 | + | set color21 "e6/e2/e0" # Base 06 |
|
| 32 | + | set color_foreground "a8/a1/9f" # Base 05 |
|
| 33 | + | set color_background "1b/19/18" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a8a19f # foreground |
|
| 65 | + | __put_template_custom Ph 1b1918 # background |
|
| 66 | + | __put_template_custom Pi a8a19f # bold color |
|
| 67 | + | __put_template_custom Pj 68615e # selection color |
|
| 68 | + | __put_template_custom Pk a8a19f # selected text color |
|
| 69 | + | __put_template_custom Pl a8a19f # cursor |
|
| 70 | + | __put_template_custom Pm 1b1918 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "407ee7" blue |
|
| 86 | + | set -gx fish_color_quote "7b9726" green |
|
| 87 | + | set -gx fish_color_redirection "c38418" yellow |
|
| 88 | + | set -gx fish_color_end "3d97b8" cyan |
|
| 89 | + | set -gx fish_color_error "f22c40" red |
|
| 90 | + | set -gx fish_color_param "e6e2e0" cyan |
|
| 91 | + | set -gx fish_color_comment "766e6b" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a8a19f" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c38418" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "3d97b8" cyan |
|
| 97 | + | set -gx fish_color_escape "3d97b8" cyan |
|
| 98 | + | set -gx fish_color_cwd "7b9726" green |
|
| 99 | + | set -gx fish_color_cwd_root "f22c40" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "766e6b" brblack |
|
| 102 | + | set -gx fish_color_user "7b9726" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c38418" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a8a19f" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f1efee" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1b" "19" "18" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-forest |
|
| 113 | + | set -U base16_fish_theme atelier-forest |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Heath Light scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-heath-light -d "base16 Atelier Heath Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f7/f3/f7" # Base 00 - Black |
|
| 11 | + | set color01 "ca/40/2b" # Base 08 - Red |
|
| 12 | + | set color02 "91/8b/3b" # Base 0B - Green |
|
| 13 | + | set color03 "bb/8a/35" # Base 0A - Yellow |
|
| 14 | + | set color04 "51/6a/ec" # Base 0D - Blue |
|
| 15 | + | set color05 "7b/59/c0" # Base 0E - Magenta |
|
| 16 | + | set color06 "15/93/93" # Base 0C - Cyan |
|
| 17 | + | set color07 "69/5d/69" # Base 05 - White |
|
| 18 | + | set color08 "9e/8f/9e" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "1b/18/1b" # Base 07 - Bright White |
|
| 26 | + | set color16 "a6/59/26" # Base 09 |
|
| 27 | + | set color17 "cc/33/cc" # Base 0F |
|
| 28 | + | set color18 "d8/ca/d8" # Base 01 |
|
| 29 | + | set color19 "ab/9b/ab" # Base 02 |
|
| 30 | + | set color20 "77/69/77" # Base 04 |
|
| 31 | + | set color21 "29/23/29" # Base 06 |
|
| 32 | + | set color_foreground "69/5d/69" # Base 05 |
|
| 33 | + | set color_background "f7/f3/f7" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 695d69 # foreground |
|
| 65 | + | __put_template_custom Ph f7f3f7 # background |
|
| 66 | + | __put_template_custom Pi 695d69 # bold color |
|
| 67 | + | __put_template_custom Pj ab9bab # selection color |
|
| 68 | + | __put_template_custom Pk 695d69 # selected text color |
|
| 69 | + | __put_template_custom Pl 695d69 # cursor |
|
| 70 | + | __put_template_custom Pm f7f3f7 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "516aec" blue |
|
| 86 | + | set -gx fish_color_quote "918b3b" green |
|
| 87 | + | set -gx fish_color_redirection "bb8a35" yellow |
|
| 88 | + | set -gx fish_color_end "159393" cyan |
|
| 89 | + | set -gx fish_color_error "ca402b" red |
|
| 90 | + | set -gx fish_color_param "292329" cyan |
|
| 91 | + | set -gx fish_color_comment "9e8f9e" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "695d69" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "bb8a35" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "159393" cyan |
|
| 97 | + | set -gx fish_color_escape "159393" cyan |
|
| 98 | + | set -gx fish_color_cwd "918b3b" green |
|
| 99 | + | set -gx fish_color_cwd_root "ca402b" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "9e8f9e" brblack |
|
| 102 | + | set -gx fish_color_user "918b3b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "bb8a35" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "695d69" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "1b181b" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f7" "f3" "f7" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-heath-light |
|
| 113 | + | set -U base16_fish_theme atelier-heath-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Heath scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-heath -d "base16 Atelier Heath theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1b/18/1b" # Base 00 - Black |
|
| 11 | + | set color01 "ca/40/2b" # Base 08 - Red |
|
| 12 | + | set color02 "91/8b/3b" # Base 0B - Green |
|
| 13 | + | set color03 "bb/8a/35" # Base 0A - Yellow |
|
| 14 | + | set color04 "51/6a/ec" # Base 0D - Blue |
|
| 15 | + | set color05 "7b/59/c0" # Base 0E - Magenta |
|
| 16 | + | set color06 "15/93/93" # Base 0C - Cyan |
|
| 17 | + | set color07 "ab/9b/ab" # Base 05 - White |
|
| 18 | + | set color08 "77/69/77" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f7/f3/f7" # Base 07 - Bright White |
|
| 26 | + | set color16 "a6/59/26" # Base 09 |
|
| 27 | + | set color17 "cc/33/cc" # Base 0F |
|
| 28 | + | set color18 "29/23/29" # Base 01 |
|
| 29 | + | set color19 "69/5d/69" # Base 02 |
|
| 30 | + | set color20 "9e/8f/9e" # Base 04 |
|
| 31 | + | set color21 "d8/ca/d8" # Base 06 |
|
| 32 | + | set color_foreground "ab/9b/ab" # Base 05 |
|
| 33 | + | set color_background "1b/18/1b" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg ab9bab # foreground |
|
| 65 | + | __put_template_custom Ph 1b181b # background |
|
| 66 | + | __put_template_custom Pi ab9bab # bold color |
|
| 67 | + | __put_template_custom Pj 695d69 # selection color |
|
| 68 | + | __put_template_custom Pk ab9bab # selected text color |
|
| 69 | + | __put_template_custom Pl ab9bab # cursor |
|
| 70 | + | __put_template_custom Pm 1b181b # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "516aec" blue |
|
| 86 | + | set -gx fish_color_quote "918b3b" green |
|
| 87 | + | set -gx fish_color_redirection "bb8a35" yellow |
|
| 88 | + | set -gx fish_color_end "159393" cyan |
|
| 89 | + | set -gx fish_color_error "ca402b" red |
|
| 90 | + | set -gx fish_color_param "d8cad8" cyan |
|
| 91 | + | set -gx fish_color_comment "776977" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "ab9bab" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "bb8a35" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "159393" cyan |
|
| 97 | + | set -gx fish_color_escape "159393" cyan |
|
| 98 | + | set -gx fish_color_cwd "918b3b" green |
|
| 99 | + | set -gx fish_color_cwd_root "ca402b" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "776977" brblack |
|
| 102 | + | set -gx fish_color_user "918b3b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "bb8a35" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "ab9bab" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f7f3f7" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1b" "18" "1b" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-heath |
|
| 113 | + | set -U base16_fish_theme atelier-heath |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Lakeside Light scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-lakeside-light -d "base16 Atelier Lakeside Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "eb/f8/ff" # Base 00 - Black |
|
| 11 | + | set color01 "d2/2d/72" # Base 08 - Red |
|
| 12 | + | set color02 "56/8c/3b" # Base 0B - Green |
|
| 13 | + | set color03 "8a/8a/0f" # Base 0A - Yellow |
|
| 14 | + | set color04 "25/7f/ad" # Base 0D - Blue |
|
| 15 | + | set color05 "6b/6b/b8" # Base 0E - Magenta |
|
| 16 | + | set color06 "2d/8f/6f" # Base 0C - Cyan |
|
| 17 | + | set color07 "51/6d/7b" # Base 05 - White |
|
| 18 | + | set color08 "71/95/a8" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "16/1b/1d" # Base 07 - Bright White |
|
| 26 | + | set color16 "93/5c/25" # Base 09 |
|
| 27 | + | set color17 "b7/2d/d2" # Base 0F |
|
| 28 | + | set color18 "c1/e4/f6" # Base 01 |
|
| 29 | + | set color19 "7e/a2/b4" # Base 02 |
|
| 30 | + | set color20 "5a/7b/8c" # Base 04 |
|
| 31 | + | set color21 "1f/29/2e" # Base 06 |
|
| 32 | + | set color_foreground "51/6d/7b" # Base 05 |
|
| 33 | + | set color_background "eb/f8/ff" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 516d7b # foreground |
|
| 65 | + | __put_template_custom Ph ebf8ff # background |
|
| 66 | + | __put_template_custom Pi 516d7b # bold color |
|
| 67 | + | __put_template_custom Pj 7ea2b4 # selection color |
|
| 68 | + | __put_template_custom Pk 516d7b # selected text color |
|
| 69 | + | __put_template_custom Pl 516d7b # cursor |
|
| 70 | + | __put_template_custom Pm ebf8ff # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "257fad" blue |
|
| 86 | + | set -gx fish_color_quote "568c3b" green |
|
| 87 | + | set -gx fish_color_redirection "8a8a0f" yellow |
|
| 88 | + | set -gx fish_color_end "2d8f6f" cyan |
|
| 89 | + | set -gx fish_color_error "d22d72" red |
|
| 90 | + | set -gx fish_color_param "1f292e" cyan |
|
| 91 | + | set -gx fish_color_comment "7195a8" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "516d7b" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "8a8a0f" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "2d8f6f" cyan |
|
| 97 | + | set -gx fish_color_escape "2d8f6f" cyan |
|
| 98 | + | set -gx fish_color_cwd "568c3b" green |
|
| 99 | + | set -gx fish_color_cwd_root "d22d72" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "7195a8" brblack |
|
| 102 | + | set -gx fish_color_user "568c3b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "8a8a0f" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "516d7b" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "161b1d" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "eb" "f8" "ff" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-lakeside-light |
|
| 113 | + | set -U base16_fish_theme atelier-lakeside-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Lakeside scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-lakeside -d "base16 Atelier Lakeside theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "16/1b/1d" # Base 00 - Black |
|
| 11 | + | set color01 "d2/2d/72" # Base 08 - Red |
|
| 12 | + | set color02 "56/8c/3b" # Base 0B - Green |
|
| 13 | + | set color03 "8a/8a/0f" # Base 0A - Yellow |
|
| 14 | + | set color04 "25/7f/ad" # Base 0D - Blue |
|
| 15 | + | set color05 "6b/6b/b8" # Base 0E - Magenta |
|
| 16 | + | set color06 "2d/8f/6f" # Base 0C - Cyan |
|
| 17 | + | set color07 "7e/a2/b4" # Base 05 - White |
|
| 18 | + | set color08 "5a/7b/8c" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "eb/f8/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "93/5c/25" # Base 09 |
|
| 27 | + | set color17 "b7/2d/d2" # Base 0F |
|
| 28 | + | set color18 "1f/29/2e" # Base 01 |
|
| 29 | + | set color19 "51/6d/7b" # Base 02 |
|
| 30 | + | set color20 "71/95/a8" # Base 04 |
|
| 31 | + | set color21 "c1/e4/f6" # Base 06 |
|
| 32 | + | set color_foreground "7e/a2/b4" # Base 05 |
|
| 33 | + | set color_background "16/1b/1d" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 7ea2b4 # foreground |
|
| 65 | + | __put_template_custom Ph 161b1d # background |
|
| 66 | + | __put_template_custom Pi 7ea2b4 # bold color |
|
| 67 | + | __put_template_custom Pj 516d7b # selection color |
|
| 68 | + | __put_template_custom Pk 7ea2b4 # selected text color |
|
| 69 | + | __put_template_custom Pl 7ea2b4 # cursor |
|
| 70 | + | __put_template_custom Pm 161b1d # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "257fad" blue |
|
| 86 | + | set -gx fish_color_quote "568c3b" green |
|
| 87 | + | set -gx fish_color_redirection "8a8a0f" yellow |
|
| 88 | + | set -gx fish_color_end "2d8f6f" cyan |
|
| 89 | + | set -gx fish_color_error "d22d72" red |
|
| 90 | + | set -gx fish_color_param "c1e4f6" cyan |
|
| 91 | + | set -gx fish_color_comment "5a7b8c" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "7ea2b4" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "8a8a0f" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "2d8f6f" cyan |
|
| 97 | + | set -gx fish_color_escape "2d8f6f" cyan |
|
| 98 | + | set -gx fish_color_cwd "568c3b" green |
|
| 99 | + | set -gx fish_color_cwd_root "d22d72" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "5a7b8c" brblack |
|
| 102 | + | set -gx fish_color_user "568c3b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "8a8a0f" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "7ea2b4" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ebf8ff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "16" "1b" "1d" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-lakeside |
|
| 113 | + | set -U base16_fish_theme atelier-lakeside |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Plateau Light scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-plateau-light -d "base16 Atelier Plateau Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f4/ec/ec" # Base 00 - Black |
|
| 11 | + | set color01 "ca/49/49" # Base 08 - Red |
|
| 12 | + | set color02 "4b/8b/8b" # Base 0B - Green |
|
| 13 | + | set color03 "a0/6e/3b" # Base 0A - Yellow |
|
| 14 | + | set color04 "72/72/ca" # Base 0D - Blue |
|
| 15 | + | set color05 "84/64/c4" # Base 0E - Magenta |
|
| 16 | + | set color06 "54/85/b6" # Base 0C - Cyan |
|
| 17 | + | set color07 "58/50/50" # Base 05 - White |
|
| 18 | + | set color08 "7e/77/77" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "1b/18/18" # Base 07 - Bright White |
|
| 26 | + | set color16 "b4/5a/3c" # Base 09 |
|
| 27 | + | set color17 "bd/51/87" # Base 0F |
|
| 28 | + | set color18 "e7/df/df" # Base 01 |
|
| 29 | + | set color19 "8a/85/85" # Base 02 |
|
| 30 | + | set color20 "65/5d/5d" # Base 04 |
|
| 31 | + | set color21 "29/24/24" # Base 06 |
|
| 32 | + | set color_foreground "58/50/50" # Base 05 |
|
| 33 | + | set color_background "f4/ec/ec" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 585050 # foreground |
|
| 65 | + | __put_template_custom Ph f4ecec # background |
|
| 66 | + | __put_template_custom Pi 585050 # bold color |
|
| 67 | + | __put_template_custom Pj 8a8585 # selection color |
|
| 68 | + | __put_template_custom Pk 585050 # selected text color |
|
| 69 | + | __put_template_custom Pl 585050 # cursor |
|
| 70 | + | __put_template_custom Pm f4ecec # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "7272ca" blue |
|
| 86 | + | set -gx fish_color_quote "4b8b8b" green |
|
| 87 | + | set -gx fish_color_redirection "a06e3b" yellow |
|
| 88 | + | set -gx fish_color_end "5485b6" cyan |
|
| 89 | + | set -gx fish_color_error "ca4949" red |
|
| 90 | + | set -gx fish_color_param "292424" cyan |
|
| 91 | + | set -gx fish_color_comment "7e7777" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "585050" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a06e3b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "5485b6" cyan |
|
| 97 | + | set -gx fish_color_escape "5485b6" cyan |
|
| 98 | + | set -gx fish_color_cwd "4b8b8b" green |
|
| 99 | + | set -gx fish_color_cwd_root "ca4949" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "7e7777" brblack |
|
| 102 | + | set -gx fish_color_user "4b8b8b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a06e3b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "585050" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "1b1818" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f4" "ec" "ec" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-plateau-light |
|
| 113 | + | set -U base16_fish_theme atelier-plateau-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Plateau scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-plateau -d "base16 Atelier Plateau theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1b/18/18" # Base 00 - Black |
|
| 11 | + | set color01 "ca/49/49" # Base 08 - Red |
|
| 12 | + | set color02 "4b/8b/8b" # Base 0B - Green |
|
| 13 | + | set color03 "a0/6e/3b" # Base 0A - Yellow |
|
| 14 | + | set color04 "72/72/ca" # Base 0D - Blue |
|
| 15 | + | set color05 "84/64/c4" # Base 0E - Magenta |
|
| 16 | + | set color06 "54/85/b6" # Base 0C - Cyan |
|
| 17 | + | set color07 "8a/85/85" # Base 05 - White |
|
| 18 | + | set color08 "65/5d/5d" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f4/ec/ec" # Base 07 - Bright White |
|
| 26 | + | set color16 "b4/5a/3c" # Base 09 |
|
| 27 | + | set color17 "bd/51/87" # Base 0F |
|
| 28 | + | set color18 "29/24/24" # Base 01 |
|
| 29 | + | set color19 "58/50/50" # Base 02 |
|
| 30 | + | set color20 "7e/77/77" # Base 04 |
|
| 31 | + | set color21 "e7/df/df" # Base 06 |
|
| 32 | + | set color_foreground "8a/85/85" # Base 05 |
|
| 33 | + | set color_background "1b/18/18" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 8a8585 # foreground |
|
| 65 | + | __put_template_custom Ph 1b1818 # background |
|
| 66 | + | __put_template_custom Pi 8a8585 # bold color |
|
| 67 | + | __put_template_custom Pj 585050 # selection color |
|
| 68 | + | __put_template_custom Pk 8a8585 # selected text color |
|
| 69 | + | __put_template_custom Pl 8a8585 # cursor |
|
| 70 | + | __put_template_custom Pm 1b1818 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "7272ca" blue |
|
| 86 | + | set -gx fish_color_quote "4b8b8b" green |
|
| 87 | + | set -gx fish_color_redirection "a06e3b" yellow |
|
| 88 | + | set -gx fish_color_end "5485b6" cyan |
|
| 89 | + | set -gx fish_color_error "ca4949" red |
|
| 90 | + | set -gx fish_color_param "e7dfdf" cyan |
|
| 91 | + | set -gx fish_color_comment "655d5d" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "8a8585" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a06e3b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "5485b6" cyan |
|
| 97 | + | set -gx fish_color_escape "5485b6" cyan |
|
| 98 | + | set -gx fish_color_cwd "4b8b8b" green |
|
| 99 | + | set -gx fish_color_cwd_root "ca4949" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "655d5d" brblack |
|
| 102 | + | set -gx fish_color_user "4b8b8b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a06e3b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "8a8585" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f4ecec" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1b" "18" "18" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-plateau |
|
| 113 | + | set -U base16_fish_theme atelier-plateau |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Savanna Light scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-savanna-light -d "base16 Atelier Savanna Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "ec/f4/ee" # Base 00 - Black |
|
| 11 | + | set color01 "b1/61/39" # Base 08 - Red |
|
| 12 | + | set color02 "48/99/63" # Base 0B - Green |
|
| 13 | + | set color03 "a0/7e/3b" # Base 0A - Yellow |
|
| 14 | + | set color04 "47/8c/90" # Base 0D - Blue |
|
| 15 | + | set color05 "55/85/9b" # Base 0E - Magenta |
|
| 16 | + | set color06 "1c/9a/a0" # Base 0C - Cyan |
|
| 17 | + | set color07 "52/60/57" # Base 05 - White |
|
| 18 | + | set color08 "78/87/7d" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "17/1c/19" # Base 07 - Bright White |
|
| 26 | + | set color16 "9f/71/3c" # Base 09 |
|
| 27 | + | set color17 "86/74/69" # Base 0F |
|
| 28 | + | set color18 "df/e7/e2" # Base 01 |
|
| 29 | + | set color19 "87/92/8a" # Base 02 |
|
| 30 | + | set color20 "5f/6d/64" # Base 04 |
|
| 31 | + | set color21 "23/2a/25" # Base 06 |
|
| 32 | + | set color_foreground "52/60/57" # Base 05 |
|
| 33 | + | set color_background "ec/f4/ee" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 526057 # foreground |
|
| 65 | + | __put_template_custom Ph ecf4ee # background |
|
| 66 | + | __put_template_custom Pi 526057 # bold color |
|
| 67 | + | __put_template_custom Pj 87928a # selection color |
|
| 68 | + | __put_template_custom Pk 526057 # selected text color |
|
| 69 | + | __put_template_custom Pl 526057 # cursor |
|
| 70 | + | __put_template_custom Pm ecf4ee # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "478c90" blue |
|
| 86 | + | set -gx fish_color_quote "489963" green |
|
| 87 | + | set -gx fish_color_redirection "a07e3b" yellow |
|
| 88 | + | set -gx fish_color_end "1c9aa0" cyan |
|
| 89 | + | set -gx fish_color_error "b16139" red |
|
| 90 | + | set -gx fish_color_param "232a25" cyan |
|
| 91 | + | set -gx fish_color_comment "78877d" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "526057" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a07e3b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1c9aa0" cyan |
|
| 97 | + | set -gx fish_color_escape "1c9aa0" cyan |
|
| 98 | + | set -gx fish_color_cwd "489963" green |
|
| 99 | + | set -gx fish_color_cwd_root "b16139" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "78877d" brblack |
|
| 102 | + | set -gx fish_color_user "489963" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a07e3b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "526057" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "171c19" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "ec" "f4" "ee" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-savanna-light |
|
| 113 | + | set -U base16_fish_theme atelier-savanna-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Savanna scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-savanna -d "base16 Atelier Savanna theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "17/1c/19" # Base 00 - Black |
|
| 11 | + | set color01 "b1/61/39" # Base 08 - Red |
|
| 12 | + | set color02 "48/99/63" # Base 0B - Green |
|
| 13 | + | set color03 "a0/7e/3b" # Base 0A - Yellow |
|
| 14 | + | set color04 "47/8c/90" # Base 0D - Blue |
|
| 15 | + | set color05 "55/85/9b" # Base 0E - Magenta |
|
| 16 | + | set color06 "1c/9a/a0" # Base 0C - Cyan |
|
| 17 | + | set color07 "87/92/8a" # Base 05 - White |
|
| 18 | + | set color08 "5f/6d/64" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ec/f4/ee" # Base 07 - Bright White |
|
| 26 | + | set color16 "9f/71/3c" # Base 09 |
|
| 27 | + | set color17 "86/74/69" # Base 0F |
|
| 28 | + | set color18 "23/2a/25" # Base 01 |
|
| 29 | + | set color19 "52/60/57" # Base 02 |
|
| 30 | + | set color20 "78/87/7d" # Base 04 |
|
| 31 | + | set color21 "df/e7/e2" # Base 06 |
|
| 32 | + | set color_foreground "87/92/8a" # Base 05 |
|
| 33 | + | set color_background "17/1c/19" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 87928a # foreground |
|
| 65 | + | __put_template_custom Ph 171c19 # background |
|
| 66 | + | __put_template_custom Pi 87928a # bold color |
|
| 67 | + | __put_template_custom Pj 526057 # selection color |
|
| 68 | + | __put_template_custom Pk 87928a # selected text color |
|
| 69 | + | __put_template_custom Pl 87928a # cursor |
|
| 70 | + | __put_template_custom Pm 171c19 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "478c90" blue |
|
| 86 | + | set -gx fish_color_quote "489963" green |
|
| 87 | + | set -gx fish_color_redirection "a07e3b" yellow |
|
| 88 | + | set -gx fish_color_end "1c9aa0" cyan |
|
| 89 | + | set -gx fish_color_error "b16139" red |
|
| 90 | + | set -gx fish_color_param "dfe7e2" cyan |
|
| 91 | + | set -gx fish_color_comment "5f6d64" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "87928a" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a07e3b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1c9aa0" cyan |
|
| 97 | + | set -gx fish_color_escape "1c9aa0" cyan |
|
| 98 | + | set -gx fish_color_cwd "489963" green |
|
| 99 | + | set -gx fish_color_cwd_root "b16139" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "5f6d64" brblack |
|
| 102 | + | set -gx fish_color_user "489963" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a07e3b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "87928a" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ecf4ee" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "17" "1c" "19" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-savanna |
|
| 113 | + | set -U base16_fish_theme atelier-savanna |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Seaside Light scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-seaside-light -d "base16 Atelier Seaside Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f4/fb/f4" # Base 00 - Black |
|
| 11 | + | set color01 "e6/19/3c" # Base 08 - Red |
|
| 12 | + | set color02 "29/a3/29" # Base 0B - Green |
|
| 13 | + | set color03 "98/98/1b" # Base 0A - Yellow |
|
| 14 | + | set color04 "3d/62/f5" # Base 0D - Blue |
|
| 15 | + | set color05 "ad/2b/ee" # Base 0E - Magenta |
|
| 16 | + | set color06 "19/99/b3" # Base 0C - Cyan |
|
| 17 | + | set color07 "5e/6e/5e" # Base 05 - White |
|
| 18 | + | set color08 "80/99/80" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "13/15/13" # Base 07 - Bright White |
|
| 26 | + | set color16 "87/71/1d" # Base 09 |
|
| 27 | + | set color17 "e6/19/c3" # Base 0F |
|
| 28 | + | set color18 "cf/e8/cf" # Base 01 |
|
| 29 | + | set color19 "8c/a6/8c" # Base 02 |
|
| 30 | + | set color20 "68/7d/68" # Base 04 |
|
| 31 | + | set color21 "24/29/24" # Base 06 |
|
| 32 | + | set color_foreground "5e/6e/5e" # Base 05 |
|
| 33 | + | set color_background "f4/fb/f4" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 5e6e5e # foreground |
|
| 65 | + | __put_template_custom Ph f4fbf4 # background |
|
| 66 | + | __put_template_custom Pi 5e6e5e # bold color |
|
| 67 | + | __put_template_custom Pj 8ca68c # selection color |
|
| 68 | + | __put_template_custom Pk 5e6e5e # selected text color |
|
| 69 | + | __put_template_custom Pl 5e6e5e # cursor |
|
| 70 | + | __put_template_custom Pm f4fbf4 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3d62f5" blue |
|
| 86 | + | set -gx fish_color_quote "29a329" green |
|
| 87 | + | set -gx fish_color_redirection "98981b" yellow |
|
| 88 | + | set -gx fish_color_end "1999b3" cyan |
|
| 89 | + | set -gx fish_color_error "e6193c" red |
|
| 90 | + | set -gx fish_color_param "242924" cyan |
|
| 91 | + | set -gx fish_color_comment "809980" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "5e6e5e" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "98981b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1999b3" cyan |
|
| 97 | + | set -gx fish_color_escape "1999b3" cyan |
|
| 98 | + | set -gx fish_color_cwd "29a329" green |
|
| 99 | + | set -gx fish_color_cwd_root "e6193c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "809980" brblack |
|
| 102 | + | set -gx fish_color_user "29a329" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "98981b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "5e6e5e" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "131513" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f4" "fb" "f4" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-seaside-light |
|
| 113 | + | set -U base16_fish_theme atelier-seaside-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Seaside scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-seaside -d "base16 Atelier Seaside theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "13/15/13" # Base 00 - Black |
|
| 11 | + | set color01 "e6/19/3c" # Base 08 - Red |
|
| 12 | + | set color02 "29/a3/29" # Base 0B - Green |
|
| 13 | + | set color03 "98/98/1b" # Base 0A - Yellow |
|
| 14 | + | set color04 "3d/62/f5" # Base 0D - Blue |
|
| 15 | + | set color05 "ad/2b/ee" # Base 0E - Magenta |
|
| 16 | + | set color06 "19/99/b3" # Base 0C - Cyan |
|
| 17 | + | set color07 "8c/a6/8c" # Base 05 - White |
|
| 18 | + | set color08 "68/7d/68" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f4/fb/f4" # Base 07 - Bright White |
|
| 26 | + | set color16 "87/71/1d" # Base 09 |
|
| 27 | + | set color17 "e6/19/c3" # Base 0F |
|
| 28 | + | set color18 "24/29/24" # Base 01 |
|
| 29 | + | set color19 "5e/6e/5e" # Base 02 |
|
| 30 | + | set color20 "80/99/80" # Base 04 |
|
| 31 | + | set color21 "cf/e8/cf" # Base 06 |
|
| 32 | + | set color_foreground "8c/a6/8c" # Base 05 |
|
| 33 | + | set color_background "13/15/13" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 8ca68c # foreground |
|
| 65 | + | __put_template_custom Ph 131513 # background |
|
| 66 | + | __put_template_custom Pi 8ca68c # bold color |
|
| 67 | + | __put_template_custom Pj 5e6e5e # selection color |
|
| 68 | + | __put_template_custom Pk 8ca68c # selected text color |
|
| 69 | + | __put_template_custom Pl 8ca68c # cursor |
|
| 70 | + | __put_template_custom Pm 131513 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3d62f5" blue |
|
| 86 | + | set -gx fish_color_quote "29a329" green |
|
| 87 | + | set -gx fish_color_redirection "98981b" yellow |
|
| 88 | + | set -gx fish_color_end "1999b3" cyan |
|
| 89 | + | set -gx fish_color_error "e6193c" red |
|
| 90 | + | set -gx fish_color_param "cfe8cf" cyan |
|
| 91 | + | set -gx fish_color_comment "687d68" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "8ca68c" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "98981b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1999b3" cyan |
|
| 97 | + | set -gx fish_color_escape "1999b3" cyan |
|
| 98 | + | set -gx fish_color_cwd "29a329" green |
|
| 99 | + | set -gx fish_color_cwd_root "e6193c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "687d68" brblack |
|
| 102 | + | set -gx fish_color_user "29a329" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "98981b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "8ca68c" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f4fbf4" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "13" "15" "13" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-seaside |
|
| 113 | + | set -U base16_fish_theme atelier-seaside |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Sulphurpool Light scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-sulphurpool-light -d "base16 Atelier Sulphurpool Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f5/f7/ff" # Base 00 - Black |
|
| 11 | + | set color01 "c9/49/22" # Base 08 - Red |
|
| 12 | + | set color02 "ac/97/39" # Base 0B - Green |
|
| 13 | + | set color03 "c0/8b/30" # Base 0A - Yellow |
|
| 14 | + | set color04 "3d/8f/d1" # Base 0D - Blue |
|
| 15 | + | set color05 "66/79/cc" # Base 0E - Magenta |
|
| 16 | + | set color06 "22/a2/c9" # Base 0C - Cyan |
|
| 17 | + | set color07 "5e/66/87" # Base 05 - White |
|
| 18 | + | set color08 "89/8e/a4" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "20/27/46" # Base 07 - Bright White |
|
| 26 | + | set color16 "c7/6b/29" # Base 09 |
|
| 27 | + | set color17 "9c/63/7a" # Base 0F |
|
| 28 | + | set color18 "df/e2/f1" # Base 01 |
|
| 29 | + | set color19 "97/9d/b4" # Base 02 |
|
| 30 | + | set color20 "6b/73/94" # Base 04 |
|
| 31 | + | set color21 "29/32/56" # Base 06 |
|
| 32 | + | set color_foreground "5e/66/87" # Base 05 |
|
| 33 | + | set color_background "f5/f7/ff" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 5e6687 # foreground |
|
| 65 | + | __put_template_custom Ph f5f7ff # background |
|
| 66 | + | __put_template_custom Pi 5e6687 # bold color |
|
| 67 | + | __put_template_custom Pj 979db4 # selection color |
|
| 68 | + | __put_template_custom Pk 5e6687 # selected text color |
|
| 69 | + | __put_template_custom Pl 5e6687 # cursor |
|
| 70 | + | __put_template_custom Pm f5f7ff # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3d8fd1" blue |
|
| 86 | + | set -gx fish_color_quote "ac9739" green |
|
| 87 | + | set -gx fish_color_redirection "c08b30" yellow |
|
| 88 | + | set -gx fish_color_end "22a2c9" cyan |
|
| 89 | + | set -gx fish_color_error "c94922" red |
|
| 90 | + | set -gx fish_color_param "293256" cyan |
|
| 91 | + | set -gx fish_color_comment "898ea4" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "5e6687" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c08b30" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "22a2c9" cyan |
|
| 97 | + | set -gx fish_color_escape "22a2c9" cyan |
|
| 98 | + | set -gx fish_color_cwd "ac9739" green |
|
| 99 | + | set -gx fish_color_cwd_root "c94922" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "898ea4" brblack |
|
| 102 | + | set -gx fish_color_user "ac9739" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c08b30" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "5e6687" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "202746" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f5" "f7" "ff" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-sulphurpool-light |
|
| 113 | + | set -U base16_fish_theme atelier-sulphurpool-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atelier Sulphurpool scheme by Bram de Haan (http://atelierbramdehaan.nl) |
|
| 4 | + | ||
| 5 | + | function base16-atelier-sulphurpool -d "base16 Atelier Sulphurpool theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "20/27/46" # Base 00 - Black |
|
| 11 | + | set color01 "c9/49/22" # Base 08 - Red |
|
| 12 | + | set color02 "ac/97/39" # Base 0B - Green |
|
| 13 | + | set color03 "c0/8b/30" # Base 0A - Yellow |
|
| 14 | + | set color04 "3d/8f/d1" # Base 0D - Blue |
|
| 15 | + | set color05 "66/79/cc" # Base 0E - Magenta |
|
| 16 | + | set color06 "22/a2/c9" # Base 0C - Cyan |
|
| 17 | + | set color07 "97/9d/b4" # Base 05 - White |
|
| 18 | + | set color08 "6b/73/94" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f5/f7/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "c7/6b/29" # Base 09 |
|
| 27 | + | set color17 "9c/63/7a" # Base 0F |
|
| 28 | + | set color18 "29/32/56" # Base 01 |
|
| 29 | + | set color19 "5e/66/87" # Base 02 |
|
| 30 | + | set color20 "89/8e/a4" # Base 04 |
|
| 31 | + | set color21 "df/e2/f1" # Base 06 |
|
| 32 | + | set color_foreground "97/9d/b4" # Base 05 |
|
| 33 | + | set color_background "20/27/46" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 979db4 # foreground |
|
| 65 | + | __put_template_custom Ph 202746 # background |
|
| 66 | + | __put_template_custom Pi 979db4 # bold color |
|
| 67 | + | __put_template_custom Pj 5e6687 # selection color |
|
| 68 | + | __put_template_custom Pk 979db4 # selected text color |
|
| 69 | + | __put_template_custom Pl 979db4 # cursor |
|
| 70 | + | __put_template_custom Pm 202746 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3d8fd1" blue |
|
| 86 | + | set -gx fish_color_quote "ac9739" green |
|
| 87 | + | set -gx fish_color_redirection "c08b30" yellow |
|
| 88 | + | set -gx fish_color_end "22a2c9" cyan |
|
| 89 | + | set -gx fish_color_error "c94922" red |
|
| 90 | + | set -gx fish_color_param "dfe2f1" cyan |
|
| 91 | + | set -gx fish_color_comment "6b7394" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "979db4" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c08b30" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "22a2c9" cyan |
|
| 97 | + | set -gx fish_color_escape "22a2c9" cyan |
|
| 98 | + | set -gx fish_color_cwd "ac9739" green |
|
| 99 | + | set -gx fish_color_cwd_root "c94922" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "6b7394" brblack |
|
| 102 | + | set -gx fish_color_user "ac9739" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c08b30" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "979db4" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f5f7ff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "20" "27" "46" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atelier-sulphurpool |
|
| 113 | + | set -U base16_fish_theme atelier-sulphurpool |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Atlas scheme by Alex Lende (https://ajlende.com) |
|
| 4 | + | ||
| 5 | + | function base16-atlas -d "base16 Atlas theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/26/35" # Base 00 - Black |
|
| 11 | + | set color01 "ff/5a/67" # Base 08 - Red |
|
| 12 | + | set color02 "7f/c0/6e" # Base 0B - Green |
|
| 13 | + | set color03 "ff/cc/1b" # Base 0A - Yellow |
|
| 14 | + | set color04 "5d/d7/b9" # Base 0D - Blue |
|
| 15 | + | set color05 "9a/70/a4" # Base 0E - Magenta |
|
| 16 | + | set color06 "14/74/7e" # Base 0C - Cyan |
|
| 17 | + | set color07 "a1/a1/9a" # Base 05 - White |
|
| 18 | + | set color08 "6c/8b/91" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fa/fa/f8" # Base 07 - Bright White |
|
| 26 | + | set color16 "f0/8e/48" # Base 09 |
|
| 27 | + | set color17 "c4/30/60" # Base 0F |
|
| 28 | + | set color18 "00/38/4d" # Base 01 |
|
| 29 | + | set color19 "51/7f/8d" # Base 02 |
|
| 30 | + | set color20 "86/96/96" # Base 04 |
|
| 31 | + | set color21 "e6/e6/dc" # Base 06 |
|
| 32 | + | set color_foreground "a1/a1/9a" # Base 05 |
|
| 33 | + | set color_background "00/26/35" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a1a19a # foreground |
|
| 65 | + | __put_template_custom Ph 002635 # background |
|
| 66 | + | __put_template_custom Pi a1a19a # bold color |
|
| 67 | + | __put_template_custom Pj 517f8d # selection color |
|
| 68 | + | __put_template_custom Pk a1a19a # selected text color |
|
| 69 | + | __put_template_custom Pl a1a19a # cursor |
|
| 70 | + | __put_template_custom Pm 002635 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "5dd7b9" blue |
|
| 86 | + | set -gx fish_color_quote "7fc06e" green |
|
| 87 | + | set -gx fish_color_redirection "ffcc1b" yellow |
|
| 88 | + | set -gx fish_color_end "14747e" cyan |
|
| 89 | + | set -gx fish_color_error "ff5a67" red |
|
| 90 | + | set -gx fish_color_param "e6e6dc" cyan |
|
| 91 | + | set -gx fish_color_comment "6c8b91" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a1a19a" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffcc1b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "14747e" cyan |
|
| 97 | + | set -gx fish_color_escape "14747e" cyan |
|
| 98 | + | set -gx fish_color_cwd "7fc06e" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff5a67" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "6c8b91" brblack |
|
| 102 | + | set -gx fish_color_user "7fc06e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffcc1b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a1a19a" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fafaf8" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "26" "35" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background atlas |
|
| 113 | + | set -U base16_fish_theme atlas |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Bespin scheme by Jan T. Sott |
|
| 4 | + | ||
| 5 | + | function base16-bespin -d "base16 Bespin theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "28/21/1c" # Base 00 - Black |
|
| 11 | + | set color01 "cf/6a/4c" # Base 08 - Red |
|
| 12 | + | set color02 "54/be/0d" # Base 0B - Green |
|
| 13 | + | set color03 "f9/ee/98" # Base 0A - Yellow |
|
| 14 | + | set color04 "5e/a6/ea" # Base 0D - Blue |
|
| 15 | + | set color05 "9b/85/9d" # Base 0E - Magenta |
|
| 16 | + | set color06 "af/c4/db" # Base 0C - Cyan |
|
| 17 | + | set color07 "8a/89/86" # Base 05 - White |
|
| 18 | + | set color08 "66/66/66" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ba/ae/9e" # Base 07 - Bright White |
|
| 26 | + | set color16 "cf/7d/34" # Base 09 |
|
| 27 | + | set color17 "93/71/21" # Base 0F |
|
| 28 | + | set color18 "36/31/2e" # Base 01 |
|
| 29 | + | set color19 "5e/5d/5c" # Base 02 |
|
| 30 | + | set color20 "79/79/77" # Base 04 |
|
| 31 | + | set color21 "9d/9b/97" # Base 06 |
|
| 32 | + | set color_foreground "8a/89/86" # Base 05 |
|
| 33 | + | set color_background "28/21/1c" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 8a8986 # foreground |
|
| 65 | + | __put_template_custom Ph 28211c # background |
|
| 66 | + | __put_template_custom Pi 8a8986 # bold color |
|
| 67 | + | __put_template_custom Pj 5e5d5c # selection color |
|
| 68 | + | __put_template_custom Pk 8a8986 # selected text color |
|
| 69 | + | __put_template_custom Pl 8a8986 # cursor |
|
| 70 | + | __put_template_custom Pm 28211c # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "5ea6ea" blue |
|
| 86 | + | set -gx fish_color_quote "54be0d" green |
|
| 87 | + | set -gx fish_color_redirection "f9ee98" yellow |
|
| 88 | + | set -gx fish_color_end "afc4db" cyan |
|
| 89 | + | set -gx fish_color_error "cf6a4c" red |
|
| 90 | + | set -gx fish_color_param "9d9b97" cyan |
|
| 91 | + | set -gx fish_color_comment "666666" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "8a8986" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f9ee98" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "afc4db" cyan |
|
| 97 | + | set -gx fish_color_escape "afc4db" cyan |
|
| 98 | + | set -gx fish_color_cwd "54be0d" green |
|
| 99 | + | set -gx fish_color_cwd_root "cf6a4c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "666666" brblack |
|
| 102 | + | set -gx fish_color_user "54be0d" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f9ee98" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "8a8986" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "baae9e" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "28" "21" "1c" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background bespin |
|
| 113 | + | set -U base16_fish_theme bespin |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Black Metal (Bathory) scheme by metalelf0 (https://github.com/metalelf0) |
|
| 4 | + | ||
| 5 | + | function base16-black-metal-bathory -d "base16 Black Metal (Bathory) theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "fb/cb/97" # Base 0B - Green |
|
| 13 | + | set color03 "e7/8a/53" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/88/88" # Base 0D - Blue |
|
| 15 | + | set color05 "99/99/99" # Base 0E - Magenta |
|
| 16 | + | set color06 "aa/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c1/c1" # Base 05 - White |
|
| 18 | + | set color08 "33/33/33" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c1/c1/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/aa/aa" # Base 09 |
|
| 27 | + | set color17 "44/44/44" # Base 0F |
|
| 28 | + | set color18 "12/12/12" # Base 01 |
|
| 29 | + | set color19 "22/22/22" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "99/99/99" # Base 06 |
|
| 32 | + | set color_foreground "c1/c1/c1" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c1c1 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c1c1c1 # bold color |
|
| 67 | + | __put_template_custom Pj 222222 # selection color |
|
| 68 | + | __put_template_custom Pk c1c1c1 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c1c1 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "888888" blue |
|
| 86 | + | set -gx fish_color_quote "fbcb97" green |
|
| 87 | + | set -gx fish_color_redirection "e78a53" yellow |
|
| 88 | + | set -gx fish_color_end "aaaaaa" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "999999" cyan |
|
| 91 | + | set -gx fish_color_comment "333333" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c1c1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "e78a53" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "aaaaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "aaaaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "fbcb97" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "333333" brblack |
|
| 102 | + | set -gx fish_color_user "fbcb97" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "e78a53" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c1c1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c1c1c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background black-metal-bathory |
|
| 113 | + | set -U base16_fish_theme black-metal-bathory |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Black Metal (Burzum) scheme by metalelf0 (https://github.com/metalelf0) |
|
| 4 | + | ||
| 5 | + | function base16-black-metal-burzum -d "base16 Black Metal (Burzum) theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "dd/ee/cc" # Base 0B - Green |
|
| 13 | + | set color03 "99/bb/aa" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/88/88" # Base 0D - Blue |
|
| 15 | + | set color05 "99/99/99" # Base 0E - Magenta |
|
| 16 | + | set color06 "aa/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c1/c1" # Base 05 - White |
|
| 18 | + | set color08 "33/33/33" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c1/c1/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/aa/aa" # Base 09 |
|
| 27 | + | set color17 "44/44/44" # Base 0F |
|
| 28 | + | set color18 "12/12/12" # Base 01 |
|
| 29 | + | set color19 "22/22/22" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "99/99/99" # Base 06 |
|
| 32 | + | set color_foreground "c1/c1/c1" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c1c1 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c1c1c1 # bold color |
|
| 67 | + | __put_template_custom Pj 222222 # selection color |
|
| 68 | + | __put_template_custom Pk c1c1c1 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c1c1 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "888888" blue |
|
| 86 | + | set -gx fish_color_quote "ddeecc" green |
|
| 87 | + | set -gx fish_color_redirection "99bbaa" yellow |
|
| 88 | + | set -gx fish_color_end "aaaaaa" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "999999" cyan |
|
| 91 | + | set -gx fish_color_comment "333333" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c1c1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "99bbaa" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "aaaaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "aaaaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "ddeecc" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "333333" brblack |
|
| 102 | + | set -gx fish_color_user "ddeecc" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "99bbaa" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c1c1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c1c1c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background black-metal-burzum |
|
| 113 | + | set -U base16_fish_theme black-metal-burzum |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Black Metal (Dark Funeral) scheme by metalelf0 (https://github.com/metalelf0) |
|
| 4 | + | ||
| 5 | + | function base16-black-metal-dark-funeral -d "base16 Black Metal (Dark Funeral) theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "d0/df/ee" # Base 0B - Green |
|
| 13 | + | set color03 "5f/81/a5" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/88/88" # Base 0D - Blue |
|
| 15 | + | set color05 "99/99/99" # Base 0E - Magenta |
|
| 16 | + | set color06 "aa/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c1/c1" # Base 05 - White |
|
| 18 | + | set color08 "33/33/33" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c1/c1/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/aa/aa" # Base 09 |
|
| 27 | + | set color17 "44/44/44" # Base 0F |
|
| 28 | + | set color18 "12/12/12" # Base 01 |
|
| 29 | + | set color19 "22/22/22" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "99/99/99" # Base 06 |
|
| 32 | + | set color_foreground "c1/c1/c1" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c1c1 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c1c1c1 # bold color |
|
| 67 | + | __put_template_custom Pj 222222 # selection color |
|
| 68 | + | __put_template_custom Pk c1c1c1 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c1c1 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "888888" blue |
|
| 86 | + | set -gx fish_color_quote "d0dfee" green |
|
| 87 | + | set -gx fish_color_redirection "5f81a5" yellow |
|
| 88 | + | set -gx fish_color_end "aaaaaa" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "999999" cyan |
|
| 91 | + | set -gx fish_color_comment "333333" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c1c1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "5f81a5" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "aaaaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "aaaaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "d0dfee" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "333333" brblack |
|
| 102 | + | set -gx fish_color_user "d0dfee" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "5f81a5" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c1c1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c1c1c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background black-metal-dark-funeral |
|
| 113 | + | set -U base16_fish_theme black-metal-dark-funeral |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Black Metal (Gorgoroth) scheme by metalelf0 (https://github.com/metalelf0) |
|
| 4 | + | ||
| 5 | + | function base16-black-metal-gorgoroth -d "base16 Black Metal (Gorgoroth) theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "9b/8d/7f" # Base 0B - Green |
|
| 13 | + | set color03 "8c/7f/70" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/88/88" # Base 0D - Blue |
|
| 15 | + | set color05 "99/99/99" # Base 0E - Magenta |
|
| 16 | + | set color06 "aa/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c1/c1" # Base 05 - White |
|
| 18 | + | set color08 "33/33/33" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c1/c1/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/aa/aa" # Base 09 |
|
| 27 | + | set color17 "44/44/44" # Base 0F |
|
| 28 | + | set color18 "12/12/12" # Base 01 |
|
| 29 | + | set color19 "22/22/22" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "99/99/99" # Base 06 |
|
| 32 | + | set color_foreground "c1/c1/c1" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c1c1 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c1c1c1 # bold color |
|
| 67 | + | __put_template_custom Pj 222222 # selection color |
|
| 68 | + | __put_template_custom Pk c1c1c1 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c1c1 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "888888" blue |
|
| 86 | + | set -gx fish_color_quote "9b8d7f" green |
|
| 87 | + | set -gx fish_color_redirection "8c7f70" yellow |
|
| 88 | + | set -gx fish_color_end "aaaaaa" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "999999" cyan |
|
| 91 | + | set -gx fish_color_comment "333333" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c1c1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "8c7f70" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "aaaaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "aaaaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "9b8d7f" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "333333" brblack |
|
| 102 | + | set -gx fish_color_user "9b8d7f" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "8c7f70" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c1c1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c1c1c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background black-metal-gorgoroth |
|
| 113 | + | set -U base16_fish_theme black-metal-gorgoroth |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Black Metal (Immortal) scheme by metalelf0 (https://github.com/metalelf0) |
|
| 4 | + | ||
| 5 | + | function base16-black-metal-immortal -d "base16 Black Metal (Immortal) theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "77/99/bb" # Base 0B - Green |
|
| 13 | + | set color03 "55/66/77" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/88/88" # Base 0D - Blue |
|
| 15 | + | set color05 "99/99/99" # Base 0E - Magenta |
|
| 16 | + | set color06 "aa/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c1/c1" # Base 05 - White |
|
| 18 | + | set color08 "33/33/33" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c1/c1/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/aa/aa" # Base 09 |
|
| 27 | + | set color17 "44/44/44" # Base 0F |
|
| 28 | + | set color18 "12/12/12" # Base 01 |
|
| 29 | + | set color19 "22/22/22" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "99/99/99" # Base 06 |
|
| 32 | + | set color_foreground "c1/c1/c1" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c1c1 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c1c1c1 # bold color |
|
| 67 | + | __put_template_custom Pj 222222 # selection color |
|
| 68 | + | __put_template_custom Pk c1c1c1 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c1c1 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "888888" blue |
|
| 86 | + | set -gx fish_color_quote "7799bb" green |
|
| 87 | + | set -gx fish_color_redirection "556677" yellow |
|
| 88 | + | set -gx fish_color_end "aaaaaa" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "999999" cyan |
|
| 91 | + | set -gx fish_color_comment "333333" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c1c1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "556677" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "aaaaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "aaaaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "7799bb" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "333333" brblack |
|
| 102 | + | set -gx fish_color_user "7799bb" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "556677" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c1c1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c1c1c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background black-metal-immortal |
|
| 113 | + | set -U base16_fish_theme black-metal-immortal |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Black Metal (Khold) scheme by metalelf0 (https://github.com/metalelf0) |
|
| 4 | + | ||
| 5 | + | function base16-black-metal-khold -d "base16 Black Metal (Khold) theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "ec/ee/e3" # Base 0B - Green |
|
| 13 | + | set color03 "97/4b/46" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/88/88" # Base 0D - Blue |
|
| 15 | + | set color05 "99/99/99" # Base 0E - Magenta |
|
| 16 | + | set color06 "aa/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c1/c1" # Base 05 - White |
|
| 18 | + | set color08 "33/33/33" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c1/c1/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/aa/aa" # Base 09 |
|
| 27 | + | set color17 "44/44/44" # Base 0F |
|
| 28 | + | set color18 "12/12/12" # Base 01 |
|
| 29 | + | set color19 "22/22/22" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "99/99/99" # Base 06 |
|
| 32 | + | set color_foreground "c1/c1/c1" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c1c1 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c1c1c1 # bold color |
|
| 67 | + | __put_template_custom Pj 222222 # selection color |
|
| 68 | + | __put_template_custom Pk c1c1c1 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c1c1 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "888888" blue |
|
| 86 | + | set -gx fish_color_quote "eceee3" green |
|
| 87 | + | set -gx fish_color_redirection "974b46" yellow |
|
| 88 | + | set -gx fish_color_end "aaaaaa" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "999999" cyan |
|
| 91 | + | set -gx fish_color_comment "333333" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c1c1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "974b46" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "aaaaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "aaaaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "eceee3" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "333333" brblack |
|
| 102 | + | set -gx fish_color_user "eceee3" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "974b46" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c1c1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c1c1c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background black-metal-khold |
|
| 113 | + | set -U base16_fish_theme black-metal-khold |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Black Metal (Marduk) scheme by metalelf0 (https://github.com/metalelf0) |
|
| 4 | + | ||
| 5 | + | function base16-black-metal-marduk -d "base16 Black Metal (Marduk) theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "a5/aa/a7" # Base 0B - Green |
|
| 13 | + | set color03 "62/6b/67" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/88/88" # Base 0D - Blue |
|
| 15 | + | set color05 "99/99/99" # Base 0E - Magenta |
|
| 16 | + | set color06 "aa/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c1/c1" # Base 05 - White |
|
| 18 | + | set color08 "33/33/33" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c1/c1/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/aa/aa" # Base 09 |
|
| 27 | + | set color17 "44/44/44" # Base 0F |
|
| 28 | + | set color18 "12/12/12" # Base 01 |
|
| 29 | + | set color19 "22/22/22" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "99/99/99" # Base 06 |
|
| 32 | + | set color_foreground "c1/c1/c1" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c1c1 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c1c1c1 # bold color |
|
| 67 | + | __put_template_custom Pj 222222 # selection color |
|
| 68 | + | __put_template_custom Pk c1c1c1 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c1c1 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "888888" blue |
|
| 86 | + | set -gx fish_color_quote "a5aaa7" green |
|
| 87 | + | set -gx fish_color_redirection "626b67" yellow |
|
| 88 | + | set -gx fish_color_end "aaaaaa" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "999999" cyan |
|
| 91 | + | set -gx fish_color_comment "333333" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c1c1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "626b67" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "aaaaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "aaaaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "a5aaa7" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "333333" brblack |
|
| 102 | + | set -gx fish_color_user "a5aaa7" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "626b67" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c1c1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c1c1c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background black-metal-marduk |
|
| 113 | + | set -U base16_fish_theme black-metal-marduk |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Black Metal (Mayhem) scheme by metalelf0 (https://github.com/metalelf0) |
|
| 4 | + | ||
| 5 | + | function base16-black-metal-mayhem -d "base16 Black Metal (Mayhem) theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "f3/ec/d4" # Base 0B - Green |
|
| 13 | + | set color03 "ee/cc/6c" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/88/88" # Base 0D - Blue |
|
| 15 | + | set color05 "99/99/99" # Base 0E - Magenta |
|
| 16 | + | set color06 "aa/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c1/c1" # Base 05 - White |
|
| 18 | + | set color08 "33/33/33" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c1/c1/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/aa/aa" # Base 09 |
|
| 27 | + | set color17 "44/44/44" # Base 0F |
|
| 28 | + | set color18 "12/12/12" # Base 01 |
|
| 29 | + | set color19 "22/22/22" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "99/99/99" # Base 06 |
|
| 32 | + | set color_foreground "c1/c1/c1" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c1c1 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c1c1c1 # bold color |
|
| 67 | + | __put_template_custom Pj 222222 # selection color |
|
| 68 | + | __put_template_custom Pk c1c1c1 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c1c1 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "888888" blue |
|
| 86 | + | set -gx fish_color_quote "f3ecd4" green |
|
| 87 | + | set -gx fish_color_redirection "eecc6c" yellow |
|
| 88 | + | set -gx fish_color_end "aaaaaa" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "999999" cyan |
|
| 91 | + | set -gx fish_color_comment "333333" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c1c1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "eecc6c" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "aaaaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "aaaaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "f3ecd4" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "333333" brblack |
|
| 102 | + | set -gx fish_color_user "f3ecd4" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "eecc6c" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c1c1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c1c1c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background black-metal-mayhem |
|
| 113 | + | set -U base16_fish_theme black-metal-mayhem |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Black Metal (Nile) scheme by metalelf0 (https://github.com/metalelf0) |
|
| 4 | + | ||
| 5 | + | function base16-black-metal-nile -d "base16 Black Metal (Nile) theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "aa/99/88" # Base 0B - Green |
|
| 13 | + | set color03 "77/77/55" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/88/88" # Base 0D - Blue |
|
| 15 | + | set color05 "99/99/99" # Base 0E - Magenta |
|
| 16 | + | set color06 "aa/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c1/c1" # Base 05 - White |
|
| 18 | + | set color08 "33/33/33" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c1/c1/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/aa/aa" # Base 09 |
|
| 27 | + | set color17 "44/44/44" # Base 0F |
|
| 28 | + | set color18 "12/12/12" # Base 01 |
|
| 29 | + | set color19 "22/22/22" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "99/99/99" # Base 06 |
|
| 32 | + | set color_foreground "c1/c1/c1" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c1c1 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c1c1c1 # bold color |
|
| 67 | + | __put_template_custom Pj 222222 # selection color |
|
| 68 | + | __put_template_custom Pk c1c1c1 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c1c1 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "888888" blue |
|
| 86 | + | set -gx fish_color_quote "aa9988" green |
|
| 87 | + | set -gx fish_color_redirection "777755" yellow |
|
| 88 | + | set -gx fish_color_end "aaaaaa" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "999999" cyan |
|
| 91 | + | set -gx fish_color_comment "333333" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c1c1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "777755" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "aaaaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "aaaaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "aa9988" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "333333" brblack |
|
| 102 | + | set -gx fish_color_user "aa9988" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "777755" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c1c1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c1c1c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background black-metal-nile |
|
| 113 | + | set -U base16_fish_theme black-metal-nile |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Black Metal (Venom) scheme by metalelf0 (https://github.com/metalelf0) |
|
| 4 | + | ||
| 5 | + | function base16-black-metal-venom -d "base16 Black Metal (Venom) theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "f8/f7/f2" # Base 0B - Green |
|
| 13 | + | set color03 "79/24/1f" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/88/88" # Base 0D - Blue |
|
| 15 | + | set color05 "99/99/99" # Base 0E - Magenta |
|
| 16 | + | set color06 "aa/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c1/c1" # Base 05 - White |
|
| 18 | + | set color08 "33/33/33" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c1/c1/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/aa/aa" # Base 09 |
|
| 27 | + | set color17 "44/44/44" # Base 0F |
|
| 28 | + | set color18 "12/12/12" # Base 01 |
|
| 29 | + | set color19 "22/22/22" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "99/99/99" # Base 06 |
|
| 32 | + | set color_foreground "c1/c1/c1" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c1c1 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c1c1c1 # bold color |
|
| 67 | + | __put_template_custom Pj 222222 # selection color |
|
| 68 | + | __put_template_custom Pk c1c1c1 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c1c1 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "888888" blue |
|
| 86 | + | set -gx fish_color_quote "f8f7f2" green |
|
| 87 | + | set -gx fish_color_redirection "79241f" yellow |
|
| 88 | + | set -gx fish_color_end "aaaaaa" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "999999" cyan |
|
| 91 | + | set -gx fish_color_comment "333333" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c1c1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "79241f" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "aaaaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "aaaaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "f8f7f2" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "333333" brblack |
|
| 102 | + | set -gx fish_color_user "f8f7f2" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "79241f" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c1c1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c1c1c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background black-metal-venom |
|
| 113 | + | set -U base16_fish_theme black-metal-venom |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Black Metal scheme by metalelf0 (https://github.com/metalelf0) |
|
| 4 | + | ||
| 5 | + | function base16-black-metal -d "base16 Black Metal theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "5f/87/87" # Base 08 - Red |
|
| 12 | + | set color02 "dd/99/99" # Base 0B - Green |
|
| 13 | + | set color03 "a0/66/66" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/88/88" # Base 0D - Blue |
|
| 15 | + | set color05 "99/99/99" # Base 0E - Magenta |
|
| 16 | + | set color06 "aa/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c1/c1" # Base 05 - White |
|
| 18 | + | set color08 "33/33/33" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c1/c1/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/aa/aa" # Base 09 |
|
| 27 | + | set color17 "44/44/44" # Base 0F |
|
| 28 | + | set color18 "12/12/12" # Base 01 |
|
| 29 | + | set color19 "22/22/22" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "99/99/99" # Base 06 |
|
| 32 | + | set color_foreground "c1/c1/c1" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c1c1 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c1c1c1 # bold color |
|
| 67 | + | __put_template_custom Pj 222222 # selection color |
|
| 68 | + | __put_template_custom Pk c1c1c1 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c1c1 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "888888" blue |
|
| 86 | + | set -gx fish_color_quote "dd9999" green |
|
| 87 | + | set -gx fish_color_redirection "a06666" yellow |
|
| 88 | + | set -gx fish_color_end "aaaaaa" cyan |
|
| 89 | + | set -gx fish_color_error "5f8787" red |
|
| 90 | + | set -gx fish_color_param "999999" cyan |
|
| 91 | + | set -gx fish_color_comment "333333" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c1c1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a06666" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "aaaaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "aaaaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "dd9999" green |
|
| 99 | + | set -gx fish_color_cwd_root "5f8787" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "333333" brblack |
|
| 102 | + | set -gx fish_color_user "dd9999" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a06666" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c1c1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c1c1c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background black-metal |
|
| 113 | + | set -U base16_fish_theme black-metal |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Brewer scheme by Timothée Poisot (http://github.com/tpoisot) |
|
| 4 | + | ||
| 5 | + | function base16-brewer -d "base16 Brewer theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "0c/0d/0e" # Base 00 - Black |
|
| 11 | + | set color01 "e3/1a/1c" # Base 08 - Red |
|
| 12 | + | set color02 "31/a3/54" # Base 0B - Green |
|
| 13 | + | set color03 "dc/a0/60" # Base 0A - Yellow |
|
| 14 | + | set color04 "31/82/bd" # Base 0D - Blue |
|
| 15 | + | set color05 "75/6b/b1" # Base 0E - Magenta |
|
| 16 | + | set color06 "80/b1/d3" # Base 0C - Cyan |
|
| 17 | + | set color07 "b7/b8/b9" # Base 05 - White |
|
| 18 | + | set color08 "73/74/75" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fc/fd/fe" # Base 07 - Bright White |
|
| 26 | + | set color16 "e6/55/0d" # Base 09 |
|
| 27 | + | set color17 "b1/59/28" # Base 0F |
|
| 28 | + | set color18 "2e/2f/30" # Base 01 |
|
| 29 | + | set color19 "51/52/53" # Base 02 |
|
| 30 | + | set color20 "95/96/97" # Base 04 |
|
| 31 | + | set color21 "da/db/dc" # Base 06 |
|
| 32 | + | set color_foreground "b7/b8/b9" # Base 05 |
|
| 33 | + | set color_background "0c/0d/0e" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg b7b8b9 # foreground |
|
| 65 | + | __put_template_custom Ph 0c0d0e # background |
|
| 66 | + | __put_template_custom Pi b7b8b9 # bold color |
|
| 67 | + | __put_template_custom Pj 515253 # selection color |
|
| 68 | + | __put_template_custom Pk b7b8b9 # selected text color |
|
| 69 | + | __put_template_custom Pl b7b8b9 # cursor |
|
| 70 | + | __put_template_custom Pm 0c0d0e # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3182bd" blue |
|
| 86 | + | set -gx fish_color_quote "31a354" green |
|
| 87 | + | set -gx fish_color_redirection "dca060" yellow |
|
| 88 | + | set -gx fish_color_end "80b1d3" cyan |
|
| 89 | + | set -gx fish_color_error "e31a1c" red |
|
| 90 | + | set -gx fish_color_param "dadbdc" cyan |
|
| 91 | + | set -gx fish_color_comment "737475" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "b7b8b9" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "dca060" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "80b1d3" cyan |
|
| 97 | + | set -gx fish_color_escape "80b1d3" cyan |
|
| 98 | + | set -gx fish_color_cwd "31a354" green |
|
| 99 | + | set -gx fish_color_cwd_root "e31a1c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "737475" brblack |
|
| 102 | + | set -gx fish_color_user "31a354" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "dca060" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "b7b8b9" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fcfdfe" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "0c" "0d" "0e" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background brewer |
|
| 113 | + | set -U base16_fish_theme brewer |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Bright scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-bright -d "base16 Bright theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "fb/01/20" # Base 08 - Red |
|
| 12 | + | set color02 "a1/c6/59" # Base 0B - Green |
|
| 13 | + | set color03 "fd/a3/31" # Base 0A - Yellow |
|
| 14 | + | set color04 "6f/b3/d2" # Base 0D - Blue |
|
| 15 | + | set color05 "d3/81/c3" # Base 0E - Magenta |
|
| 16 | + | set color06 "76/c7/b7" # Base 0C - Cyan |
|
| 17 | + | set color07 "e0/e0/e0" # Base 05 - White |
|
| 18 | + | set color08 "b0/b0/b0" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "fc/6d/24" # Base 09 |
|
| 27 | + | set color17 "be/64/3c" # Base 0F |
|
| 28 | + | set color18 "30/30/30" # Base 01 |
|
| 29 | + | set color19 "50/50/50" # Base 02 |
|
| 30 | + | set color20 "d0/d0/d0" # Base 04 |
|
| 31 | + | set color21 "f5/f5/f5" # Base 06 |
|
| 32 | + | set color_foreground "e0/e0/e0" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg e0e0e0 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi e0e0e0 # bold color |
|
| 67 | + | __put_template_custom Pj 505050 # selection color |
|
| 68 | + | __put_template_custom Pk e0e0e0 # selected text color |
|
| 69 | + | __put_template_custom Pl e0e0e0 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6fb3d2" blue |
|
| 86 | + | set -gx fish_color_quote "a1c659" green |
|
| 87 | + | set -gx fish_color_redirection "fda331" yellow |
|
| 88 | + | set -gx fish_color_end "76c7b7" cyan |
|
| 89 | + | set -gx fish_color_error "fb0120" red |
|
| 90 | + | set -gx fish_color_param "f5f5f5" cyan |
|
| 91 | + | set -gx fish_color_comment "b0b0b0" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "e0e0e0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fda331" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "76c7b7" cyan |
|
| 97 | + | set -gx fish_color_escape "76c7b7" cyan |
|
| 98 | + | set -gx fish_color_cwd "a1c659" green |
|
| 99 | + | set -gx fish_color_cwd_root "fb0120" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "b0b0b0" brblack |
|
| 102 | + | set -gx fish_color_user "a1c659" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fda331" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "e0e0e0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background bright |
|
| 113 | + | set -U base16_fish_theme bright |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Brogrammer scheme by Vik Ramanujam (http://github.com/piggyslasher) |
|
| 4 | + | ||
| 5 | + | function base16-brogrammer -d "base16 Brogrammer theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1f/1f/1f" # Base 00 - Black |
|
| 11 | + | set color01 "d6/db/e5" # Base 08 - Red |
|
| 12 | + | set color02 "f3/bd/09" # Base 0B - Green |
|
| 13 | + | set color03 "1d/d3/61" # Base 0A - Yellow |
|
| 14 | + | set color04 "53/50/b9" # Base 0D - Blue |
|
| 15 | + | set color05 "0f/7d/db" # Base 0E - Magenta |
|
| 16 | + | set color06 "10/81/d6" # Base 0C - Cyan |
|
| 17 | + | set color07 "4e/5a/b7" # Base 05 - White |
|
| 18 | + | set color08 "ec/ba/0f" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "d6/db/e5" # Base 07 - Bright White |
|
| 26 | + | set color16 "de/35/2e" # Base 09 |
|
| 27 | + | set color17 "ff/ff/ff" # Base 0F |
|
| 28 | + | set color18 "f8/11/18" # Base 01 |
|
| 29 | + | set color19 "2d/c5/5e" # Base 02 |
|
| 30 | + | set color20 "2a/84/d2" # Base 04 |
|
| 31 | + | set color21 "10/81/d6" # Base 06 |
|
| 32 | + | set color_foreground "4e/5a/b7" # Base 05 |
|
| 33 | + | set color_background "1f/1f/1f" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 4e5ab7 # foreground |
|
| 65 | + | __put_template_custom Ph 1f1f1f # background |
|
| 66 | + | __put_template_custom Pi 4e5ab7 # bold color |
|
| 67 | + | __put_template_custom Pj 2dc55e # selection color |
|
| 68 | + | __put_template_custom Pk 4e5ab7 # selected text color |
|
| 69 | + | __put_template_custom Pl 4e5ab7 # cursor |
|
| 70 | + | __put_template_custom Pm 1f1f1f # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "5350b9" blue |
|
| 86 | + | set -gx fish_color_quote "f3bd09" green |
|
| 87 | + | set -gx fish_color_redirection "1dd361" yellow |
|
| 88 | + | set -gx fish_color_end "1081d6" cyan |
|
| 89 | + | set -gx fish_color_error "d6dbe5" red |
|
| 90 | + | set -gx fish_color_param "1081d6" cyan |
|
| 91 | + | set -gx fish_color_comment "ecba0f" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "4e5ab7" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "1dd361" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1081d6" cyan |
|
| 97 | + | set -gx fish_color_escape "1081d6" cyan |
|
| 98 | + | set -gx fish_color_cwd "f3bd09" green |
|
| 99 | + | set -gx fish_color_cwd_root "d6dbe5" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "ecba0f" brblack |
|
| 102 | + | set -gx fish_color_user "f3bd09" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "1dd361" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "4e5ab7" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "d6dbe5" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1f" "1f" "1f" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background brogrammer |
|
| 113 | + | set -U base16_fish_theme brogrammer |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Brush Trees Dark scheme by Abraham White <abelincoln.white@gmail.com> |
|
| 4 | + | ||
| 5 | + | function base16-brushtrees-dark -d "base16 Brush Trees Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "48/58/67" # Base 00 - Black |
|
| 11 | + | set color01 "b3/86/86" # Base 08 - Red |
|
| 12 | + | set color02 "87/b3/86" # Base 0B - Green |
|
| 13 | + | set color03 "aa/b3/86" # Base 0A - Yellow |
|
| 14 | + | set color04 "86/8c/b3" # Base 0D - Blue |
|
| 15 | + | set color05 "b3/86/b2" # Base 0E - Magenta |
|
| 16 | + | set color06 "86/b3/b3" # Base 0C - Cyan |
|
| 17 | + | set color07 "b0/c5/c8" # Base 05 - White |
|
| 18 | + | set color08 "82/99/a1" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "e3/ef/ef" # Base 07 - Bright White |
|
| 26 | + | set color16 "d8/bb/a2" # Base 09 |
|
| 27 | + | set color17 "b3/9f/9f" # Base 0F |
|
| 28 | + | set color18 "5a/6d/7a" # Base 01 |
|
| 29 | + | set color19 "6d/82/8e" # Base 02 |
|
| 30 | + | set color20 "98/af/b5" # Base 04 |
|
| 31 | + | set color21 "c9/db/dc" # Base 06 |
|
| 32 | + | set color_foreground "b0/c5/c8" # Base 05 |
|
| 33 | + | set color_background "48/58/67" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg b0c5c8 # foreground |
|
| 65 | + | __put_template_custom Ph 485867 # background |
|
| 66 | + | __put_template_custom Pi b0c5c8 # bold color |
|
| 67 | + | __put_template_custom Pj 6d828e # selection color |
|
| 68 | + | __put_template_custom Pk b0c5c8 # selected text color |
|
| 69 | + | __put_template_custom Pl b0c5c8 # cursor |
|
| 70 | + | __put_template_custom Pm 485867 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "868cb3" blue |
|
| 86 | + | set -gx fish_color_quote "87b386" green |
|
| 87 | + | set -gx fish_color_redirection "aab386" yellow |
|
| 88 | + | set -gx fish_color_end "86b3b3" cyan |
|
| 89 | + | set -gx fish_color_error "b38686" red |
|
| 90 | + | set -gx fish_color_param "c9dbdc" cyan |
|
| 91 | + | set -gx fish_color_comment "8299a1" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "b0c5c8" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "aab386" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "86b3b3" cyan |
|
| 97 | + | set -gx fish_color_escape "86b3b3" cyan |
|
| 98 | + | set -gx fish_color_cwd "87b386" green |
|
| 99 | + | set -gx fish_color_cwd_root "b38686" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "8299a1" brblack |
|
| 102 | + | set -gx fish_color_user "87b386" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "aab386" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "b0c5c8" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "e3efef" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "48" "58" "67" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background brushtrees-dark |
|
| 113 | + | set -U base16_fish_theme brushtrees-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Brush Trees scheme by Abraham White <abelincoln.white@gmail.com> |
|
| 4 | + | ||
| 5 | + | function base16-brushtrees -d "base16 Brush Trees theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "e3/ef/ef" # Base 00 - Black |
|
| 11 | + | set color01 "b3/86/86" # Base 08 - Red |
|
| 12 | + | set color02 "87/b3/86" # Base 0B - Green |
|
| 13 | + | set color03 "aa/b3/86" # Base 0A - Yellow |
|
| 14 | + | set color04 "86/8c/b3" # Base 0D - Blue |
|
| 15 | + | set color05 "b3/86/b2" # Base 0E - Magenta |
|
| 16 | + | set color06 "86/b3/b3" # Base 0C - Cyan |
|
| 17 | + | set color07 "6d/82/8e" # Base 05 - White |
|
| 18 | + | set color08 "98/af/b5" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "48/58/67" # Base 07 - Bright White |
|
| 26 | + | set color16 "d8/bb/a2" # Base 09 |
|
| 27 | + | set color17 "b3/9f/9f" # Base 0F |
|
| 28 | + | set color18 "c9/db/dc" # Base 01 |
|
| 29 | + | set color19 "b0/c5/c8" # Base 02 |
|
| 30 | + | set color20 "82/99/a1" # Base 04 |
|
| 31 | + | set color21 "5a/6d/7a" # Base 06 |
|
| 32 | + | set color_foreground "6d/82/8e" # Base 05 |
|
| 33 | + | set color_background "e3/ef/ef" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 6d828e # foreground |
|
| 65 | + | __put_template_custom Ph e3efef # background |
|
| 66 | + | __put_template_custom Pi 6d828e # bold color |
|
| 67 | + | __put_template_custom Pj b0c5c8 # selection color |
|
| 68 | + | __put_template_custom Pk 6d828e # selected text color |
|
| 69 | + | __put_template_custom Pl 6d828e # cursor |
|
| 70 | + | __put_template_custom Pm e3efef # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "868cb3" blue |
|
| 86 | + | set -gx fish_color_quote "87b386" green |
|
| 87 | + | set -gx fish_color_redirection "aab386" yellow |
|
| 88 | + | set -gx fish_color_end "86b3b3" cyan |
|
| 89 | + | set -gx fish_color_error "b38686" red |
|
| 90 | + | set -gx fish_color_param "5a6d7a" cyan |
|
| 91 | + | set -gx fish_color_comment "98afb5" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "6d828e" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "aab386" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "86b3b3" cyan |
|
| 97 | + | set -gx fish_color_escape "86b3b3" cyan |
|
| 98 | + | set -gx fish_color_cwd "87b386" green |
|
| 99 | + | set -gx fish_color_cwd_root "b38686" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "98afb5" brblack |
|
| 102 | + | set -gx fish_color_user "87b386" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "aab386" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "6d828e" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "485867" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "e3" "ef" "ef" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background brushtrees |
|
| 113 | + | set -U base16_fish_theme brushtrees |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Chalk scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-chalk -d "base16 Chalk theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "15/15/15" # Base 00 - Black |
|
| 11 | + | set color01 "fb/9f/b1" # Base 08 - Red |
|
| 12 | + | set color02 "ac/c2/67" # Base 0B - Green |
|
| 13 | + | set color03 "dd/b2/6f" # Base 0A - Yellow |
|
| 14 | + | set color04 "6f/c2/ef" # Base 0D - Blue |
|
| 15 | + | set color05 "e1/a3/ee" # Base 0E - Magenta |
|
| 16 | + | set color06 "12/cf/c0" # Base 0C - Cyan |
|
| 17 | + | set color07 "d0/d0/d0" # Base 05 - White |
|
| 18 | + | set color08 "50/50/50" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f5/f5/f5" # Base 07 - Bright White |
|
| 26 | + | set color16 "ed/a9/87" # Base 09 |
|
| 27 | + | set color17 "de/af/8f" # Base 0F |
|
| 28 | + | set color18 "20/20/20" # Base 01 |
|
| 29 | + | set color19 "30/30/30" # Base 02 |
|
| 30 | + | set color20 "b0/b0/b0" # Base 04 |
|
| 31 | + | set color21 "e0/e0/e0" # Base 06 |
|
| 32 | + | set color_foreground "d0/d0/d0" # Base 05 |
|
| 33 | + | set color_background "15/15/15" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d0d0d0 # foreground |
|
| 65 | + | __put_template_custom Ph 151515 # background |
|
| 66 | + | __put_template_custom Pi d0d0d0 # bold color |
|
| 67 | + | __put_template_custom Pj 303030 # selection color |
|
| 68 | + | __put_template_custom Pk d0d0d0 # selected text color |
|
| 69 | + | __put_template_custom Pl d0d0d0 # cursor |
|
| 70 | + | __put_template_custom Pm 151515 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6fc2ef" blue |
|
| 86 | + | set -gx fish_color_quote "acc267" green |
|
| 87 | + | set -gx fish_color_redirection "ddb26f" yellow |
|
| 88 | + | set -gx fish_color_end "12cfc0" cyan |
|
| 89 | + | set -gx fish_color_error "fb9fb1" red |
|
| 90 | + | set -gx fish_color_param "e0e0e0" cyan |
|
| 91 | + | set -gx fish_color_comment "505050" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d0d0d0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ddb26f" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "12cfc0" cyan |
|
| 97 | + | set -gx fish_color_escape "12cfc0" cyan |
|
| 98 | + | set -gx fish_color_cwd "acc267" green |
|
| 99 | + | set -gx fish_color_cwd_root "fb9fb1" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "505050" brblack |
|
| 102 | + | set -gx fish_color_user "acc267" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ddb26f" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d0d0d0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f5f5f5" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "15" "15" "15" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background chalk |
|
| 113 | + | set -U base16_fish_theme chalk |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Circus scheme by Stephan Boyer (https://github.com/stepchowfun) and Esther Wang (https://github.com/ewang12) |
|
| 4 | + | ||
| 5 | + | function base16-circus -d "base16 Circus theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "19/19/19" # Base 00 - Black |
|
| 11 | + | set color01 "dc/65/7d" # Base 08 - Red |
|
| 12 | + | set color02 "84/b9/7c" # Base 0B - Green |
|
| 13 | + | set color03 "c3/ba/63" # Base 0A - Yellow |
|
| 14 | + | set color04 "63/9e/e4" # Base 0D - Blue |
|
| 15 | + | set color05 "b8/88/e2" # Base 0E - Magenta |
|
| 16 | + | set color06 "4b/b1/a7" # Base 0C - Cyan |
|
| 17 | + | set color07 "a7/a7/a7" # Base 05 - White |
|
| 18 | + | set color08 "5f/5a/60" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "4b/b1/a7" # Base 09 |
|
| 27 | + | set color17 "b8/88/e2" # Base 0F |
|
| 28 | + | set color18 "20/20/20" # Base 01 |
|
| 29 | + | set color19 "30/30/30" # Base 02 |
|
| 30 | + | set color20 "50/50/50" # Base 04 |
|
| 31 | + | set color21 "80/80/80" # Base 06 |
|
| 32 | + | set color_foreground "a7/a7/a7" # Base 05 |
|
| 33 | + | set color_background "19/19/19" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a7a7a7 # foreground |
|
| 65 | + | __put_template_custom Ph 191919 # background |
|
| 66 | + | __put_template_custom Pi a7a7a7 # bold color |
|
| 67 | + | __put_template_custom Pj 303030 # selection color |
|
| 68 | + | __put_template_custom Pk a7a7a7 # selected text color |
|
| 69 | + | __put_template_custom Pl a7a7a7 # cursor |
|
| 70 | + | __put_template_custom Pm 191919 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "639ee4" blue |
|
| 86 | + | set -gx fish_color_quote "84b97c" green |
|
| 87 | + | set -gx fish_color_redirection "c3ba63" yellow |
|
| 88 | + | set -gx fish_color_end "4bb1a7" cyan |
|
| 89 | + | set -gx fish_color_error "dc657d" red |
|
| 90 | + | set -gx fish_color_param "808080" cyan |
|
| 91 | + | set -gx fish_color_comment "5f5a60" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a7a7a7" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c3ba63" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "4bb1a7" cyan |
|
| 97 | + | set -gx fish_color_escape "4bb1a7" cyan |
|
| 98 | + | set -gx fish_color_cwd "84b97c" green |
|
| 99 | + | set -gx fish_color_cwd_root "dc657d" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "5f5a60" brblack |
|
| 102 | + | set -gx fish_color_user "84b97c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c3ba63" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a7a7a7" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "19" "19" "19" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background circus |
|
| 113 | + | set -U base16_fish_theme circus |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Classic Dark scheme by Jason Heeris (http://heeris.id.au) |
|
| 4 | + | ||
| 5 | + | function base16-classic-dark -d "base16 Classic Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "15/15/15" # Base 00 - Black |
|
| 11 | + | set color01 "ac/41/42" # Base 08 - Red |
|
| 12 | + | set color02 "90/a9/59" # Base 0B - Green |
|
| 13 | + | set color03 "f4/bf/75" # Base 0A - Yellow |
|
| 14 | + | set color04 "6a/9f/b5" # Base 0D - Blue |
|
| 15 | + | set color05 "aa/75/9f" # Base 0E - Magenta |
|
| 16 | + | set color06 "75/b5/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "d0/d0/d0" # Base 05 - White |
|
| 18 | + | set color08 "50/50/50" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f5/f5/f5" # Base 07 - Bright White |
|
| 26 | + | set color16 "d2/84/45" # Base 09 |
|
| 27 | + | set color17 "8f/55/36" # Base 0F |
|
| 28 | + | set color18 "20/20/20" # Base 01 |
|
| 29 | + | set color19 "30/30/30" # Base 02 |
|
| 30 | + | set color20 "b0/b0/b0" # Base 04 |
|
| 31 | + | set color21 "e0/e0/e0" # Base 06 |
|
| 32 | + | set color_foreground "d0/d0/d0" # Base 05 |
|
| 33 | + | set color_background "15/15/15" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d0d0d0 # foreground |
|
| 65 | + | __put_template_custom Ph 151515 # background |
|
| 66 | + | __put_template_custom Pi d0d0d0 # bold color |
|
| 67 | + | __put_template_custom Pj 303030 # selection color |
|
| 68 | + | __put_template_custom Pk d0d0d0 # selected text color |
|
| 69 | + | __put_template_custom Pl d0d0d0 # cursor |
|
| 70 | + | __put_template_custom Pm 151515 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6a9fb5" blue |
|
| 86 | + | set -gx fish_color_quote "90a959" green |
|
| 87 | + | set -gx fish_color_redirection "f4bf75" yellow |
|
| 88 | + | set -gx fish_color_end "75b5aa" cyan |
|
| 89 | + | set -gx fish_color_error "ac4142" red |
|
| 90 | + | set -gx fish_color_param "e0e0e0" cyan |
|
| 91 | + | set -gx fish_color_comment "505050" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d0d0d0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f4bf75" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "75b5aa" cyan |
|
| 97 | + | set -gx fish_color_escape "75b5aa" cyan |
|
| 98 | + | set -gx fish_color_cwd "90a959" green |
|
| 99 | + | set -gx fish_color_cwd_root "ac4142" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "505050" brblack |
|
| 102 | + | set -gx fish_color_user "90a959" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f4bf75" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d0d0d0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f5f5f5" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "15" "15" "15" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background classic-dark |
|
| 113 | + | set -U base16_fish_theme classic-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Classic Light scheme by Jason Heeris (http://heeris.id.au) |
|
| 4 | + | ||
| 5 | + | function base16-classic-light -d "base16 Classic Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f5/f5/f5" # Base 00 - Black |
|
| 11 | + | set color01 "ac/41/42" # Base 08 - Red |
|
| 12 | + | set color02 "90/a9/59" # Base 0B - Green |
|
| 13 | + | set color03 "f4/bf/75" # Base 0A - Yellow |
|
| 14 | + | set color04 "6a/9f/b5" # Base 0D - Blue |
|
| 15 | + | set color05 "aa/75/9f" # Base 0E - Magenta |
|
| 16 | + | set color06 "75/b5/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "30/30/30" # Base 05 - White |
|
| 18 | + | set color08 "b0/b0/b0" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "15/15/15" # Base 07 - Bright White |
|
| 26 | + | set color16 "d2/84/45" # Base 09 |
|
| 27 | + | set color17 "8f/55/36" # Base 0F |
|
| 28 | + | set color18 "e0/e0/e0" # Base 01 |
|
| 29 | + | set color19 "d0/d0/d0" # Base 02 |
|
| 30 | + | set color20 "50/50/50" # Base 04 |
|
| 31 | + | set color21 "20/20/20" # Base 06 |
|
| 32 | + | set color_foreground "30/30/30" # Base 05 |
|
| 33 | + | set color_background "f5/f5/f5" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 303030 # foreground |
|
| 65 | + | __put_template_custom Ph f5f5f5 # background |
|
| 66 | + | __put_template_custom Pi 303030 # bold color |
|
| 67 | + | __put_template_custom Pj d0d0d0 # selection color |
|
| 68 | + | __put_template_custom Pk 303030 # selected text color |
|
| 69 | + | __put_template_custom Pl 303030 # cursor |
|
| 70 | + | __put_template_custom Pm f5f5f5 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6a9fb5" blue |
|
| 86 | + | set -gx fish_color_quote "90a959" green |
|
| 87 | + | set -gx fish_color_redirection "f4bf75" yellow |
|
| 88 | + | set -gx fish_color_end "75b5aa" cyan |
|
| 89 | + | set -gx fish_color_error "ac4142" red |
|
| 90 | + | set -gx fish_color_param "202020" cyan |
|
| 91 | + | set -gx fish_color_comment "b0b0b0" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "303030" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f4bf75" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "75b5aa" cyan |
|
| 97 | + | set -gx fish_color_escape "75b5aa" cyan |
|
| 98 | + | set -gx fish_color_cwd "90a959" green |
|
| 99 | + | set -gx fish_color_cwd_root "ac4142" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "b0b0b0" brblack |
|
| 102 | + | set -gx fish_color_user "90a959" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f4bf75" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "303030" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "151515" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f5" "f5" "f5" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background classic-light |
|
| 113 | + | set -U base16_fish_theme classic-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Codeschool scheme by blockloop |
|
| 4 | + | ||
| 5 | + | function base16-codeschool -d "base16 Codeschool theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "23/2c/31" # Base 00 - Black |
|
| 11 | + | set color01 "2a/54/91" # Base 08 - Red |
|
| 12 | + | set color02 "23/79/86" # Base 0B - Green |
|
| 13 | + | set color03 "a0/3b/1e" # Base 0A - Yellow |
|
| 14 | + | set color04 "48/4d/79" # Base 0D - Blue |
|
| 15 | + | set color05 "c5/98/20" # Base 0E - Magenta |
|
| 16 | + | set color06 "b0/2f/30" # Base 0C - Cyan |
|
| 17 | + | set color07 "9e/a7/a6" # Base 05 - White |
|
| 18 | + | set color08 "3f/49/44" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "b5/d8/f6" # Base 07 - Bright White |
|
| 26 | + | set color16 "43/82/0d" # Base 09 |
|
| 27 | + | set color17 "c9/83/44" # Base 0F |
|
| 28 | + | set color18 "1c/36/57" # Base 01 |
|
| 29 | + | set color19 "2a/34/3a" # Base 02 |
|
| 30 | + | set color20 "84/89/8c" # Base 04 |
|
| 31 | + | set color21 "a7/cf/a3" # Base 06 |
|
| 32 | + | set color_foreground "9e/a7/a6" # Base 05 |
|
| 33 | + | set color_background "23/2c/31" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 9ea7a6 # foreground |
|
| 65 | + | __put_template_custom Ph 232c31 # background |
|
| 66 | + | __put_template_custom Pi 9ea7a6 # bold color |
|
| 67 | + | __put_template_custom Pj 2a343a # selection color |
|
| 68 | + | __put_template_custom Pk 9ea7a6 # selected text color |
|
| 69 | + | __put_template_custom Pl 9ea7a6 # cursor |
|
| 70 | + | __put_template_custom Pm 232c31 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "484d79" blue |
|
| 86 | + | set -gx fish_color_quote "237986" green |
|
| 87 | + | set -gx fish_color_redirection "a03b1e" yellow |
|
| 88 | + | set -gx fish_color_end "b02f30" cyan |
|
| 89 | + | set -gx fish_color_error "2a5491" red |
|
| 90 | + | set -gx fish_color_param "a7cfa3" cyan |
|
| 91 | + | set -gx fish_color_comment "3f4944" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "9ea7a6" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a03b1e" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "b02f30" cyan |
|
| 97 | + | set -gx fish_color_escape "b02f30" cyan |
|
| 98 | + | set -gx fish_color_cwd "237986" green |
|
| 99 | + | set -gx fish_color_cwd_root "2a5491" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "3f4944" brblack |
|
| 102 | + | set -gx fish_color_user "237986" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a03b1e" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "9ea7a6" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "b5d8f6" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "23" "2c" "31" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background codeschool |
|
| 113 | + | set -U base16_fish_theme codeschool |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Colors scheme by mrmrs (http://clrs.cc) |
|
| 4 | + | ||
| 5 | + | function base16-colors -d "base16 Colors theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "11/11/11" # Base 00 - Black |
|
| 11 | + | set color01 "ff/41/36" # Base 08 - Red |
|
| 12 | + | set color02 "2e/cc/40" # Base 0B - Green |
|
| 13 | + | set color03 "ff/dc/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/74/d9" # Base 0D - Blue |
|
| 15 | + | set color05 "b1/0d/c9" # Base 0E - Magenta |
|
| 16 | + | set color06 "7f/db/ff" # Base 0C - Cyan |
|
| 17 | + | set color07 "bb/bb/bb" # Base 05 - White |
|
| 18 | + | set color08 "77/77/77" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/85/1b" # Base 09 |
|
| 27 | + | set color17 "85/14/4b" # Base 0F |
|
| 28 | + | set color18 "33/33/33" # Base 01 |
|
| 29 | + | set color19 "55/55/55" # Base 02 |
|
| 30 | + | set color20 "99/99/99" # Base 04 |
|
| 31 | + | set color21 "dd/dd/dd" # Base 06 |
|
| 32 | + | set color_foreground "bb/bb/bb" # Base 05 |
|
| 33 | + | set color_background "11/11/11" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg bbbbbb # foreground |
|
| 65 | + | __put_template_custom Ph 111111 # background |
|
| 66 | + | __put_template_custom Pi bbbbbb # bold color |
|
| 67 | + | __put_template_custom Pj 555555 # selection color |
|
| 68 | + | __put_template_custom Pk bbbbbb # selected text color |
|
| 69 | + | __put_template_custom Pl bbbbbb # cursor |
|
| 70 | + | __put_template_custom Pm 111111 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0074d9" blue |
|
| 86 | + | set -gx fish_color_quote "2ecc40" green |
|
| 87 | + | set -gx fish_color_redirection "ffdc00" yellow |
|
| 88 | + | set -gx fish_color_end "7fdbff" cyan |
|
| 89 | + | set -gx fish_color_error "ff4136" red |
|
| 90 | + | set -gx fish_color_param "dddddd" cyan |
|
| 91 | + | set -gx fish_color_comment "777777" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "bbbbbb" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffdc00" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "7fdbff" cyan |
|
| 97 | + | set -gx fish_color_escape "7fdbff" cyan |
|
| 98 | + | set -gx fish_color_cwd "2ecc40" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff4136" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "777777" brblack |
|
| 102 | + | set -gx fish_color_user "2ecc40" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffdc00" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "bbbbbb" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "11" "11" "11" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background colors |
|
| 113 | + | set -U base16_fish_theme colors |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Cupcake scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-cupcake -d "base16 Cupcake theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fb/f1/f2" # Base 00 - Black |
|
| 11 | + | set color01 "d5/7e/85" # Base 08 - Red |
|
| 12 | + | set color02 "a3/b3/67" # Base 0B - Green |
|
| 13 | + | set color03 "dc/b1/6c" # Base 0A - Yellow |
|
| 14 | + | set color04 "72/97/b9" # Base 0D - Blue |
|
| 15 | + | set color05 "bb/99/b4" # Base 0E - Magenta |
|
| 16 | + | set color06 "69/a9/a7" # Base 0C - Cyan |
|
| 17 | + | set color07 "8b/81/98" # Base 05 - White |
|
| 18 | + | set color08 "bf/b9/c6" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "58/50/62" # Base 07 - Bright White |
|
| 26 | + | set color16 "eb/b7/90" # Base 09 |
|
| 27 | + | set color17 "ba/a5/8c" # Base 0F |
|
| 28 | + | set color18 "f2/f1/f4" # Base 01 |
|
| 29 | + | set color19 "d8/d5/dd" # Base 02 |
|
| 30 | + | set color20 "a5/9d/af" # Base 04 |
|
| 31 | + | set color21 "72/67/7e" # Base 06 |
|
| 32 | + | set color_foreground "8b/81/98" # Base 05 |
|
| 33 | + | set color_background "fb/f1/f2" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 8b8198 # foreground |
|
| 65 | + | __put_template_custom Ph fbf1f2 # background |
|
| 66 | + | __put_template_custom Pi 8b8198 # bold color |
|
| 67 | + | __put_template_custom Pj d8d5dd # selection color |
|
| 68 | + | __put_template_custom Pk 8b8198 # selected text color |
|
| 69 | + | __put_template_custom Pl 8b8198 # cursor |
|
| 70 | + | __put_template_custom Pm fbf1f2 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "7297b9" blue |
|
| 86 | + | set -gx fish_color_quote "a3b367" green |
|
| 87 | + | set -gx fish_color_redirection "dcb16c" yellow |
|
| 88 | + | set -gx fish_color_end "69a9a7" cyan |
|
| 89 | + | set -gx fish_color_error "d57e85" red |
|
| 90 | + | set -gx fish_color_param "72677e" cyan |
|
| 91 | + | set -gx fish_color_comment "bfb9c6" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "8b8198" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "dcb16c" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "69a9a7" cyan |
|
| 97 | + | set -gx fish_color_escape "69a9a7" cyan |
|
| 98 | + | set -gx fish_color_cwd "a3b367" green |
|
| 99 | + | set -gx fish_color_cwd_root "d57e85" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "bfb9c6" brblack |
|
| 102 | + | set -gx fish_color_user "a3b367" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "dcb16c" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "8b8198" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "585062" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fb" "f1" "f2" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background cupcake |
|
| 113 | + | set -U base16_fish_theme cupcake |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Cupertino scheme by Defman21 |
|
| 4 | + | ||
| 5 | + | function base16-cupertino -d "base16 Cupertino theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "ff/ff/ff" # Base 00 - Black |
|
| 11 | + | set color01 "c4/1a/15" # Base 08 - Red |
|
| 12 | + | set color02 "00/74/00" # Base 0B - Green |
|
| 13 | + | set color03 "82/6b/28" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/00/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "a9/0d/91" # Base 0E - Magenta |
|
| 16 | + | set color06 "31/84/95" # Base 0C - Cyan |
|
| 17 | + | set color07 "40/40/40" # Base 05 - White |
|
| 18 | + | set color08 "80/80/80" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "5e/5e/5e" # Base 07 - Bright White |
|
| 26 | + | set color16 "eb/85/00" # Base 09 |
|
| 27 | + | set color17 "82/6b/28" # Base 0F |
|
| 28 | + | set color18 "c0/c0/c0" # Base 01 |
|
| 29 | + | set color19 "c0/c0/c0" # Base 02 |
|
| 30 | + | set color20 "80/80/80" # Base 04 |
|
| 31 | + | set color21 "40/40/40" # Base 06 |
|
| 32 | + | set color_foreground "40/40/40" # Base 05 |
|
| 33 | + | set color_background "ff/ff/ff" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 404040 # foreground |
|
| 65 | + | __put_template_custom Ph ffffff # background |
|
| 66 | + | __put_template_custom Pi 404040 # bold color |
|
| 67 | + | __put_template_custom Pj c0c0c0 # selection color |
|
| 68 | + | __put_template_custom Pk 404040 # selected text color |
|
| 69 | + | __put_template_custom Pl 404040 # cursor |
|
| 70 | + | __put_template_custom Pm ffffff # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0000ff" blue |
|
| 86 | + | set -gx fish_color_quote "007400" green |
|
| 87 | + | set -gx fish_color_redirection "826b28" yellow |
|
| 88 | + | set -gx fish_color_end "318495" cyan |
|
| 89 | + | set -gx fish_color_error "c41a15" red |
|
| 90 | + | set -gx fish_color_param "404040" cyan |
|
| 91 | + | set -gx fish_color_comment "808080" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "404040" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "826b28" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "318495" cyan |
|
| 97 | + | set -gx fish_color_escape "318495" cyan |
|
| 98 | + | set -gx fish_color_cwd "007400" green |
|
| 99 | + | set -gx fish_color_cwd_root "c41a15" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "808080" brblack |
|
| 102 | + | set -gx fish_color_user "007400" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "826b28" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "404040" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "5e5e5e" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "ff" "ff" "ff" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background cupertino |
|
| 113 | + | set -U base16_fish_theme cupertino |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # DanQing scheme by Wenhan Zhu (Cosmos) (zhuwenhan950913@gmail.com) |
|
| 4 | + | ||
| 5 | + | function base16-danqing -d "base16 DanQing theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2d/30/2f" # Base 00 - Black |
|
| 11 | + | set color01 "f9/90/6f" # Base 08 - Red |
|
| 12 | + | set color02 "8a/b3/61" # Base 0B - Green |
|
| 13 | + | set color03 "f0/c2/39" # Base 0A - Yellow |
|
| 14 | + | set color04 "b0/a4/e3" # Base 0D - Blue |
|
| 15 | + | set color05 "cc/a4/e3" # Base 0E - Magenta |
|
| 16 | + | set color06 "30/df/f3" # Base 0C - Cyan |
|
| 17 | + | set color07 "e0/f0/ef" # Base 05 - White |
|
| 18 | + | set color08 "9d/a8/a3" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fc/fe/fd" # Base 07 - Bright White |
|
| 26 | + | set color16 "b3/8a/61" # Base 09 |
|
| 27 | + | set color17 "ca/69/24" # Base 0F |
|
| 28 | + | set color18 "43/48/46" # Base 01 |
|
| 29 | + | set color19 "5a/60/5d" # Base 02 |
|
| 30 | + | set color20 "ca/d8/d2" # Base 04 |
|
| 31 | + | set color21 "ec/f6/f2" # Base 06 |
|
| 32 | + | set color_foreground "e0/f0/ef" # Base 05 |
|
| 33 | + | set color_background "2d/30/2f" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg e0f0ef # foreground |
|
| 65 | + | __put_template_custom Ph 2d302f # background |
|
| 66 | + | __put_template_custom Pi e0f0ef # bold color |
|
| 67 | + | __put_template_custom Pj 5a605d # selection color |
|
| 68 | + | __put_template_custom Pk e0f0ef # selected text color |
|
| 69 | + | __put_template_custom Pl e0f0ef # cursor |
|
| 70 | + | __put_template_custom Pm 2d302f # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "b0a4e3" blue |
|
| 86 | + | set -gx fish_color_quote "8ab361" green |
|
| 87 | + | set -gx fish_color_redirection "f0c239" yellow |
|
| 88 | + | set -gx fish_color_end "30dff3" cyan |
|
| 89 | + | set -gx fish_color_error "f9906f" red |
|
| 90 | + | set -gx fish_color_param "ecf6f2" cyan |
|
| 91 | + | set -gx fish_color_comment "9da8a3" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "e0f0ef" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f0c239" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "30dff3" cyan |
|
| 97 | + | set -gx fish_color_escape "30dff3" cyan |
|
| 98 | + | set -gx fish_color_cwd "8ab361" green |
|
| 99 | + | set -gx fish_color_cwd_root "f9906f" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "9da8a3" brblack |
|
| 102 | + | set -gx fish_color_user "8ab361" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f0c239" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "e0f0ef" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fcfefd" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2d" "30" "2f" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background danqing |
|
| 113 | + | set -U base16_fish_theme danqing |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Darcula scheme by jetbrains |
|
| 4 | + | ||
| 5 | + | function base16-darcula -d "base16 Darcula theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2b/2b/2b" # Base 00 - Black |
|
| 11 | + | set color01 "4e/ad/e5" # Base 08 - Red |
|
| 12 | + | set color02 "6a/87/59" # Base 0B - Green |
|
| 13 | + | set color03 "bb/b5/29" # Base 0A - Yellow |
|
| 14 | + | set color04 "98/76/aa" # Base 0D - Blue |
|
| 15 | + | set color05 "cc/78/32" # Base 0E - Magenta |
|
| 16 | + | set color06 "62/97/55" # Base 0C - Cyan |
|
| 17 | + | set color07 "a9/b7/c6" # Base 05 - White |
|
| 18 | + | set color08 "60/63/66" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "68/97/57" # Base 09 |
|
| 27 | + | set color17 "80/80/80" # Base 0F |
|
| 28 | + | set color18 "32/32/32" # Base 01 |
|
| 29 | + | set color19 "32/32/32" # Base 02 |
|
| 30 | + | set color20 "a4/a3/a3" # Base 04 |
|
| 31 | + | set color21 "ff/c6/6d" # Base 06 |
|
| 32 | + | set color_foreground "a9/b7/c6" # Base 05 |
|
| 33 | + | set color_background "2b/2b/2b" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a9b7c6 # foreground |
|
| 65 | + | __put_template_custom Ph 2b2b2b # background |
|
| 66 | + | __put_template_custom Pi a9b7c6 # bold color |
|
| 67 | + | __put_template_custom Pj 323232 # selection color |
|
| 68 | + | __put_template_custom Pk a9b7c6 # selected text color |
|
| 69 | + | __put_template_custom Pl a9b7c6 # cursor |
|
| 70 | + | __put_template_custom Pm 2b2b2b # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "9876aa" blue |
|
| 86 | + | set -gx fish_color_quote "6a8759" green |
|
| 87 | + | set -gx fish_color_redirection "bbb529" yellow |
|
| 88 | + | set -gx fish_color_end "629755" cyan |
|
| 89 | + | set -gx fish_color_error "4eade5" red |
|
| 90 | + | set -gx fish_color_param "ffc66d" cyan |
|
| 91 | + | set -gx fish_color_comment "606366" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a9b7c6" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "bbb529" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "629755" cyan |
|
| 97 | + | set -gx fish_color_escape "629755" cyan |
|
| 98 | + | set -gx fish_color_cwd "6a8759" green |
|
| 99 | + | set -gx fish_color_cwd_root "4eade5" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "606366" brblack |
|
| 102 | + | set -gx fish_color_user "6a8759" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "bbb529" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a9b7c6" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2b" "2b" "2b" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background darcula |
|
| 113 | + | set -U base16_fish_theme darcula |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # darkmoss scheme by Gabriel Avanzi (https://github.com/avanzzzi) |
|
| 4 | + | ||
| 5 | + | function base16-darkmoss -d "base16 darkmoss theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "17/1e/1f" # Base 00 - Black |
|
| 11 | + | set color01 "ff/46/58" # Base 08 - Red |
|
| 12 | + | set color02 "49/91/80" # Base 0B - Green |
|
| 13 | + | set color03 "fd/b1/1f" # Base 0A - Yellow |
|
| 14 | + | set color04 "49/80/91" # Base 0D - Blue |
|
| 15 | + | set color05 "9b/c0/c8" # Base 0E - Magenta |
|
| 16 | + | set color06 "66/d9/ef" # Base 0C - Cyan |
|
| 17 | + | set color07 "c7/c7/a5" # Base 05 - White |
|
| 18 | + | set color08 "55/5e/5f" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "e1/ea/ef" # Base 07 - Bright White |
|
| 26 | + | set color16 "e6/db/74" # Base 09 |
|
| 27 | + | set color17 "d2/7b/53" # Base 0F |
|
| 28 | + | set color18 "25/2c/2d" # Base 01 |
|
| 29 | + | set color19 "37/3c/3d" # Base 02 |
|
| 30 | + | set color20 "81/8f/80" # Base 04 |
|
| 31 | + | set color21 "e3/e3/c8" # Base 06 |
|
| 32 | + | set color_foreground "c7/c7/a5" # Base 05 |
|
| 33 | + | set color_background "17/1e/1f" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c7c7a5 # foreground |
|
| 65 | + | __put_template_custom Ph 171e1f # background |
|
| 66 | + | __put_template_custom Pi c7c7a5 # bold color |
|
| 67 | + | __put_template_custom Pj 373c3d # selection color |
|
| 68 | + | __put_template_custom Pk c7c7a5 # selected text color |
|
| 69 | + | __put_template_custom Pl c7c7a5 # cursor |
|
| 70 | + | __put_template_custom Pm 171e1f # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "498091" blue |
|
| 86 | + | set -gx fish_color_quote "499180" green |
|
| 87 | + | set -gx fish_color_redirection "fdb11f" yellow |
|
| 88 | + | set -gx fish_color_end "66d9ef" cyan |
|
| 89 | + | set -gx fish_color_error "ff4658" red |
|
| 90 | + | set -gx fish_color_param "e3e3c8" cyan |
|
| 91 | + | set -gx fish_color_comment "555e5f" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c7c7a5" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fdb11f" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "66d9ef" cyan |
|
| 97 | + | set -gx fish_color_escape "66d9ef" cyan |
|
| 98 | + | set -gx fish_color_cwd "499180" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff4658" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "555e5f" brblack |
|
| 102 | + | set -gx fish_color_user "499180" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fdb11f" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c7c7a5" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "e1eaef" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "17" "1e" "1f" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background darkmoss |
|
| 113 | + | set -U base16_fish_theme darkmoss |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Darktooth scheme by Jason Milkins (https://github.com/jasonm23) |
|
| 4 | + | ||
| 5 | + | function base16-darktooth -d "base16 Darktooth theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1d/20/21" # Base 00 - Black |
|
| 11 | + | set color01 "fb/54/3f" # Base 08 - Red |
|
| 12 | + | set color02 "95/c0/85" # Base 0B - Green |
|
| 13 | + | set color03 "fa/c0/3b" # Base 0A - Yellow |
|
| 14 | + | set color04 "0d/66/78" # Base 0D - Blue |
|
| 15 | + | set color05 "8f/46/73" # Base 0E - Magenta |
|
| 16 | + | set color06 "8b/a5/9b" # Base 0C - Cyan |
|
| 17 | + | set color07 "a8/99/84" # Base 05 - White |
|
| 18 | + | set color08 "66/5c/54" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fd/f4/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "fe/86/25" # Base 09 |
|
| 27 | + | set color17 "a8/73/22" # Base 0F |
|
| 28 | + | set color18 "32/30/2f" # Base 01 |
|
| 29 | + | set color19 "50/49/45" # Base 02 |
|
| 30 | + | set color20 "92/83/74" # Base 04 |
|
| 31 | + | set color21 "d5/c4/a1" # Base 06 |
|
| 32 | + | set color_foreground "a8/99/84" # Base 05 |
|
| 33 | + | set color_background "1d/20/21" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a89984 # foreground |
|
| 65 | + | __put_template_custom Ph 1d2021 # background |
|
| 66 | + | __put_template_custom Pi a89984 # bold color |
|
| 67 | + | __put_template_custom Pj 504945 # selection color |
|
| 68 | + | __put_template_custom Pk a89984 # selected text color |
|
| 69 | + | __put_template_custom Pl a89984 # cursor |
|
| 70 | + | __put_template_custom Pm 1d2021 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0d6678" blue |
|
| 86 | + | set -gx fish_color_quote "95c085" green |
|
| 87 | + | set -gx fish_color_redirection "fac03b" yellow |
|
| 88 | + | set -gx fish_color_end "8ba59b" cyan |
|
| 89 | + | set -gx fish_color_error "fb543f" red |
|
| 90 | + | set -gx fish_color_param "d5c4a1" cyan |
|
| 91 | + | set -gx fish_color_comment "665c54" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a89984" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fac03b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "8ba59b" cyan |
|
| 97 | + | set -gx fish_color_escape "8ba59b" cyan |
|
| 98 | + | set -gx fish_color_cwd "95c085" green |
|
| 99 | + | set -gx fish_color_cwd_root "fb543f" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "665c54" brblack |
|
| 102 | + | set -gx fish_color_user "95c085" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fac03b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a89984" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fdf4c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1d" "20" "21" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background darktooth |
|
| 113 | + | set -U base16_fish_theme darktooth |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Dark Violet scheme by ruler501 (https://github.com/ruler501/base16-darkviolet) |
|
| 4 | + | ||
| 5 | + | function base16-darkviolet -d "base16 Dark Violet theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "a8/2e/e6" # Base 08 - Red |
|
| 12 | + | set color02 "45/95/e6" # Base 0B - Green |
|
| 13 | + | set color03 "f2/9d/f2" # Base 0A - Yellow |
|
| 14 | + | set color04 "41/36/d9" # Base 0D - Blue |
|
| 15 | + | set color05 "7e/5c/e6" # Base 0E - Magenta |
|
| 16 | + | set color06 "40/df/ff" # Base 0C - Cyan |
|
| 17 | + | set color07 "b0/8a/e6" # Base 05 - White |
|
| 18 | + | set color08 "59/33/80" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "a3/66/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "bb/66/cc" # Base 09 |
|
| 27 | + | set color17 "a8/86/bf" # Base 0F |
|
| 28 | + | set color18 "23/1a/40" # Base 01 |
|
| 29 | + | set color19 "43/2d/59" # Base 02 |
|
| 30 | + | set color20 "00/ff/00" # Base 04 |
|
| 31 | + | set color21 "90/45/e6" # Base 06 |
|
| 32 | + | set color_foreground "b0/8a/e6" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg b08ae6 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi b08ae6 # bold color |
|
| 67 | + | __put_template_custom Pj 432d59 # selection color |
|
| 68 | + | __put_template_custom Pk b08ae6 # selected text color |
|
| 69 | + | __put_template_custom Pl b08ae6 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "4136d9" blue |
|
| 86 | + | set -gx fish_color_quote "4595e6" green |
|
| 87 | + | set -gx fish_color_redirection "f29df2" yellow |
|
| 88 | + | set -gx fish_color_end "40dfff" cyan |
|
| 89 | + | set -gx fish_color_error "a82ee6" red |
|
| 90 | + | set -gx fish_color_param "9045e6" cyan |
|
| 91 | + | set -gx fish_color_comment "593380" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "b08ae6" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f29df2" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "40dfff" cyan |
|
| 97 | + | set -gx fish_color_escape "40dfff" cyan |
|
| 98 | + | set -gx fish_color_cwd "4595e6" green |
|
| 99 | + | set -gx fish_color_cwd_root "a82ee6" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "593380" brblack |
|
| 102 | + | set -gx fish_color_user "4595e6" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f29df2" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "b08ae6" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "a366ff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background darkviolet |
|
| 113 | + | set -U base16_fish_theme darkviolet |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Decaf scheme by Alex Mirrington (https://github.com/alexmirrington) |
|
| 4 | + | ||
| 5 | + | function base16-decaf -d "base16 Decaf theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2d/2d/2d" # Base 00 - Black |
|
| 11 | + | set color01 "ff/7f/7b" # Base 08 - Red |
|
| 12 | + | set color02 "be/da/78" # Base 0B - Green |
|
| 13 | + | set color03 "ff/d6/7c" # Base 0A - Yellow |
|
| 14 | + | set color04 "90/be/e1" # Base 0D - Blue |
|
| 15 | + | set color05 "ef/b3/f7" # Base 0E - Magenta |
|
| 16 | + | set color06 "be/d6/ff" # Base 0C - Cyan |
|
| 17 | + | set color07 "cc/cc/cc" # Base 05 - White |
|
| 18 | + | set color08 "77/77/77" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/bf/70" # Base 09 |
|
| 27 | + | set color17 "ff/93/b3" # Base 0F |
|
| 28 | + | set color18 "39/39/39" # Base 01 |
|
| 29 | + | set color19 "51/51/51" # Base 02 |
|
| 30 | + | set color20 "b4/b7/b4" # Base 04 |
|
| 31 | + | set color21 "e0/e0/e0" # Base 06 |
|
| 32 | + | set color_foreground "cc/cc/cc" # Base 05 |
|
| 33 | + | set color_background "2d/2d/2d" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg cccccc # foreground |
|
| 65 | + | __put_template_custom Ph 2d2d2d # background |
|
| 66 | + | __put_template_custom Pi cccccc # bold color |
|
| 67 | + | __put_template_custom Pj 515151 # selection color |
|
| 68 | + | __put_template_custom Pk cccccc # selected text color |
|
| 69 | + | __put_template_custom Pl cccccc # cursor |
|
| 70 | + | __put_template_custom Pm 2d2d2d # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "90bee1" blue |
|
| 86 | + | set -gx fish_color_quote "beda78" green |
|
| 87 | + | set -gx fish_color_redirection "ffd67c" yellow |
|
| 88 | + | set -gx fish_color_end "bed6ff" cyan |
|
| 89 | + | set -gx fish_color_error "ff7f7b" red |
|
| 90 | + | set -gx fish_color_param "e0e0e0" cyan |
|
| 91 | + | set -gx fish_color_comment "777777" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "cccccc" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffd67c" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "bed6ff" cyan |
|
| 97 | + | set -gx fish_color_escape "bed6ff" cyan |
|
| 98 | + | set -gx fish_color_cwd "beda78" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff7f7b" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "777777" brblack |
|
| 102 | + | set -gx fish_color_user "beda78" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffd67c" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "cccccc" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2d" "2d" "2d" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background decaf |
|
| 113 | + | set -U base16_fish_theme decaf |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Default Dark scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-default-dark -d "base16 Default Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "18/18/18" # Base 00 - Black |
|
| 11 | + | set color01 "ab/46/42" # Base 08 - Red |
|
| 12 | + | set color02 "a1/b5/6c" # Base 0B - Green |
|
| 13 | + | set color03 "f7/ca/88" # Base 0A - Yellow |
|
| 14 | + | set color04 "7c/af/c2" # Base 0D - Blue |
|
| 15 | + | set color05 "ba/8b/af" # Base 0E - Magenta |
|
| 16 | + | set color06 "86/c1/b9" # Base 0C - Cyan |
|
| 17 | + | set color07 "d8/d8/d8" # Base 05 - White |
|
| 18 | + | set color08 "58/58/58" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f8/f8/f8" # Base 07 - Bright White |
|
| 26 | + | set color16 "dc/96/56" # Base 09 |
|
| 27 | + | set color17 "a1/69/46" # Base 0F |
|
| 28 | + | set color18 "28/28/28" # Base 01 |
|
| 29 | + | set color19 "38/38/38" # Base 02 |
|
| 30 | + | set color20 "b8/b8/b8" # Base 04 |
|
| 31 | + | set color21 "e8/e8/e8" # Base 06 |
|
| 32 | + | set color_foreground "d8/d8/d8" # Base 05 |
|
| 33 | + | set color_background "18/18/18" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d8d8d8 # foreground |
|
| 65 | + | __put_template_custom Ph 181818 # background |
|
| 66 | + | __put_template_custom Pi d8d8d8 # bold color |
|
| 67 | + | __put_template_custom Pj 383838 # selection color |
|
| 68 | + | __put_template_custom Pk d8d8d8 # selected text color |
|
| 69 | + | __put_template_custom Pl d8d8d8 # cursor |
|
| 70 | + | __put_template_custom Pm 181818 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "7cafc2" blue |
|
| 86 | + | set -gx fish_color_quote "a1b56c" green |
|
| 87 | + | set -gx fish_color_redirection "f7ca88" yellow |
|
| 88 | + | set -gx fish_color_end "86c1b9" cyan |
|
| 89 | + | set -gx fish_color_error "ab4642" red |
|
| 90 | + | set -gx fish_color_param "e8e8e8" cyan |
|
| 91 | + | set -gx fish_color_comment "585858" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d8d8d8" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f7ca88" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "86c1b9" cyan |
|
| 97 | + | set -gx fish_color_escape "86c1b9" cyan |
|
| 98 | + | set -gx fish_color_cwd "a1b56c" green |
|
| 99 | + | set -gx fish_color_cwd_root "ab4642" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "585858" brblack |
|
| 102 | + | set -gx fish_color_user "a1b56c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f7ca88" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d8d8d8" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f8f8f8" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "18" "18" "18" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background default-dark |
|
| 113 | + | set -U base16_fish_theme default-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Default Light scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-default-light -d "base16 Default Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f8/f8/f8" # Base 00 - Black |
|
| 11 | + | set color01 "ab/46/42" # Base 08 - Red |
|
| 12 | + | set color02 "a1/b5/6c" # Base 0B - Green |
|
| 13 | + | set color03 "f7/ca/88" # Base 0A - Yellow |
|
| 14 | + | set color04 "7c/af/c2" # Base 0D - Blue |
|
| 15 | + | set color05 "ba/8b/af" # Base 0E - Magenta |
|
| 16 | + | set color06 "86/c1/b9" # Base 0C - Cyan |
|
| 17 | + | set color07 "38/38/38" # Base 05 - White |
|
| 18 | + | set color08 "b8/b8/b8" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "18/18/18" # Base 07 - Bright White |
|
| 26 | + | set color16 "dc/96/56" # Base 09 |
|
| 27 | + | set color17 "a1/69/46" # Base 0F |
|
| 28 | + | set color18 "e8/e8/e8" # Base 01 |
|
| 29 | + | set color19 "d8/d8/d8" # Base 02 |
|
| 30 | + | set color20 "58/58/58" # Base 04 |
|
| 31 | + | set color21 "28/28/28" # Base 06 |
|
| 32 | + | set color_foreground "38/38/38" # Base 05 |
|
| 33 | + | set color_background "f8/f8/f8" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 383838 # foreground |
|
| 65 | + | __put_template_custom Ph f8f8f8 # background |
|
| 66 | + | __put_template_custom Pi 383838 # bold color |
|
| 67 | + | __put_template_custom Pj d8d8d8 # selection color |
|
| 68 | + | __put_template_custom Pk 383838 # selected text color |
|
| 69 | + | __put_template_custom Pl 383838 # cursor |
|
| 70 | + | __put_template_custom Pm f8f8f8 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "7cafc2" blue |
|
| 86 | + | set -gx fish_color_quote "a1b56c" green |
|
| 87 | + | set -gx fish_color_redirection "f7ca88" yellow |
|
| 88 | + | set -gx fish_color_end "86c1b9" cyan |
|
| 89 | + | set -gx fish_color_error "ab4642" red |
|
| 90 | + | set -gx fish_color_param "282828" cyan |
|
| 91 | + | set -gx fish_color_comment "b8b8b8" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "383838" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f7ca88" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "86c1b9" cyan |
|
| 97 | + | set -gx fish_color_escape "86c1b9" cyan |
|
| 98 | + | set -gx fish_color_cwd "a1b56c" green |
|
| 99 | + | set -gx fish_color_cwd_root "ab4642" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "b8b8b8" brblack |
|
| 102 | + | set -gx fish_color_user "a1b56c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f7ca88" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "383838" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "181818" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f8" "f8" "f8" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background default-light |
|
| 113 | + | set -U base16_fish_theme default-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # dirtysea scheme by Kahlil (Kal) Hodgson |
|
| 4 | + | ||
| 5 | + | function base16-dirtysea -d "base16 dirtysea theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "e0/e0/e0" # Base 00 - Black |
|
| 11 | + | set color01 "84/00/00" # Base 08 - Red |
|
| 12 | + | set color02 "73/00/73" # Base 0B - Green |
|
| 13 | + | set color03 "75/5b/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/73/00" # Base 0D - Blue |
|
| 15 | + | set color05 "00/00/90" # Base 0E - Magenta |
|
| 16 | + | set color06 "75/5b/00" # Base 0C - Cyan |
|
| 17 | + | set color07 "00/00/00" # Base 05 - White |
|
| 18 | + | set color08 "70/70/70" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c4/d9/c4" # Base 07 - Bright White |
|
| 26 | + | set color16 "00/65/65" # Base 09 |
|
| 27 | + | set color17 "75/5b/00" # Base 0F |
|
| 28 | + | set color18 "d0/da/d0" # Base 01 |
|
| 29 | + | set color19 "d0/d0/d0" # Base 02 |
|
| 30 | + | set color20 "20/20/20" # Base 04 |
|
| 31 | + | set color21 "f8/f8/f8" # Base 06 |
|
| 32 | + | set color_foreground "00/00/00" # Base 05 |
|
| 33 | + | set color_background "e0/e0/e0" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 000000 # foreground |
|
| 65 | + | __put_template_custom Ph e0e0e0 # background |
|
| 66 | + | __put_template_custom Pi 000000 # bold color |
|
| 67 | + | __put_template_custom Pj d0d0d0 # selection color |
|
| 68 | + | __put_template_custom Pk 000000 # selected text color |
|
| 69 | + | __put_template_custom Pl 000000 # cursor |
|
| 70 | + | __put_template_custom Pm e0e0e0 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "007300" blue |
|
| 86 | + | set -gx fish_color_quote "730073" green |
|
| 87 | + | set -gx fish_color_redirection "755b00" yellow |
|
| 88 | + | set -gx fish_color_end "755b00" cyan |
|
| 89 | + | set -gx fish_color_error "840000" red |
|
| 90 | + | set -gx fish_color_param "f8f8f8" cyan |
|
| 91 | + | set -gx fish_color_comment "707070" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "000000" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "755b00" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "755b00" cyan |
|
| 97 | + | set -gx fish_color_escape "755b00" cyan |
|
| 98 | + | set -gx fish_color_cwd "730073" green |
|
| 99 | + | set -gx fish_color_cwd_root "840000" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "707070" brblack |
|
| 102 | + | set -gx fish_color_user "730073" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "755b00" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "000000" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c4d9c4" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "e0" "e0" "e0" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background dirtysea |
|
| 113 | + | set -U base16_fish_theme dirtysea |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Dracula scheme by Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula) |
|
| 4 | + | ||
| 5 | + | function base16-dracula -d "base16 Dracula theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "28/29/36" # Base 00 - Black |
|
| 11 | + | set color01 "ea/51/b2" # Base 08 - Red |
|
| 12 | + | set color02 "eb/ff/87" # Base 0B - Green |
|
| 13 | + | set color03 "00/f7/69" # Base 0A - Yellow |
|
| 14 | + | set color04 "62/d6/e8" # Base 0D - Blue |
|
| 15 | + | set color05 "b4/5b/cf" # Base 0E - Magenta |
|
| 16 | + | set color06 "a1/ef/e4" # Base 0C - Cyan |
|
| 17 | + | set color07 "e9/e9/f4" # Base 05 - White |
|
| 18 | + | set color08 "62/64/83" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f7/f7/fb" # Base 07 - Bright White |
|
| 26 | + | set color16 "b4/5b/cf" # Base 09 |
|
| 27 | + | set color17 "00/f7/69" # Base 0F |
|
| 28 | + | set color18 "3a/3c/4e" # Base 01 |
|
| 29 | + | set color19 "4d/4f/68" # Base 02 |
|
| 30 | + | set color20 "62/d6/e8" # Base 04 |
|
| 31 | + | set color21 "f1/f2/f8" # Base 06 |
|
| 32 | + | set color_foreground "e9/e9/f4" # Base 05 |
|
| 33 | + | set color_background "28/29/36" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg e9e9f4 # foreground |
|
| 65 | + | __put_template_custom Ph 282936 # background |
|
| 66 | + | __put_template_custom Pi e9e9f4 # bold color |
|
| 67 | + | __put_template_custom Pj 4d4f68 # selection color |
|
| 68 | + | __put_template_custom Pk e9e9f4 # selected text color |
|
| 69 | + | __put_template_custom Pl e9e9f4 # cursor |
|
| 70 | + | __put_template_custom Pm 282936 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "62d6e8" blue |
|
| 86 | + | set -gx fish_color_quote "ebff87" green |
|
| 87 | + | set -gx fish_color_redirection "00f769" yellow |
|
| 88 | + | set -gx fish_color_end "a1efe4" cyan |
|
| 89 | + | set -gx fish_color_error "ea51b2" red |
|
| 90 | + | set -gx fish_color_param "f1f2f8" cyan |
|
| 91 | + | set -gx fish_color_comment "626483" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "e9e9f4" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "00f769" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "a1efe4" cyan |
|
| 97 | + | set -gx fish_color_escape "a1efe4" cyan |
|
| 98 | + | set -gx fish_color_cwd "ebff87" green |
|
| 99 | + | set -gx fish_color_cwd_root "ea51b2" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "626483" brblack |
|
| 102 | + | set -gx fish_color_user "ebff87" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "00f769" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "e9e9f4" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f7f7fb" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "28" "29" "36" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background dracula |
|
| 113 | + | set -U base16_fish_theme dracula |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Edge Dark scheme by cjayross (https://github.com/cjayross) |
|
| 4 | + | ||
| 5 | + | function base16-edge-dark -d "base16 Edge Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "26/27/29" # Base 00 - Black |
|
| 11 | + | set color01 "e7/71/71" # Base 08 - Red |
|
| 12 | + | set color02 "a1/bf/78" # Base 0B - Green |
|
| 13 | + | set color03 "db/b7/74" # Base 0A - Yellow |
|
| 14 | + | set color04 "73/b3/e7" # Base 0D - Blue |
|
| 15 | + | set color05 "d3/90/e7" # Base 0E - Magenta |
|
| 16 | + | set color06 "5e/ba/a5" # Base 0C - Cyan |
|
| 17 | + | set color07 "b7/be/c9" # Base 05 - White |
|
| 18 | + | set color08 "3e/42/49" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "3e/42/49" # Base 07 - Bright White |
|
| 26 | + | set color16 "e7/71/71" # Base 09 |
|
| 27 | + | set color17 "5e/ba/a5" # Base 0F |
|
| 28 | + | set color18 "88/90/9f" # Base 01 |
|
| 29 | + | set color19 "b7/be/c9" # Base 02 |
|
| 30 | + | set color20 "73/b3/e7" # Base 04 |
|
| 31 | + | set color21 "d3/90/e7" # Base 06 |
|
| 32 | + | set color_foreground "b7/be/c9" # Base 05 |
|
| 33 | + | set color_background "26/27/29" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg b7bec9 # foreground |
|
| 65 | + | __put_template_custom Ph 262729 # background |
|
| 66 | + | __put_template_custom Pi b7bec9 # bold color |
|
| 67 | + | __put_template_custom Pj b7bec9 # selection color |
|
| 68 | + | __put_template_custom Pk b7bec9 # selected text color |
|
| 69 | + | __put_template_custom Pl b7bec9 # cursor |
|
| 70 | + | __put_template_custom Pm 262729 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "73b3e7" blue |
|
| 86 | + | set -gx fish_color_quote "a1bf78" green |
|
| 87 | + | set -gx fish_color_redirection "dbb774" yellow |
|
| 88 | + | set -gx fish_color_end "5ebaa5" cyan |
|
| 89 | + | set -gx fish_color_error "e77171" red |
|
| 90 | + | set -gx fish_color_param "d390e7" cyan |
|
| 91 | + | set -gx fish_color_comment "3e4249" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "b7bec9" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "dbb774" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "5ebaa5" cyan |
|
| 97 | + | set -gx fish_color_escape "5ebaa5" cyan |
|
| 98 | + | set -gx fish_color_cwd "a1bf78" green |
|
| 99 | + | set -gx fish_color_cwd_root "e77171" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "3e4249" brblack |
|
| 102 | + | set -gx fish_color_user "a1bf78" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "dbb774" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "b7bec9" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "3e4249" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "26" "27" "29" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background edge-dark |
|
| 113 | + | set -U base16_fish_theme edge-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Edge Light scheme by cjayross (https://github.com/cjayross) |
|
| 4 | + | ||
| 5 | + | function base16-edge-light -d "base16 Edge Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fa/fa/fa" # Base 00 - Black |
|
| 11 | + | set color01 "db/70/70" # Base 08 - Red |
|
| 12 | + | set color02 "7c/9f/4b" # Base 0B - Green |
|
| 13 | + | set color03 "d6/98/22" # Base 0A - Yellow |
|
| 14 | + | set color04 "65/87/bf" # Base 0D - Blue |
|
| 15 | + | set color05 "b8/70/ce" # Base 0E - Magenta |
|
| 16 | + | set color06 "50/9c/93" # Base 0C - Cyan |
|
| 17 | + | set color07 "5e/64/6f" # Base 05 - White |
|
| 18 | + | set color08 "5e/64/6f" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "5e/64/6f" # Base 07 - Bright White |
|
| 26 | + | set color16 "db/70/70" # Base 09 |
|
| 27 | + | set color17 "50/9c/93" # Base 0F |
|
| 28 | + | set color18 "7c/9f/4b" # Base 01 |
|
| 29 | + | set color19 "d6/98/22" # Base 02 |
|
| 30 | + | set color20 "65/87/bf" # Base 04 |
|
| 31 | + | set color21 "b8/70/ce" # Base 06 |
|
| 32 | + | set color_foreground "5e/64/6f" # Base 05 |
|
| 33 | + | set color_background "fa/fa/fa" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 5e646f # foreground |
|
| 65 | + | __put_template_custom Ph fafafa # background |
|
| 66 | + | __put_template_custom Pi 5e646f # bold color |
|
| 67 | + | __put_template_custom Pj d69822 # selection color |
|
| 68 | + | __put_template_custom Pk 5e646f # selected text color |
|
| 69 | + | __put_template_custom Pl 5e646f # cursor |
|
| 70 | + | __put_template_custom Pm fafafa # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6587bf" blue |
|
| 86 | + | set -gx fish_color_quote "7c9f4b" green |
|
| 87 | + | set -gx fish_color_redirection "d69822" yellow |
|
| 88 | + | set -gx fish_color_end "509c93" cyan |
|
| 89 | + | set -gx fish_color_error "db7070" red |
|
| 90 | + | set -gx fish_color_param "b870ce" cyan |
|
| 91 | + | set -gx fish_color_comment "5e646f" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "5e646f" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "d69822" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "509c93" cyan |
|
| 97 | + | set -gx fish_color_escape "509c93" cyan |
|
| 98 | + | set -gx fish_color_cwd "7c9f4b" green |
|
| 99 | + | set -gx fish_color_cwd_root "db7070" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "5e646f" brblack |
|
| 102 | + | set -gx fish_color_user "7c9f4b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "d69822" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "5e646f" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "5e646f" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fa" "fa" "fa" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background edge-light |
|
| 113 | + | set -U base16_fish_theme edge-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Eighties scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-eighties -d "base16 Eighties theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2d/2d/2d" # Base 00 - Black |
|
| 11 | + | set color01 "f2/77/7a" # Base 08 - Red |
|
| 12 | + | set color02 "99/cc/99" # Base 0B - Green |
|
| 13 | + | set color03 "ff/cc/66" # Base 0A - Yellow |
|
| 14 | + | set color04 "66/99/cc" # Base 0D - Blue |
|
| 15 | + | set color05 "cc/99/cc" # Base 0E - Magenta |
|
| 16 | + | set color06 "66/cc/cc" # Base 0C - Cyan |
|
| 17 | + | set color07 "d3/d0/c8" # Base 05 - White |
|
| 18 | + | set color08 "74/73/69" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f2/f0/ec" # Base 07 - Bright White |
|
| 26 | + | set color16 "f9/91/57" # Base 09 |
|
| 27 | + | set color17 "d2/7b/53" # Base 0F |
|
| 28 | + | set color18 "39/39/39" # Base 01 |
|
| 29 | + | set color19 "51/51/51" # Base 02 |
|
| 30 | + | set color20 "a0/9f/93" # Base 04 |
|
| 31 | + | set color21 "e8/e6/df" # Base 06 |
|
| 32 | + | set color_foreground "d3/d0/c8" # Base 05 |
|
| 33 | + | set color_background "2d/2d/2d" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d3d0c8 # foreground |
|
| 65 | + | __put_template_custom Ph 2d2d2d # background |
|
| 66 | + | __put_template_custom Pi d3d0c8 # bold color |
|
| 67 | + | __put_template_custom Pj 515151 # selection color |
|
| 68 | + | __put_template_custom Pk d3d0c8 # selected text color |
|
| 69 | + | __put_template_custom Pl d3d0c8 # cursor |
|
| 70 | + | __put_template_custom Pm 2d2d2d # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6699cc" blue |
|
| 86 | + | set -gx fish_color_quote "99cc99" green |
|
| 87 | + | set -gx fish_color_redirection "ffcc66" yellow |
|
| 88 | + | set -gx fish_color_end "66cccc" cyan |
|
| 89 | + | set -gx fish_color_error "f2777a" red |
|
| 90 | + | set -gx fish_color_param "e8e6df" cyan |
|
| 91 | + | set -gx fish_color_comment "747369" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d3d0c8" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffcc66" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "66cccc" cyan |
|
| 97 | + | set -gx fish_color_escape "66cccc" cyan |
|
| 98 | + | set -gx fish_color_cwd "99cc99" green |
|
| 99 | + | set -gx fish_color_cwd_root "f2777a" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "747369" brblack |
|
| 102 | + | set -gx fish_color_user "99cc99" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffcc66" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d3d0c8" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f2f0ec" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2d" "2d" "2d" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background eighties |
|
| 113 | + | set -U base16_fish_theme eighties |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Embers scheme by Jannik Siebert (https://github.com/janniks) |
|
| 4 | + | ||
| 5 | + | function base16-embers -d "base16 Embers theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "16/13/0f" # Base 00 - Black |
|
| 11 | + | set color01 "82/6d/57" # Base 08 - Red |
|
| 12 | + | set color02 "57/82/6d" # Base 0B - Green |
|
| 13 | + | set color03 "6d/82/57" # Base 0A - Yellow |
|
| 14 | + | set color04 "6d/57/82" # Base 0D - Blue |
|
| 15 | + | set color05 "82/57/6d" # Base 0E - Magenta |
|
| 16 | + | set color06 "57/6d/82" # Base 0C - Cyan |
|
| 17 | + | set color07 "a3/9a/90" # Base 05 - White |
|
| 18 | + | set color08 "5a/50/47" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "db/d6/d1" # Base 07 - Bright White |
|
| 26 | + | set color16 "82/82/57" # Base 09 |
|
| 27 | + | set color17 "82/57/57" # Base 0F |
|
| 28 | + | set color18 "2c/26/20" # Base 01 |
|
| 29 | + | set color19 "43/3b/32" # Base 02 |
|
| 30 | + | set color20 "8a/80/75" # Base 04 |
|
| 31 | + | set color21 "be/b6/ae" # Base 06 |
|
| 32 | + | set color_foreground "a3/9a/90" # Base 05 |
|
| 33 | + | set color_background "16/13/0f" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a39a90 # foreground |
|
| 65 | + | __put_template_custom Ph 16130f # background |
|
| 66 | + | __put_template_custom Pi a39a90 # bold color |
|
| 67 | + | __put_template_custom Pj 433b32 # selection color |
|
| 68 | + | __put_template_custom Pk a39a90 # selected text color |
|
| 69 | + | __put_template_custom Pl a39a90 # cursor |
|
| 70 | + | __put_template_custom Pm 16130f # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6d5782" blue |
|
| 86 | + | set -gx fish_color_quote "57826d" green |
|
| 87 | + | set -gx fish_color_redirection "6d8257" yellow |
|
| 88 | + | set -gx fish_color_end "576d82" cyan |
|
| 89 | + | set -gx fish_color_error "826d57" red |
|
| 90 | + | set -gx fish_color_param "beb6ae" cyan |
|
| 91 | + | set -gx fish_color_comment "5a5047" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a39a90" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "6d8257" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "576d82" cyan |
|
| 97 | + | set -gx fish_color_escape "576d82" cyan |
|
| 98 | + | set -gx fish_color_cwd "57826d" green |
|
| 99 | + | set -gx fish_color_cwd_root "826d57" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "5a5047" brblack |
|
| 102 | + | set -gx fish_color_user "57826d" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "6d8257" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a39a90" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "dbd6d1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "16" "13" "0f" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background embers |
|
| 113 | + | set -U base16_fish_theme embers |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Equilibrium Dark scheme by Carlo Abelli |
|
| 4 | + | ||
| 5 | + | function base16-equilibrium-dark -d "base16 Equilibrium Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "0c/11/18" # Base 00 - Black |
|
| 11 | + | set color01 "f0/43/39" # Base 08 - Red |
|
| 12 | + | set color02 "7f/8b/00" # Base 0B - Green |
|
| 13 | + | set color03 "bb/88/01" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/8d/d1" # Base 0D - Blue |
|
| 15 | + | set color05 "6a/7f/d2" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/94/8b" # Base 0C - Cyan |
|
| 17 | + | set color07 "af/ab/a2" # Base 05 - White |
|
| 18 | + | set color08 "7b/77/6e" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "e7/e2/d9" # Base 07 - Bright White |
|
| 26 | + | set color16 "df/59/23" # Base 09 |
|
| 27 | + | set color17 "e3/48/8e" # Base 0F |
|
| 28 | + | set color18 "18/1c/22" # Base 01 |
|
| 29 | + | set color19 "22/26/2d" # Base 02 |
|
| 30 | + | set color20 "94/90/88" # Base 04 |
|
| 31 | + | set color21 "ca/c6/bd" # Base 06 |
|
| 32 | + | set color_foreground "af/ab/a2" # Base 05 |
|
| 33 | + | set color_background "0c/11/18" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg afaba2 # foreground |
|
| 65 | + | __put_template_custom Ph 0c1118 # background |
|
| 66 | + | __put_template_custom Pi afaba2 # bold color |
|
| 67 | + | __put_template_custom Pj 22262d # selection color |
|
| 68 | + | __put_template_custom Pk afaba2 # selected text color |
|
| 69 | + | __put_template_custom Pl afaba2 # cursor |
|
| 70 | + | __put_template_custom Pm 0c1118 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "008dd1" blue |
|
| 86 | + | set -gx fish_color_quote "7f8b00" green |
|
| 87 | + | set -gx fish_color_redirection "bb8801" yellow |
|
| 88 | + | set -gx fish_color_end "00948b" cyan |
|
| 89 | + | set -gx fish_color_error "f04339" red |
|
| 90 | + | set -gx fish_color_param "cac6bd" cyan |
|
| 91 | + | set -gx fish_color_comment "7b776e" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "afaba2" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "bb8801" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "00948b" cyan |
|
| 97 | + | set -gx fish_color_escape "00948b" cyan |
|
| 98 | + | set -gx fish_color_cwd "7f8b00" green |
|
| 99 | + | set -gx fish_color_cwd_root "f04339" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "7b776e" brblack |
|
| 102 | + | set -gx fish_color_user "7f8b00" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "bb8801" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "afaba2" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "e7e2d9" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "0c" "11" "18" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background equilibrium-dark |
|
| 113 | + | set -U base16_fish_theme equilibrium-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Equilibrium Gray Dark scheme by Carlo Abelli |
|
| 4 | + | ||
| 5 | + | function base16-equilibrium-gray-dark -d "base16 Equilibrium Gray Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "11/11/11" # Base 00 - Black |
|
| 11 | + | set color01 "f0/43/39" # Base 08 - Red |
|
| 12 | + | set color02 "7f/8b/00" # Base 0B - Green |
|
| 13 | + | set color03 "bb/88/01" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/8d/d1" # Base 0D - Blue |
|
| 15 | + | set color05 "6a/7f/d2" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/94/8b" # Base 0C - Cyan |
|
| 17 | + | set color07 "ab/ab/ab" # Base 05 - White |
|
| 18 | + | set color08 "77/77/77" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "e2/e2/e2" # Base 07 - Bright White |
|
| 26 | + | set color16 "df/59/23" # Base 09 |
|
| 27 | + | set color17 "e3/48/8e" # Base 0F |
|
| 28 | + | set color18 "1b/1b/1b" # Base 01 |
|
| 29 | + | set color19 "26/26/26" # Base 02 |
|
| 30 | + | set color20 "91/91/91" # Base 04 |
|
| 31 | + | set color21 "c6/c6/c6" # Base 06 |
|
| 32 | + | set color_foreground "ab/ab/ab" # Base 05 |
|
| 33 | + | set color_background "11/11/11" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg ababab # foreground |
|
| 65 | + | __put_template_custom Ph 111111 # background |
|
| 66 | + | __put_template_custom Pi ababab # bold color |
|
| 67 | + | __put_template_custom Pj 262626 # selection color |
|
| 68 | + | __put_template_custom Pk ababab # selected text color |
|
| 69 | + | __put_template_custom Pl ababab # cursor |
|
| 70 | + | __put_template_custom Pm 111111 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "008dd1" blue |
|
| 86 | + | set -gx fish_color_quote "7f8b00" green |
|
| 87 | + | set -gx fish_color_redirection "bb8801" yellow |
|
| 88 | + | set -gx fish_color_end "00948b" cyan |
|
| 89 | + | set -gx fish_color_error "f04339" red |
|
| 90 | + | set -gx fish_color_param "c6c6c6" cyan |
|
| 91 | + | set -gx fish_color_comment "777777" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "ababab" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "bb8801" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "00948b" cyan |
|
| 97 | + | set -gx fish_color_escape "00948b" cyan |
|
| 98 | + | set -gx fish_color_cwd "7f8b00" green |
|
| 99 | + | set -gx fish_color_cwd_root "f04339" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "777777" brblack |
|
| 102 | + | set -gx fish_color_user "7f8b00" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "bb8801" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "ababab" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "e2e2e2" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "11" "11" "11" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background equilibrium-gray-dark |
|
| 113 | + | set -U base16_fish_theme equilibrium-gray-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Equilibrium Gray Light scheme by Carlo Abelli |
|
| 4 | + | ||
| 5 | + | function base16-equilibrium-gray-light -d "base16 Equilibrium Gray Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f1/f1/f1" # Base 00 - Black |
|
| 11 | + | set color01 "d0/20/23" # Base 08 - Red |
|
| 12 | + | set color02 "63/72/00" # Base 0B - Green |
|
| 13 | + | set color03 "9d/6f/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/73/b5" # Base 0D - Blue |
|
| 15 | + | set color05 "4e/66/b6" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/7a/72" # Base 0C - Cyan |
|
| 17 | + | set color07 "47/47/47" # Base 05 - White |
|
| 18 | + | set color08 "77/77/77" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "1b/1b/1b" # Base 07 - Bright White |
|
| 26 | + | set color16 "bf/3e/05" # Base 09 |
|
| 27 | + | set color17 "c4/27/75" # Base 0F |
|
| 28 | + | set color18 "e2/e2/e2" # Base 01 |
|
| 29 | + | set color19 "d4/d4/d4" # Base 02 |
|
| 30 | + | set color20 "5e/5e/5e" # Base 04 |
|
| 31 | + | set color21 "30/30/30" # Base 06 |
|
| 32 | + | set color_foreground "47/47/47" # Base 05 |
|
| 33 | + | set color_background "f1/f1/f1" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 474747 # foreground |
|
| 65 | + | __put_template_custom Ph f1f1f1 # background |
|
| 66 | + | __put_template_custom Pi 474747 # bold color |
|
| 67 | + | __put_template_custom Pj d4d4d4 # selection color |
|
| 68 | + | __put_template_custom Pk 474747 # selected text color |
|
| 69 | + | __put_template_custom Pl 474747 # cursor |
|
| 70 | + | __put_template_custom Pm f1f1f1 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0073b5" blue |
|
| 86 | + | set -gx fish_color_quote "637200" green |
|
| 87 | + | set -gx fish_color_redirection "9d6f00" yellow |
|
| 88 | + | set -gx fish_color_end "007a72" cyan |
|
| 89 | + | set -gx fish_color_error "d02023" red |
|
| 90 | + | set -gx fish_color_param "303030" cyan |
|
| 91 | + | set -gx fish_color_comment "777777" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "474747" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "9d6f00" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "007a72" cyan |
|
| 97 | + | set -gx fish_color_escape "007a72" cyan |
|
| 98 | + | set -gx fish_color_cwd "637200" green |
|
| 99 | + | set -gx fish_color_cwd_root "d02023" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "777777" brblack |
|
| 102 | + | set -gx fish_color_user "637200" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "9d6f00" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "474747" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "1b1b1b" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f1" "f1" "f1" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background equilibrium-gray-light |
|
| 113 | + | set -U base16_fish_theme equilibrium-gray-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Equilibrium Light scheme by Carlo Abelli |
|
| 4 | + | ||
| 5 | + | function base16-equilibrium-light -d "base16 Equilibrium Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f5/f0/e7" # Base 00 - Black |
|
| 11 | + | set color01 "d0/20/23" # Base 08 - Red |
|
| 12 | + | set color02 "63/72/00" # Base 0B - Green |
|
| 13 | + | set color03 "9d/6f/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/73/b5" # Base 0D - Blue |
|
| 15 | + | set color05 "4e/66/b6" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/7a/72" # Base 0C - Cyan |
|
| 17 | + | set color07 "43/47/4e" # Base 05 - White |
|
| 18 | + | set color08 "73/77/7f" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "18/1c/22" # Base 07 - Bright White |
|
| 26 | + | set color16 "bf/3e/05" # Base 09 |
|
| 27 | + | set color17 "c4/27/75" # Base 0F |
|
| 28 | + | set color18 "e7/e2/d9" # Base 01 |
|
| 29 | + | set color19 "d8/d4/cb" # Base 02 |
|
| 30 | + | set color20 "5a/5f/66" # Base 04 |
|
| 31 | + | set color21 "2c/31/38" # Base 06 |
|
| 32 | + | set color_foreground "43/47/4e" # Base 05 |
|
| 33 | + | set color_background "f5/f0/e7" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 43474e # foreground |
|
| 65 | + | __put_template_custom Ph f5f0e7 # background |
|
| 66 | + | __put_template_custom Pi 43474e # bold color |
|
| 67 | + | __put_template_custom Pj d8d4cb # selection color |
|
| 68 | + | __put_template_custom Pk 43474e # selected text color |
|
| 69 | + | __put_template_custom Pl 43474e # cursor |
|
| 70 | + | __put_template_custom Pm f5f0e7 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0073b5" blue |
|
| 86 | + | set -gx fish_color_quote "637200" green |
|
| 87 | + | set -gx fish_color_redirection "9d6f00" yellow |
|
| 88 | + | set -gx fish_color_end "007a72" cyan |
|
| 89 | + | set -gx fish_color_error "d02023" red |
|
| 90 | + | set -gx fish_color_param "2c3138" cyan |
|
| 91 | + | set -gx fish_color_comment "73777f" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "43474e" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "9d6f00" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "007a72" cyan |
|
| 97 | + | set -gx fish_color_escape "007a72" cyan |
|
| 98 | + | set -gx fish_color_cwd "637200" green |
|
| 99 | + | set -gx fish_color_cwd_root "d02023" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "73777f" brblack |
|
| 102 | + | set -gx fish_color_user "637200" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "9d6f00" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "43474e" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "181c22" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f5" "f0" "e7" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background equilibrium-light |
|
| 113 | + | set -U base16_fish_theme equilibrium-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Espresso scheme by Unknown. Maintained by Alex Mirrington (https://github.com/alexmirrington) |
|
| 4 | + | ||
| 5 | + | function base16-espresso -d "base16 Espresso theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2d/2d/2d" # Base 00 - Black |
|
| 11 | + | set color01 "d2/52/52" # Base 08 - Red |
|
| 12 | + | set color02 "a5/c2/61" # Base 0B - Green |
|
| 13 | + | set color03 "ff/c6/6d" # Base 0A - Yellow |
|
| 14 | + | set color04 "6c/99/bb" # Base 0D - Blue |
|
| 15 | + | set color05 "d1/97/d9" # Base 0E - Magenta |
|
| 16 | + | set color06 "be/d6/ff" # Base 0C - Cyan |
|
| 17 | + | set color07 "cc/cc/cc" # Base 05 - White |
|
| 18 | + | set color08 "77/77/77" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "f9/a9/59" # Base 09 |
|
| 27 | + | set color17 "f9/73/94" # Base 0F |
|
| 28 | + | set color18 "39/39/39" # Base 01 |
|
| 29 | + | set color19 "51/51/51" # Base 02 |
|
| 30 | + | set color20 "b4/b7/b4" # Base 04 |
|
| 31 | + | set color21 "e0/e0/e0" # Base 06 |
|
| 32 | + | set color_foreground "cc/cc/cc" # Base 05 |
|
| 33 | + | set color_background "2d/2d/2d" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg cccccc # foreground |
|
| 65 | + | __put_template_custom Ph 2d2d2d # background |
|
| 66 | + | __put_template_custom Pi cccccc # bold color |
|
| 67 | + | __put_template_custom Pj 515151 # selection color |
|
| 68 | + | __put_template_custom Pk cccccc # selected text color |
|
| 69 | + | __put_template_custom Pl cccccc # cursor |
|
| 70 | + | __put_template_custom Pm 2d2d2d # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6c99bb" blue |
|
| 86 | + | set -gx fish_color_quote "a5c261" green |
|
| 87 | + | set -gx fish_color_redirection "ffc66d" yellow |
|
| 88 | + | set -gx fish_color_end "bed6ff" cyan |
|
| 89 | + | set -gx fish_color_error "d25252" red |
|
| 90 | + | set -gx fish_color_param "e0e0e0" cyan |
|
| 91 | + | set -gx fish_color_comment "777777" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "cccccc" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffc66d" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "bed6ff" cyan |
|
| 97 | + | set -gx fish_color_escape "bed6ff" cyan |
|
| 98 | + | set -gx fish_color_cwd "a5c261" green |
|
| 99 | + | set -gx fish_color_cwd_root "d25252" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "777777" brblack |
|
| 102 | + | set -gx fish_color_user "a5c261" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffc66d" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "cccccc" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2d" "2d" "2d" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background espresso |
|
| 113 | + | set -U base16_fish_theme espresso |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Eva Dim scheme by kjakapat (https://github.com/kjakapat) |
|
| 4 | + | ||
| 5 | + | function base16-eva-dim -d "base16 Eva Dim theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2a/3b/4d" # Base 00 - Black |
|
| 11 | + | set color01 "c4/67/6c" # Base 08 - Red |
|
| 12 | + | set color02 "5d/e5/61" # Base 0B - Green |
|
| 13 | + | set color03 "cf/d0/5d" # Base 0A - Yellow |
|
| 14 | + | set color04 "1a/e1/dc" # Base 0D - Blue |
|
| 15 | + | set color05 "9c/6c/d3" # Base 0E - Magenta |
|
| 16 | + | set color06 "4b/8f/77" # Base 0C - Cyan |
|
| 17 | + | set color07 "9f/a2/a6" # Base 05 - White |
|
| 18 | + | set color08 "55/79/9c" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/99/66" # Base 09 |
|
| 27 | + | set color17 "bb/64/a9" # Base 0F |
|
| 28 | + | set color18 "3d/56/6f" # Base 01 |
|
| 29 | + | set color19 "4b/69/88" # Base 02 |
|
| 30 | + | set color20 "7e/90/a3" # Base 04 |
|
| 31 | + | set color21 "d6/d7/d9" # Base 06 |
|
| 32 | + | set color_foreground "9f/a2/a6" # Base 05 |
|
| 33 | + | set color_background "2a/3b/4d" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 9fa2a6 # foreground |
|
| 65 | + | __put_template_custom Ph 2a3b4d # background |
|
| 66 | + | __put_template_custom Pi 9fa2a6 # bold color |
|
| 67 | + | __put_template_custom Pj 4b6988 # selection color |
|
| 68 | + | __put_template_custom Pk 9fa2a6 # selected text color |
|
| 69 | + | __put_template_custom Pl 9fa2a6 # cursor |
|
| 70 | + | __put_template_custom Pm 2a3b4d # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "1ae1dc" blue |
|
| 86 | + | set -gx fish_color_quote "5de561" green |
|
| 87 | + | set -gx fish_color_redirection "cfd05d" yellow |
|
| 88 | + | set -gx fish_color_end "4b8f77" cyan |
|
| 89 | + | set -gx fish_color_error "c4676c" red |
|
| 90 | + | set -gx fish_color_param "d6d7d9" cyan |
|
| 91 | + | set -gx fish_color_comment "55799c" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "9fa2a6" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "cfd05d" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "4b8f77" cyan |
|
| 97 | + | set -gx fish_color_escape "4b8f77" cyan |
|
| 98 | + | set -gx fish_color_cwd "5de561" green |
|
| 99 | + | set -gx fish_color_cwd_root "c4676c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "55799c" brblack |
|
| 102 | + | set -gx fish_color_user "5de561" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "cfd05d" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "9fa2a6" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2a" "3b" "4d" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background eva-dim |
|
| 113 | + | set -U base16_fish_theme eva-dim |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Eva scheme by kjakapat (https://github.com/kjakapat) |
|
| 4 | + | ||
| 5 | + | function base16-eva -d "base16 Eva theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2a/3b/4d" # Base 00 - Black |
|
| 11 | + | set color01 "c4/67/6c" # Base 08 - Red |
|
| 12 | + | set color02 "66/ff/66" # Base 0B - Green |
|
| 13 | + | set color03 "ff/ff/66" # Base 0A - Yellow |
|
| 14 | + | set color04 "15/f4/ee" # Base 0D - Blue |
|
| 15 | + | set color05 "9c/6c/d3" # Base 0E - Magenta |
|
| 16 | + | set color06 "4b/8f/77" # Base 0C - Cyan |
|
| 17 | + | set color07 "9f/a2/a6" # Base 05 - White |
|
| 18 | + | set color08 "55/79/9c" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/99/66" # Base 09 |
|
| 27 | + | set color17 "bb/64/a9" # Base 0F |
|
| 28 | + | set color18 "3d/56/6f" # Base 01 |
|
| 29 | + | set color19 "4b/69/88" # Base 02 |
|
| 30 | + | set color20 "7e/90/a3" # Base 04 |
|
| 31 | + | set color21 "d6/d7/d9" # Base 06 |
|
| 32 | + | set color_foreground "9f/a2/a6" # Base 05 |
|
| 33 | + | set color_background "2a/3b/4d" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 9fa2a6 # foreground |
|
| 65 | + | __put_template_custom Ph 2a3b4d # background |
|
| 66 | + | __put_template_custom Pi 9fa2a6 # bold color |
|
| 67 | + | __put_template_custom Pj 4b6988 # selection color |
|
| 68 | + | __put_template_custom Pk 9fa2a6 # selected text color |
|
| 69 | + | __put_template_custom Pl 9fa2a6 # cursor |
|
| 70 | + | __put_template_custom Pm 2a3b4d # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "15f4ee" blue |
|
| 86 | + | set -gx fish_color_quote "66ff66" green |
|
| 87 | + | set -gx fish_color_redirection "ffff66" yellow |
|
| 88 | + | set -gx fish_color_end "4b8f77" cyan |
|
| 89 | + | set -gx fish_color_error "c4676c" red |
|
| 90 | + | set -gx fish_color_param "d6d7d9" cyan |
|
| 91 | + | set -gx fish_color_comment "55799c" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "9fa2a6" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffff66" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "4b8f77" cyan |
|
| 97 | + | set -gx fish_color_escape "4b8f77" cyan |
|
| 98 | + | set -gx fish_color_cwd "66ff66" green |
|
| 99 | + | set -gx fish_color_cwd_root "c4676c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "55799c" brblack |
|
| 102 | + | set -gx fish_color_user "66ff66" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffff66" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "9fa2a6" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2a" "3b" "4d" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background eva |
|
| 113 | + | set -U base16_fish_theme eva |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Flat scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-flat -d "base16 Flat theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2c/3e/50" # Base 00 - Black |
|
| 11 | + | set color01 "e7/4c/3c" # Base 08 - Red |
|
| 12 | + | set color02 "2e/cc/71" # Base 0B - Green |
|
| 13 | + | set color03 "f1/c4/0f" # Base 0A - Yellow |
|
| 14 | + | set color04 "34/98/db" # Base 0D - Blue |
|
| 15 | + | set color05 "9b/59/b6" # Base 0E - Magenta |
|
| 16 | + | set color06 "1a/bc/9c" # Base 0C - Cyan |
|
| 17 | + | set color07 "e0/e0/e0" # Base 05 - White |
|
| 18 | + | set color08 "95/a5/a6" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ec/f0/f1" # Base 07 - Bright White |
|
| 26 | + | set color16 "e6/7e/22" # Base 09 |
|
| 27 | + | set color17 "be/64/3c" # Base 0F |
|
| 28 | + | set color18 "34/49/5e" # Base 01 |
|
| 29 | + | set color19 "7f/8c/8d" # Base 02 |
|
| 30 | + | set color20 "bd/c3/c7" # Base 04 |
|
| 31 | + | set color21 "f5/f5/f5" # Base 06 |
|
| 32 | + | set color_foreground "e0/e0/e0" # Base 05 |
|
| 33 | + | set color_background "2c/3e/50" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg e0e0e0 # foreground |
|
| 65 | + | __put_template_custom Ph 2c3e50 # background |
|
| 66 | + | __put_template_custom Pi e0e0e0 # bold color |
|
| 67 | + | __put_template_custom Pj 7f8c8d # selection color |
|
| 68 | + | __put_template_custom Pk e0e0e0 # selected text color |
|
| 69 | + | __put_template_custom Pl e0e0e0 # cursor |
|
| 70 | + | __put_template_custom Pm 2c3e50 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3498db" blue |
|
| 86 | + | set -gx fish_color_quote "2ecc71" green |
|
| 87 | + | set -gx fish_color_redirection "f1c40f" yellow |
|
| 88 | + | set -gx fish_color_end "1abc9c" cyan |
|
| 89 | + | set -gx fish_color_error "e74c3c" red |
|
| 90 | + | set -gx fish_color_param "f5f5f5" cyan |
|
| 91 | + | set -gx fish_color_comment "95a5a6" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "e0e0e0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f1c40f" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1abc9c" cyan |
|
| 97 | + | set -gx fish_color_escape "1abc9c" cyan |
|
| 98 | + | set -gx fish_color_cwd "2ecc71" green |
|
| 99 | + | set -gx fish_color_cwd_root "e74c3c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "95a5a6" brblack |
|
| 102 | + | set -gx fish_color_user "2ecc71" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f1c40f" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "e0e0e0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ecf0f1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2c" "3e" "50" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background flat |
|
| 113 | + | set -U base16_fish_theme flat |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Framer scheme by Framer (Maintained by Jesse Hoyos) |
|
| 4 | + | ||
| 5 | + | function base16-framer -d "base16 Framer theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "18/18/18" # Base 00 - Black |
|
| 11 | + | set color01 "fd/88/6b" # Base 08 - Red |
|
| 12 | + | set color02 "32/cc/dc" # Base 0B - Green |
|
| 13 | + | set color03 "fe/cb/6e" # Base 0A - Yellow |
|
| 14 | + | set color04 "20/bc/fc" # Base 0D - Blue |
|
| 15 | + | set color05 "ba/8c/fc" # Base 0E - Magenta |
|
| 16 | + | set color06 "ac/dd/fd" # Base 0C - Cyan |
|
| 17 | + | set color07 "d0/d0/d0" # Base 05 - White |
|
| 18 | + | set color08 "74/74/74" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ee/ee/ee" # Base 07 - Bright White |
|
| 26 | + | set color16 "fc/47/69" # Base 09 |
|
| 27 | + | set color17 "b1/5f/4a" # Base 0F |
|
| 28 | + | set color18 "15/15/15" # Base 01 |
|
| 29 | + | set color19 "46/46/46" # Base 02 |
|
| 30 | + | set color20 "b9/b9/b9" # Base 04 |
|
| 31 | + | set color21 "e8/e8/e8" # Base 06 |
|
| 32 | + | set color_foreground "d0/d0/d0" # Base 05 |
|
| 33 | + | set color_background "18/18/18" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d0d0d0 # foreground |
|
| 65 | + | __put_template_custom Ph 181818 # background |
|
| 66 | + | __put_template_custom Pi d0d0d0 # bold color |
|
| 67 | + | __put_template_custom Pj 464646 # selection color |
|
| 68 | + | __put_template_custom Pk d0d0d0 # selected text color |
|
| 69 | + | __put_template_custom Pl d0d0d0 # cursor |
|
| 70 | + | __put_template_custom Pm 181818 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "20bcfc" blue |
|
| 86 | + | set -gx fish_color_quote "32ccdc" green |
|
| 87 | + | set -gx fish_color_redirection "fecb6e" yellow |
|
| 88 | + | set -gx fish_color_end "acddfd" cyan |
|
| 89 | + | set -gx fish_color_error "fd886b" red |
|
| 90 | + | set -gx fish_color_param "e8e8e8" cyan |
|
| 91 | + | set -gx fish_color_comment "747474" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d0d0d0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fecb6e" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "acddfd" cyan |
|
| 97 | + | set -gx fish_color_escape "acddfd" cyan |
|
| 98 | + | set -gx fish_color_cwd "32ccdc" green |
|
| 99 | + | set -gx fish_color_cwd_root "fd886b" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "747474" brblack |
|
| 102 | + | set -gx fish_color_user "32ccdc" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fecb6e" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d0d0d0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "eeeeee" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "18" "18" "18" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background framer |
|
| 113 | + | set -U base16_fish_theme framer |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Fruit Soda scheme by jozip |
|
| 4 | + | ||
| 5 | + | function base16-fruit-soda -d "base16 Fruit Soda theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f1/ec/f1" # Base 00 - Black |
|
| 11 | + | set color01 "fe/3e/31" # Base 08 - Red |
|
| 12 | + | set color02 "47/f7/4c" # Base 0B - Green |
|
| 13 | + | set color03 "f7/e2/03" # Base 0A - Yellow |
|
| 14 | + | set color04 "29/31/df" # Base 0D - Blue |
|
| 15 | + | set color05 "61/1f/ce" # Base 0E - Magenta |
|
| 16 | + | set color06 "0f/9c/fd" # Base 0C - Cyan |
|
| 17 | + | set color07 "51/51/51" # Base 05 - White |
|
| 18 | + | set color08 "b5/b4/b6" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "2d/2c/2c" # Base 07 - Bright White |
|
| 26 | + | set color16 "fe/6d/08" # Base 09 |
|
| 27 | + | set color17 "b1/6f/40" # Base 0F |
|
| 28 | + | set color18 "e0/de/e0" # Base 01 |
|
| 29 | + | set color19 "d8/d5/d5" # Base 02 |
|
| 30 | + | set color20 "97/95/98" # Base 04 |
|
| 31 | + | set color21 "47/45/45" # Base 06 |
|
| 32 | + | set color_foreground "51/51/51" # Base 05 |
|
| 33 | + | set color_background "f1/ec/f1" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 515151 # foreground |
|
| 65 | + | __put_template_custom Ph f1ecf1 # background |
|
| 66 | + | __put_template_custom Pi 515151 # bold color |
|
| 67 | + | __put_template_custom Pj d8d5d5 # selection color |
|
| 68 | + | __put_template_custom Pk 515151 # selected text color |
|
| 69 | + | __put_template_custom Pl 515151 # cursor |
|
| 70 | + | __put_template_custom Pm f1ecf1 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "2931df" blue |
|
| 86 | + | set -gx fish_color_quote "47f74c" green |
|
| 87 | + | set -gx fish_color_redirection "f7e203" yellow |
|
| 88 | + | set -gx fish_color_end "0f9cfd" cyan |
|
| 89 | + | set -gx fish_color_error "fe3e31" red |
|
| 90 | + | set -gx fish_color_param "474545" cyan |
|
| 91 | + | set -gx fish_color_comment "b5b4b6" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "515151" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f7e203" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "0f9cfd" cyan |
|
| 97 | + | set -gx fish_color_escape "0f9cfd" cyan |
|
| 98 | + | set -gx fish_color_cwd "47f74c" green |
|
| 99 | + | set -gx fish_color_cwd_root "fe3e31" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "b5b4b6" brblack |
|
| 102 | + | set -gx fish_color_user "47f74c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f7e203" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "515151" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "2d2c2c" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f1" "ec" "f1" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background fruit-soda |
|
| 113 | + | set -U base16_fish_theme fruit-soda |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Gigavolt scheme by Aidan Swope (http://github.com/Whillikers) |
|
| 4 | + | ||
| 5 | + | function base16-gigavolt -d "base16 Gigavolt theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "20/21/26" # Base 00 - Black |
|
| 11 | + | set color01 "ff/66/1a" # Base 08 - Red |
|
| 12 | + | set color02 "f2/e6/a9" # Base 0B - Green |
|
| 13 | + | set color03 "ff/dc/2d" # Base 0A - Yellow |
|
| 14 | + | set color04 "40/bf/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "ae/94/f9" # Base 0E - Magenta |
|
| 16 | + | set color06 "fb/6a/cb" # Base 0C - Cyan |
|
| 17 | + | set color07 "e9/e7/e1" # Base 05 - White |
|
| 18 | + | set color08 "a1/d2/e6" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f2/fb/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "19/f9/88" # Base 09 |
|
| 27 | + | set color17 "61/87/ff" # Base 0F |
|
| 28 | + | set color18 "2d/30/3d" # Base 01 |
|
| 29 | + | set color19 "5a/57/6e" # Base 02 |
|
| 30 | + | set color20 "ca/d3/ff" # Base 04 |
|
| 31 | + | set color21 "ef/f0/f9" # Base 06 |
|
| 32 | + | set color_foreground "e9/e7/e1" # Base 05 |
|
| 33 | + | set color_background "20/21/26" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg e9e7e1 # foreground |
|
| 65 | + | __put_template_custom Ph 202126 # background |
|
| 66 | + | __put_template_custom Pi e9e7e1 # bold color |
|
| 67 | + | __put_template_custom Pj 5a576e # selection color |
|
| 68 | + | __put_template_custom Pk e9e7e1 # selected text color |
|
| 69 | + | __put_template_custom Pl e9e7e1 # cursor |
|
| 70 | + | __put_template_custom Pm 202126 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "40bfff" blue |
|
| 86 | + | set -gx fish_color_quote "f2e6a9" green |
|
| 87 | + | set -gx fish_color_redirection "ffdc2d" yellow |
|
| 88 | + | set -gx fish_color_end "fb6acb" cyan |
|
| 89 | + | set -gx fish_color_error "ff661a" red |
|
| 90 | + | set -gx fish_color_param "eff0f9" cyan |
|
| 91 | + | set -gx fish_color_comment "a1d2e6" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "e9e7e1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffdc2d" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "fb6acb" cyan |
|
| 97 | + | set -gx fish_color_escape "fb6acb" cyan |
|
| 98 | + | set -gx fish_color_cwd "f2e6a9" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff661a" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "a1d2e6" brblack |
|
| 102 | + | set -gx fish_color_user "f2e6a9" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffdc2d" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "e9e7e1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f2fbff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "20" "21" "26" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background gigavolt |
|
| 113 | + | set -U base16_fish_theme gigavolt |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Github scheme by Defman21 |
|
| 4 | + | ||
| 5 | + | function base16-github -d "base16 Github theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "ff/ff/ff" # Base 00 - Black |
|
| 11 | + | set color01 "ed/6a/43" # Base 08 - Red |
|
| 12 | + | set color02 "18/36/91" # Base 0B - Green |
|
| 13 | + | set color03 "79/5d/a3" # Base 0A - Yellow |
|
| 14 | + | set color04 "79/5d/a3" # Base 0D - Blue |
|
| 15 | + | set color05 "a7/1d/5d" # Base 0E - Magenta |
|
| 16 | + | set color06 "18/36/91" # Base 0C - Cyan |
|
| 17 | + | set color07 "33/33/33" # Base 05 - White |
|
| 18 | + | set color08 "96/98/96" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "00/86/b3" # Base 09 |
|
| 27 | + | set color17 "33/33/33" # Base 0F |
|
| 28 | + | set color18 "f5/f5/f5" # Base 01 |
|
| 29 | + | set color19 "c8/c8/fa" # Base 02 |
|
| 30 | + | set color20 "e8/e8/e8" # Base 04 |
|
| 31 | + | set color21 "ff/ff/ff" # Base 06 |
|
| 32 | + | set color_foreground "33/33/33" # Base 05 |
|
| 33 | + | set color_background "ff/ff/ff" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 333333 # foreground |
|
| 65 | + | __put_template_custom Ph ffffff # background |
|
| 66 | + | __put_template_custom Pi 333333 # bold color |
|
| 67 | + | __put_template_custom Pj c8c8fa # selection color |
|
| 68 | + | __put_template_custom Pk 333333 # selected text color |
|
| 69 | + | __put_template_custom Pl 333333 # cursor |
|
| 70 | + | __put_template_custom Pm ffffff # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "795da3" blue |
|
| 86 | + | set -gx fish_color_quote "183691" green |
|
| 87 | + | set -gx fish_color_redirection "795da3" yellow |
|
| 88 | + | set -gx fish_color_end "183691" cyan |
|
| 89 | + | set -gx fish_color_error "ed6a43" red |
|
| 90 | + | set -gx fish_color_param "ffffff" cyan |
|
| 91 | + | set -gx fish_color_comment "969896" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "333333" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "795da3" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "183691" cyan |
|
| 97 | + | set -gx fish_color_escape "183691" cyan |
|
| 98 | + | set -gx fish_color_cwd "183691" green |
|
| 99 | + | set -gx fish_color_cwd_root "ed6a43" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "969896" brblack |
|
| 102 | + | set -gx fish_color_user "183691" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "795da3" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "333333" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "ff" "ff" "ff" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background github |
|
| 113 | + | set -U base16_fish_theme github |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Google Dark scheme by Seth Wright (http://sethawright.com) |
|
| 4 | + | ||
| 5 | + | function base16-google-dark -d "base16 Google Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1d/1f/21" # Base 00 - Black |
|
| 11 | + | set color01 "cc/34/2b" # Base 08 - Red |
|
| 12 | + | set color02 "19/88/44" # Base 0B - Green |
|
| 13 | + | set color03 "fb/a9/22" # Base 0A - Yellow |
|
| 14 | + | set color04 "39/71/ed" # Base 0D - Blue |
|
| 15 | + | set color05 "a3/6a/c7" # Base 0E - Magenta |
|
| 16 | + | set color06 "39/71/ed" # Base 0C - Cyan |
|
| 17 | + | set color07 "c5/c8/c6" # Base 05 - White |
|
| 18 | + | set color08 "96/98/96" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "f9/6a/38" # Base 09 |
|
| 27 | + | set color17 "39/71/ed" # Base 0F |
|
| 28 | + | set color18 "28/2a/2e" # Base 01 |
|
| 29 | + | set color19 "37/3b/41" # Base 02 |
|
| 30 | + | set color20 "b4/b7/b4" # Base 04 |
|
| 31 | + | set color21 "e0/e0/e0" # Base 06 |
|
| 32 | + | set color_foreground "c5/c8/c6" # Base 05 |
|
| 33 | + | set color_background "1d/1f/21" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c5c8c6 # foreground |
|
| 65 | + | __put_template_custom Ph 1d1f21 # background |
|
| 66 | + | __put_template_custom Pi c5c8c6 # bold color |
|
| 67 | + | __put_template_custom Pj 373b41 # selection color |
|
| 68 | + | __put_template_custom Pk c5c8c6 # selected text color |
|
| 69 | + | __put_template_custom Pl c5c8c6 # cursor |
|
| 70 | + | __put_template_custom Pm 1d1f21 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3971ed" blue |
|
| 86 | + | set -gx fish_color_quote "198844" green |
|
| 87 | + | set -gx fish_color_redirection "fba922" yellow |
|
| 88 | + | set -gx fish_color_end "3971ed" cyan |
|
| 89 | + | set -gx fish_color_error "cc342b" red |
|
| 90 | + | set -gx fish_color_param "e0e0e0" cyan |
|
| 91 | + | set -gx fish_color_comment "969896" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c5c8c6" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fba922" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "3971ed" cyan |
|
| 97 | + | set -gx fish_color_escape "3971ed" cyan |
|
| 98 | + | set -gx fish_color_cwd "198844" green |
|
| 99 | + | set -gx fish_color_cwd_root "cc342b" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "969896" brblack |
|
| 102 | + | set -gx fish_color_user "198844" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fba922" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c5c8c6" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1d" "1f" "21" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background google-dark |
|
| 113 | + | set -U base16_fish_theme google-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Google Light scheme by Seth Wright (http://sethawright.com) |
|
| 4 | + | ||
| 5 | + | function base16-google-light -d "base16 Google Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "ff/ff/ff" # Base 00 - Black |
|
| 11 | + | set color01 "cc/34/2b" # Base 08 - Red |
|
| 12 | + | set color02 "19/88/44" # Base 0B - Green |
|
| 13 | + | set color03 "fb/a9/22" # Base 0A - Yellow |
|
| 14 | + | set color04 "39/71/ed" # Base 0D - Blue |
|
| 15 | + | set color05 "a3/6a/c7" # Base 0E - Magenta |
|
| 16 | + | set color06 "39/71/ed" # Base 0C - Cyan |
|
| 17 | + | set color07 "37/3b/41" # Base 05 - White |
|
| 18 | + | set color08 "b4/b7/b4" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "1d/1f/21" # Base 07 - Bright White |
|
| 26 | + | set color16 "f9/6a/38" # Base 09 |
|
| 27 | + | set color17 "39/71/ed" # Base 0F |
|
| 28 | + | set color18 "e0/e0/e0" # Base 01 |
|
| 29 | + | set color19 "c5/c8/c6" # Base 02 |
|
| 30 | + | set color20 "96/98/96" # Base 04 |
|
| 31 | + | set color21 "28/2a/2e" # Base 06 |
|
| 32 | + | set color_foreground "37/3b/41" # Base 05 |
|
| 33 | + | set color_background "ff/ff/ff" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 373b41 # foreground |
|
| 65 | + | __put_template_custom Ph ffffff # background |
|
| 66 | + | __put_template_custom Pi 373b41 # bold color |
|
| 67 | + | __put_template_custom Pj c5c8c6 # selection color |
|
| 68 | + | __put_template_custom Pk 373b41 # selected text color |
|
| 69 | + | __put_template_custom Pl 373b41 # cursor |
|
| 70 | + | __put_template_custom Pm ffffff # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3971ed" blue |
|
| 86 | + | set -gx fish_color_quote "198844" green |
|
| 87 | + | set -gx fish_color_redirection "fba922" yellow |
|
| 88 | + | set -gx fish_color_end "3971ed" cyan |
|
| 89 | + | set -gx fish_color_error "cc342b" red |
|
| 90 | + | set -gx fish_color_param "282a2e" cyan |
|
| 91 | + | set -gx fish_color_comment "b4b7b4" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "373b41" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fba922" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "3971ed" cyan |
|
| 97 | + | set -gx fish_color_escape "3971ed" cyan |
|
| 98 | + | set -gx fish_color_cwd "198844" green |
|
| 99 | + | set -gx fish_color_cwd_root "cc342b" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "b4b7b4" brblack |
|
| 102 | + | set -gx fish_color_user "198844" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fba922" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "373b41" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "1d1f21" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "ff" "ff" "ff" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background google-light |
|
| 113 | + | set -U base16_fish_theme google-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Grayscale Dark scheme by Alexandre Gavioli (https://github.com/Alexx2/) |
|
| 4 | + | ||
| 5 | + | function base16-grayscale-dark -d "base16 Grayscale Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "10/10/10" # Base 00 - Black |
|
| 11 | + | set color01 "7c/7c/7c" # Base 08 - Red |
|
| 12 | + | set color02 "8e/8e/8e" # Base 0B - Green |
|
| 13 | + | set color03 "a0/a0/a0" # Base 0A - Yellow |
|
| 14 | + | set color04 "68/68/68" # Base 0D - Blue |
|
| 15 | + | set color05 "74/74/74" # Base 0E - Magenta |
|
| 16 | + | set color06 "86/86/86" # Base 0C - Cyan |
|
| 17 | + | set color07 "b9/b9/b9" # Base 05 - White |
|
| 18 | + | set color08 "52/52/52" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f7/f7/f7" # Base 07 - Bright White |
|
| 26 | + | set color16 "99/99/99" # Base 09 |
|
| 27 | + | set color17 "5e/5e/5e" # Base 0F |
|
| 28 | + | set color18 "25/25/25" # Base 01 |
|
| 29 | + | set color19 "46/46/46" # Base 02 |
|
| 30 | + | set color20 "ab/ab/ab" # Base 04 |
|
| 31 | + | set color21 "e3/e3/e3" # Base 06 |
|
| 32 | + | set color_foreground "b9/b9/b9" # Base 05 |
|
| 33 | + | set color_background "10/10/10" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg b9b9b9 # foreground |
|
| 65 | + | __put_template_custom Ph 101010 # background |
|
| 66 | + | __put_template_custom Pi b9b9b9 # bold color |
|
| 67 | + | __put_template_custom Pj 464646 # selection color |
|
| 68 | + | __put_template_custom Pk b9b9b9 # selected text color |
|
| 69 | + | __put_template_custom Pl b9b9b9 # cursor |
|
| 70 | + | __put_template_custom Pm 101010 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "686868" blue |
|
| 86 | + | set -gx fish_color_quote "8e8e8e" green |
|
| 87 | + | set -gx fish_color_redirection "a0a0a0" yellow |
|
| 88 | + | set -gx fish_color_end "868686" cyan |
|
| 89 | + | set -gx fish_color_error "7c7c7c" red |
|
| 90 | + | set -gx fish_color_param "e3e3e3" cyan |
|
| 91 | + | set -gx fish_color_comment "525252" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "b9b9b9" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a0a0a0" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "868686" cyan |
|
| 97 | + | set -gx fish_color_escape "868686" cyan |
|
| 98 | + | set -gx fish_color_cwd "8e8e8e" green |
|
| 99 | + | set -gx fish_color_cwd_root "7c7c7c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "525252" brblack |
|
| 102 | + | set -gx fish_color_user "8e8e8e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a0a0a0" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "b9b9b9" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f7f7f7" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "10" "10" "10" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background grayscale-dark |
|
| 113 | + | set -U base16_fish_theme grayscale-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Grayscale Light scheme by Alexandre Gavioli (https://github.com/Alexx2/) |
|
| 4 | + | ||
| 5 | + | function base16-grayscale-light -d "base16 Grayscale Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f7/f7/f7" # Base 00 - Black |
|
| 11 | + | set color01 "7c/7c/7c" # Base 08 - Red |
|
| 12 | + | set color02 "8e/8e/8e" # Base 0B - Green |
|
| 13 | + | set color03 "a0/a0/a0" # Base 0A - Yellow |
|
| 14 | + | set color04 "68/68/68" # Base 0D - Blue |
|
| 15 | + | set color05 "74/74/74" # Base 0E - Magenta |
|
| 16 | + | set color06 "86/86/86" # Base 0C - Cyan |
|
| 17 | + | set color07 "46/46/46" # Base 05 - White |
|
| 18 | + | set color08 "ab/ab/ab" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "10/10/10" # Base 07 - Bright White |
|
| 26 | + | set color16 "99/99/99" # Base 09 |
|
| 27 | + | set color17 "5e/5e/5e" # Base 0F |
|
| 28 | + | set color18 "e3/e3/e3" # Base 01 |
|
| 29 | + | set color19 "b9/b9/b9" # Base 02 |
|
| 30 | + | set color20 "52/52/52" # Base 04 |
|
| 31 | + | set color21 "25/25/25" # Base 06 |
|
| 32 | + | set color_foreground "46/46/46" # Base 05 |
|
| 33 | + | set color_background "f7/f7/f7" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 464646 # foreground |
|
| 65 | + | __put_template_custom Ph f7f7f7 # background |
|
| 66 | + | __put_template_custom Pi 464646 # bold color |
|
| 67 | + | __put_template_custom Pj b9b9b9 # selection color |
|
| 68 | + | __put_template_custom Pk 464646 # selected text color |
|
| 69 | + | __put_template_custom Pl 464646 # cursor |
|
| 70 | + | __put_template_custom Pm f7f7f7 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "686868" blue |
|
| 86 | + | set -gx fish_color_quote "8e8e8e" green |
|
| 87 | + | set -gx fish_color_redirection "a0a0a0" yellow |
|
| 88 | + | set -gx fish_color_end "868686" cyan |
|
| 89 | + | set -gx fish_color_error "7c7c7c" red |
|
| 90 | + | set -gx fish_color_param "252525" cyan |
|
| 91 | + | set -gx fish_color_comment "ababab" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "464646" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a0a0a0" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "868686" cyan |
|
| 97 | + | set -gx fish_color_escape "868686" cyan |
|
| 98 | + | set -gx fish_color_cwd "8e8e8e" green |
|
| 99 | + | set -gx fish_color_cwd_root "7c7c7c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "ababab" brblack |
|
| 102 | + | set -gx fish_color_user "8e8e8e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a0a0a0" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "464646" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "101010" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f7" "f7" "f7" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background grayscale-light |
|
| 113 | + | set -U base16_fish_theme grayscale-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Green Screen scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-greenscreen -d "base16 Green Screen theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/11/00" # Base 00 - Black |
|
| 11 | + | set color01 "00/77/00" # Base 08 - Red |
|
| 12 | + | set color02 "00/bb/00" # Base 0B - Green |
|
| 13 | + | set color03 "00/77/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/99/00" # Base 0D - Blue |
|
| 15 | + | set color05 "00/bb/00" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/55/00" # Base 0C - Cyan |
|
| 17 | + | set color07 "00/bb/00" # Base 05 - White |
|
| 18 | + | set color08 "00/77/00" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "00/ff/00" # Base 07 - Bright White |
|
| 26 | + | set color16 "00/99/00" # Base 09 |
|
| 27 | + | set color17 "00/55/00" # Base 0F |
|
| 28 | + | set color18 "00/33/00" # Base 01 |
|
| 29 | + | set color19 "00/55/00" # Base 02 |
|
| 30 | + | set color20 "00/99/00" # Base 04 |
|
| 31 | + | set color21 "00/dd/00" # Base 06 |
|
| 32 | + | set color_foreground "00/bb/00" # Base 05 |
|
| 33 | + | set color_background "00/11/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 00bb00 # foreground |
|
| 65 | + | __put_template_custom Ph 001100 # background |
|
| 66 | + | __put_template_custom Pi 00bb00 # bold color |
|
| 67 | + | __put_template_custom Pj 005500 # selection color |
|
| 68 | + | __put_template_custom Pk 00bb00 # selected text color |
|
| 69 | + | __put_template_custom Pl 00bb00 # cursor |
|
| 70 | + | __put_template_custom Pm 001100 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "009900" blue |
|
| 86 | + | set -gx fish_color_quote "00bb00" green |
|
| 87 | + | set -gx fish_color_redirection "007700" yellow |
|
| 88 | + | set -gx fish_color_end "005500" cyan |
|
| 89 | + | set -gx fish_color_error "007700" red |
|
| 90 | + | set -gx fish_color_param "00dd00" cyan |
|
| 91 | + | set -gx fish_color_comment "007700" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "00bb00" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "007700" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "005500" cyan |
|
| 97 | + | set -gx fish_color_escape "005500" cyan |
|
| 98 | + | set -gx fish_color_cwd "00bb00" green |
|
| 99 | + | set -gx fish_color_cwd_root "007700" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "007700" brblack |
|
| 102 | + | set -gx fish_color_user "00bb00" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "007700" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "00bb00" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "00ff00" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "11" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background greenscreen |
|
| 113 | + | set -U base16_fish_theme greenscreen |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Gruvbox dark, hard scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) |
|
| 4 | + | ||
| 5 | + | function base16-gruvbox-dark-hard -d "base16 Gruvbox dark, hard theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1d/20/21" # Base 00 - Black |
|
| 11 | + | set color01 "fb/49/34" # Base 08 - Red |
|
| 12 | + | set color02 "b8/bb/26" # Base 0B - Green |
|
| 13 | + | set color03 "fa/bd/2f" # Base 0A - Yellow |
|
| 14 | + | set color04 "83/a5/98" # Base 0D - Blue |
|
| 15 | + | set color05 "d3/86/9b" # Base 0E - Magenta |
|
| 16 | + | set color06 "8e/c0/7c" # Base 0C - Cyan |
|
| 17 | + | set color07 "d5/c4/a1" # Base 05 - White |
|
| 18 | + | set color08 "66/5c/54" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fb/f1/c7" # Base 07 - Bright White |
|
| 26 | + | set color16 "fe/80/19" # Base 09 |
|
| 27 | + | set color17 "d6/5d/0e" # Base 0F |
|
| 28 | + | set color18 "3c/38/36" # Base 01 |
|
| 29 | + | set color19 "50/49/45" # Base 02 |
|
| 30 | + | set color20 "bd/ae/93" # Base 04 |
|
| 31 | + | set color21 "eb/db/b2" # Base 06 |
|
| 32 | + | set color_foreground "d5/c4/a1" # Base 05 |
|
| 33 | + | set color_background "1d/20/21" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d5c4a1 # foreground |
|
| 65 | + | __put_template_custom Ph 1d2021 # background |
|
| 66 | + | __put_template_custom Pi d5c4a1 # bold color |
|
| 67 | + | __put_template_custom Pj 504945 # selection color |
|
| 68 | + | __put_template_custom Pk d5c4a1 # selected text color |
|
| 69 | + | __put_template_custom Pl d5c4a1 # cursor |
|
| 70 | + | __put_template_custom Pm 1d2021 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "83a598" blue |
|
| 86 | + | set -gx fish_color_quote "b8bb26" green |
|
| 87 | + | set -gx fish_color_redirection "fabd2f" yellow |
|
| 88 | + | set -gx fish_color_end "8ec07c" cyan |
|
| 89 | + | set -gx fish_color_error "fb4934" red |
|
| 90 | + | set -gx fish_color_param "ebdbb2" cyan |
|
| 91 | + | set -gx fish_color_comment "665c54" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d5c4a1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fabd2f" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "8ec07c" cyan |
|
| 97 | + | set -gx fish_color_escape "8ec07c" cyan |
|
| 98 | + | set -gx fish_color_cwd "b8bb26" green |
|
| 99 | + | set -gx fish_color_cwd_root "fb4934" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "665c54" brblack |
|
| 102 | + | set -gx fish_color_user "b8bb26" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fabd2f" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d5c4a1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fbf1c7" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1d" "20" "21" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background gruvbox-dark-hard |
|
| 113 | + | set -U base16_fish_theme gruvbox-dark-hard |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Gruvbox dark, medium scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) |
|
| 4 | + | ||
| 5 | + | function base16-gruvbox-dark-medium -d "base16 Gruvbox dark, medium theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "28/28/28" # Base 00 - Black |
|
| 11 | + | set color01 "fb/49/34" # Base 08 - Red |
|
| 12 | + | set color02 "b8/bb/26" # Base 0B - Green |
|
| 13 | + | set color03 "fa/bd/2f" # Base 0A - Yellow |
|
| 14 | + | set color04 "83/a5/98" # Base 0D - Blue |
|
| 15 | + | set color05 "d3/86/9b" # Base 0E - Magenta |
|
| 16 | + | set color06 "8e/c0/7c" # Base 0C - Cyan |
|
| 17 | + | set color07 "d5/c4/a1" # Base 05 - White |
|
| 18 | + | set color08 "66/5c/54" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fb/f1/c7" # Base 07 - Bright White |
|
| 26 | + | set color16 "fe/80/19" # Base 09 |
|
| 27 | + | set color17 "d6/5d/0e" # Base 0F |
|
| 28 | + | set color18 "3c/38/36" # Base 01 |
|
| 29 | + | set color19 "50/49/45" # Base 02 |
|
| 30 | + | set color20 "bd/ae/93" # Base 04 |
|
| 31 | + | set color21 "eb/db/b2" # Base 06 |
|
| 32 | + | set color_foreground "d5/c4/a1" # Base 05 |
|
| 33 | + | set color_background "28/28/28" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d5c4a1 # foreground |
|
| 65 | + | __put_template_custom Ph 282828 # background |
|
| 66 | + | __put_template_custom Pi d5c4a1 # bold color |
|
| 67 | + | __put_template_custom Pj 504945 # selection color |
|
| 68 | + | __put_template_custom Pk d5c4a1 # selected text color |
|
| 69 | + | __put_template_custom Pl d5c4a1 # cursor |
|
| 70 | + | __put_template_custom Pm 282828 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "83a598" blue |
|
| 86 | + | set -gx fish_color_quote "b8bb26" green |
|
| 87 | + | set -gx fish_color_redirection "fabd2f" yellow |
|
| 88 | + | set -gx fish_color_end "8ec07c" cyan |
|
| 89 | + | set -gx fish_color_error "fb4934" red |
|
| 90 | + | set -gx fish_color_param "ebdbb2" cyan |
|
| 91 | + | set -gx fish_color_comment "665c54" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d5c4a1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fabd2f" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "8ec07c" cyan |
|
| 97 | + | set -gx fish_color_escape "8ec07c" cyan |
|
| 98 | + | set -gx fish_color_cwd "b8bb26" green |
|
| 99 | + | set -gx fish_color_cwd_root "fb4934" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "665c54" brblack |
|
| 102 | + | set -gx fish_color_user "b8bb26" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fabd2f" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d5c4a1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fbf1c7" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "28" "28" "28" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background gruvbox-dark-medium |
|
| 113 | + | set -U base16_fish_theme gruvbox-dark-medium |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Gruvbox dark, pale scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) |
|
| 4 | + | ||
| 5 | + | function base16-gruvbox-dark-pale -d "base16 Gruvbox dark, pale theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "26/26/26" # Base 00 - Black |
|
| 11 | + | set color01 "d7/5f/5f" # Base 08 - Red |
|
| 12 | + | set color02 "af/af/00" # Base 0B - Green |
|
| 13 | + | set color03 "ff/af/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "83/ad/ad" # Base 0D - Blue |
|
| 15 | + | set color05 "d4/85/ad" # Base 0E - Magenta |
|
| 16 | + | set color06 "85/ad/85" # Base 0C - Cyan |
|
| 17 | + | set color07 "da/b9/97" # Base 05 - White |
|
| 18 | + | set color08 "8a/8a/8a" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "eb/db/b2" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/87/00" # Base 09 |
|
| 27 | + | set color17 "d6/5d/0e" # Base 0F |
|
| 28 | + | set color18 "3a/3a/3a" # Base 01 |
|
| 29 | + | set color19 "4e/4e/4e" # Base 02 |
|
| 30 | + | set color20 "94/94/94" # Base 04 |
|
| 31 | + | set color21 "d5/c4/a1" # Base 06 |
|
| 32 | + | set color_foreground "da/b9/97" # Base 05 |
|
| 33 | + | set color_background "26/26/26" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg dab997 # foreground |
|
| 65 | + | __put_template_custom Ph 262626 # background |
|
| 66 | + | __put_template_custom Pi dab997 # bold color |
|
| 67 | + | __put_template_custom Pj 4e4e4e # selection color |
|
| 68 | + | __put_template_custom Pk dab997 # selected text color |
|
| 69 | + | __put_template_custom Pl dab997 # cursor |
|
| 70 | + | __put_template_custom Pm 262626 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "83adad" blue |
|
| 86 | + | set -gx fish_color_quote "afaf00" green |
|
| 87 | + | set -gx fish_color_redirection "ffaf00" yellow |
|
| 88 | + | set -gx fish_color_end "85ad85" cyan |
|
| 89 | + | set -gx fish_color_error "d75f5f" red |
|
| 90 | + | set -gx fish_color_param "d5c4a1" cyan |
|
| 91 | + | set -gx fish_color_comment "8a8a8a" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "dab997" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffaf00" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "85ad85" cyan |
|
| 97 | + | set -gx fish_color_escape "85ad85" cyan |
|
| 98 | + | set -gx fish_color_cwd "afaf00" green |
|
| 99 | + | set -gx fish_color_cwd_root "d75f5f" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "8a8a8a" brblack |
|
| 102 | + | set -gx fish_color_user "afaf00" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffaf00" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "dab997" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ebdbb2" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "26" "26" "26" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background gruvbox-dark-pale |
|
| 113 | + | set -U base16_fish_theme gruvbox-dark-pale |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Gruvbox dark, soft scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) |
|
| 4 | + | ||
| 5 | + | function base16-gruvbox-dark-soft -d "base16 Gruvbox dark, soft theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "32/30/2f" # Base 00 - Black |
|
| 11 | + | set color01 "fb/49/34" # Base 08 - Red |
|
| 12 | + | set color02 "b8/bb/26" # Base 0B - Green |
|
| 13 | + | set color03 "fa/bd/2f" # Base 0A - Yellow |
|
| 14 | + | set color04 "83/a5/98" # Base 0D - Blue |
|
| 15 | + | set color05 "d3/86/9b" # Base 0E - Magenta |
|
| 16 | + | set color06 "8e/c0/7c" # Base 0C - Cyan |
|
| 17 | + | set color07 "d5/c4/a1" # Base 05 - White |
|
| 18 | + | set color08 "66/5c/54" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fb/f1/c7" # Base 07 - Bright White |
|
| 26 | + | set color16 "fe/80/19" # Base 09 |
|
| 27 | + | set color17 "d6/5d/0e" # Base 0F |
|
| 28 | + | set color18 "3c/38/36" # Base 01 |
|
| 29 | + | set color19 "50/49/45" # Base 02 |
|
| 30 | + | set color20 "bd/ae/93" # Base 04 |
|
| 31 | + | set color21 "eb/db/b2" # Base 06 |
|
| 32 | + | set color_foreground "d5/c4/a1" # Base 05 |
|
| 33 | + | set color_background "32/30/2f" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d5c4a1 # foreground |
|
| 65 | + | __put_template_custom Ph 32302f # background |
|
| 66 | + | __put_template_custom Pi d5c4a1 # bold color |
|
| 67 | + | __put_template_custom Pj 504945 # selection color |
|
| 68 | + | __put_template_custom Pk d5c4a1 # selected text color |
|
| 69 | + | __put_template_custom Pl d5c4a1 # cursor |
|
| 70 | + | __put_template_custom Pm 32302f # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "83a598" blue |
|
| 86 | + | set -gx fish_color_quote "b8bb26" green |
|
| 87 | + | set -gx fish_color_redirection "fabd2f" yellow |
|
| 88 | + | set -gx fish_color_end "8ec07c" cyan |
|
| 89 | + | set -gx fish_color_error "fb4934" red |
|
| 90 | + | set -gx fish_color_param "ebdbb2" cyan |
|
| 91 | + | set -gx fish_color_comment "665c54" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d5c4a1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fabd2f" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "8ec07c" cyan |
|
| 97 | + | set -gx fish_color_escape "8ec07c" cyan |
|
| 98 | + | set -gx fish_color_cwd "b8bb26" green |
|
| 99 | + | set -gx fish_color_cwd_root "fb4934" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "665c54" brblack |
|
| 102 | + | set -gx fish_color_user "b8bb26" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fabd2f" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d5c4a1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fbf1c7" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "32" "30" "2f" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background gruvbox-dark-soft |
|
| 113 | + | set -U base16_fish_theme gruvbox-dark-soft |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Gruvbox light, hard scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) |
|
| 4 | + | ||
| 5 | + | function base16-gruvbox-light-hard -d "base16 Gruvbox light, hard theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f9/f5/d7" # Base 00 - Black |
|
| 11 | + | set color01 "9d/00/06" # Base 08 - Red |
|
| 12 | + | set color02 "79/74/0e" # Base 0B - Green |
|
| 13 | + | set color03 "b5/76/14" # Base 0A - Yellow |
|
| 14 | + | set color04 "07/66/78" # Base 0D - Blue |
|
| 15 | + | set color05 "8f/3f/71" # Base 0E - Magenta |
|
| 16 | + | set color06 "42/7b/58" # Base 0C - Cyan |
|
| 17 | + | set color07 "50/49/45" # Base 05 - White |
|
| 18 | + | set color08 "bd/ae/93" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "28/28/28" # Base 07 - Bright White |
|
| 26 | + | set color16 "af/3a/03" # Base 09 |
|
| 27 | + | set color17 "d6/5d/0e" # Base 0F |
|
| 28 | + | set color18 "eb/db/b2" # Base 01 |
|
| 29 | + | set color19 "d5/c4/a1" # Base 02 |
|
| 30 | + | set color20 "66/5c/54" # Base 04 |
|
| 31 | + | set color21 "3c/38/36" # Base 06 |
|
| 32 | + | set color_foreground "50/49/45" # Base 05 |
|
| 33 | + | set color_background "f9/f5/d7" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 504945 # foreground |
|
| 65 | + | __put_template_custom Ph f9f5d7 # background |
|
| 66 | + | __put_template_custom Pi 504945 # bold color |
|
| 67 | + | __put_template_custom Pj d5c4a1 # selection color |
|
| 68 | + | __put_template_custom Pk 504945 # selected text color |
|
| 69 | + | __put_template_custom Pl 504945 # cursor |
|
| 70 | + | __put_template_custom Pm f9f5d7 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "076678" blue |
|
| 86 | + | set -gx fish_color_quote "79740e" green |
|
| 87 | + | set -gx fish_color_redirection "b57614" yellow |
|
| 88 | + | set -gx fish_color_end "427b58" cyan |
|
| 89 | + | set -gx fish_color_error "9d0006" red |
|
| 90 | + | set -gx fish_color_param "3c3836" cyan |
|
| 91 | + | set -gx fish_color_comment "bdae93" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "504945" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "b57614" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "427b58" cyan |
|
| 97 | + | set -gx fish_color_escape "427b58" cyan |
|
| 98 | + | set -gx fish_color_cwd "79740e" green |
|
| 99 | + | set -gx fish_color_cwd_root "9d0006" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "bdae93" brblack |
|
| 102 | + | set -gx fish_color_user "79740e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "b57614" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "504945" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "282828" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f9" "f5" "d7" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background gruvbox-light-hard |
|
| 113 | + | set -U base16_fish_theme gruvbox-light-hard |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Gruvbox light, medium scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) |
|
| 4 | + | ||
| 5 | + | function base16-gruvbox-light-medium -d "base16 Gruvbox light, medium theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fb/f1/c7" # Base 00 - Black |
|
| 11 | + | set color01 "9d/00/06" # Base 08 - Red |
|
| 12 | + | set color02 "79/74/0e" # Base 0B - Green |
|
| 13 | + | set color03 "b5/76/14" # Base 0A - Yellow |
|
| 14 | + | set color04 "07/66/78" # Base 0D - Blue |
|
| 15 | + | set color05 "8f/3f/71" # Base 0E - Magenta |
|
| 16 | + | set color06 "42/7b/58" # Base 0C - Cyan |
|
| 17 | + | set color07 "50/49/45" # Base 05 - White |
|
| 18 | + | set color08 "bd/ae/93" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "28/28/28" # Base 07 - Bright White |
|
| 26 | + | set color16 "af/3a/03" # Base 09 |
|
| 27 | + | set color17 "d6/5d/0e" # Base 0F |
|
| 28 | + | set color18 "eb/db/b2" # Base 01 |
|
| 29 | + | set color19 "d5/c4/a1" # Base 02 |
|
| 30 | + | set color20 "66/5c/54" # Base 04 |
|
| 31 | + | set color21 "3c/38/36" # Base 06 |
|
| 32 | + | set color_foreground "50/49/45" # Base 05 |
|
| 33 | + | set color_background "fb/f1/c7" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 504945 # foreground |
|
| 65 | + | __put_template_custom Ph fbf1c7 # background |
|
| 66 | + | __put_template_custom Pi 504945 # bold color |
|
| 67 | + | __put_template_custom Pj d5c4a1 # selection color |
|
| 68 | + | __put_template_custom Pk 504945 # selected text color |
|
| 69 | + | __put_template_custom Pl 504945 # cursor |
|
| 70 | + | __put_template_custom Pm fbf1c7 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "076678" blue |
|
| 86 | + | set -gx fish_color_quote "79740e" green |
|
| 87 | + | set -gx fish_color_redirection "b57614" yellow |
|
| 88 | + | set -gx fish_color_end "427b58" cyan |
|
| 89 | + | set -gx fish_color_error "9d0006" red |
|
| 90 | + | set -gx fish_color_param "3c3836" cyan |
|
| 91 | + | set -gx fish_color_comment "bdae93" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "504945" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "b57614" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "427b58" cyan |
|
| 97 | + | set -gx fish_color_escape "427b58" cyan |
|
| 98 | + | set -gx fish_color_cwd "79740e" green |
|
| 99 | + | set -gx fish_color_cwd_root "9d0006" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "bdae93" brblack |
|
| 102 | + | set -gx fish_color_user "79740e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "b57614" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "504945" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "282828" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fb" "f1" "c7" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background gruvbox-light-medium |
|
| 113 | + | set -U base16_fish_theme gruvbox-light-medium |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Gruvbox light, soft scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) |
|
| 4 | + | ||
| 5 | + | function base16-gruvbox-light-soft -d "base16 Gruvbox light, soft theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f2/e5/bc" # Base 00 - Black |
|
| 11 | + | set color01 "9d/00/06" # Base 08 - Red |
|
| 12 | + | set color02 "79/74/0e" # Base 0B - Green |
|
| 13 | + | set color03 "b5/76/14" # Base 0A - Yellow |
|
| 14 | + | set color04 "07/66/78" # Base 0D - Blue |
|
| 15 | + | set color05 "8f/3f/71" # Base 0E - Magenta |
|
| 16 | + | set color06 "42/7b/58" # Base 0C - Cyan |
|
| 17 | + | set color07 "50/49/45" # Base 05 - White |
|
| 18 | + | set color08 "bd/ae/93" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "28/28/28" # Base 07 - Bright White |
|
| 26 | + | set color16 "af/3a/03" # Base 09 |
|
| 27 | + | set color17 "d6/5d/0e" # Base 0F |
|
| 28 | + | set color18 "eb/db/b2" # Base 01 |
|
| 29 | + | set color19 "d5/c4/a1" # Base 02 |
|
| 30 | + | set color20 "66/5c/54" # Base 04 |
|
| 31 | + | set color21 "3c/38/36" # Base 06 |
|
| 32 | + | set color_foreground "50/49/45" # Base 05 |
|
| 33 | + | set color_background "f2/e5/bc" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 504945 # foreground |
|
| 65 | + | __put_template_custom Ph f2e5bc # background |
|
| 66 | + | __put_template_custom Pi 504945 # bold color |
|
| 67 | + | __put_template_custom Pj d5c4a1 # selection color |
|
| 68 | + | __put_template_custom Pk 504945 # selected text color |
|
| 69 | + | __put_template_custom Pl 504945 # cursor |
|
| 70 | + | __put_template_custom Pm f2e5bc # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "076678" blue |
|
| 86 | + | set -gx fish_color_quote "79740e" green |
|
| 87 | + | set -gx fish_color_redirection "b57614" yellow |
|
| 88 | + | set -gx fish_color_end "427b58" cyan |
|
| 89 | + | set -gx fish_color_error "9d0006" red |
|
| 90 | + | set -gx fish_color_param "3c3836" cyan |
|
| 91 | + | set -gx fish_color_comment "bdae93" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "504945" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "b57614" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "427b58" cyan |
|
| 97 | + | set -gx fish_color_escape "427b58" cyan |
|
| 98 | + | set -gx fish_color_cwd "79740e" green |
|
| 99 | + | set -gx fish_color_cwd_root "9d0006" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "bdae93" brblack |
|
| 102 | + | set -gx fish_color_user "79740e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "b57614" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "504945" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "282828" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f2" "e5" "bc" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background gruvbox-light-soft |
|
| 113 | + | set -U base16_fish_theme gruvbox-light-soft |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Hardcore scheme by Chris Caller |
|
| 4 | + | ||
| 5 | + | function base16-hardcore -d "base16 Hardcore theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "21/21/21" # Base 00 - Black |
|
| 11 | + | set color01 "f9/26/72" # Base 08 - Red |
|
| 12 | + | set color02 "a6/e2/2e" # Base 0B - Green |
|
| 13 | + | set color03 "e6/db/74" # Base 0A - Yellow |
|
| 14 | + | set color04 "66/d9/ef" # Base 0D - Blue |
|
| 15 | + | set color05 "9e/6f/fe" # Base 0E - Magenta |
|
| 16 | + | set color06 "70/83/87" # Base 0C - Cyan |
|
| 17 | + | set color07 "cd/cd/cd" # Base 05 - White |
|
| 18 | + | set color08 "4a/4a/4a" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "fd/97/1f" # Base 09 |
|
| 27 | + | set color17 "e8/b8/82" # Base 0F |
|
| 28 | + | set color18 "30/30/30" # Base 01 |
|
| 29 | + | set color19 "35/35/35" # Base 02 |
|
| 30 | + | set color20 "70/70/70" # Base 04 |
|
| 31 | + | set color21 "e5/e5/e5" # Base 06 |
|
| 32 | + | set color_foreground "cd/cd/cd" # Base 05 |
|
| 33 | + | set color_background "21/21/21" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg cdcdcd # foreground |
|
| 65 | + | __put_template_custom Ph 212121 # background |
|
| 66 | + | __put_template_custom Pi cdcdcd # bold color |
|
| 67 | + | __put_template_custom Pj 353535 # selection color |
|
| 68 | + | __put_template_custom Pk cdcdcd # selected text color |
|
| 69 | + | __put_template_custom Pl cdcdcd # cursor |
|
| 70 | + | __put_template_custom Pm 212121 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "66d9ef" blue |
|
| 86 | + | set -gx fish_color_quote "a6e22e" green |
|
| 87 | + | set -gx fish_color_redirection "e6db74" yellow |
|
| 88 | + | set -gx fish_color_end "708387" cyan |
|
| 89 | + | set -gx fish_color_error "f92672" red |
|
| 90 | + | set -gx fish_color_param "e5e5e5" cyan |
|
| 91 | + | set -gx fish_color_comment "4a4a4a" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "cdcdcd" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "e6db74" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "708387" cyan |
|
| 97 | + | set -gx fish_color_escape "708387" cyan |
|
| 98 | + | set -gx fish_color_cwd "a6e22e" green |
|
| 99 | + | set -gx fish_color_cwd_root "f92672" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "4a4a4a" brblack |
|
| 102 | + | set -gx fish_color_user "a6e22e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "e6db74" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "cdcdcd" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "21" "21" "21" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background hardcore |
|
| 113 | + | set -U base16_fish_theme hardcore |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Harmonic16 Dark scheme by Jannik Siebert (https://github.com/janniks) |
|
| 4 | + | ||
| 5 | + | function base16-harmonic-dark -d "base16 Harmonic16 Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "0b/1c/2c" # Base 00 - Black |
|
| 11 | + | set color01 "bf/8b/56" # Base 08 - Red |
|
| 12 | + | set color02 "56/bf/8b" # Base 0B - Green |
|
| 13 | + | set color03 "8b/bf/56" # Base 0A - Yellow |
|
| 14 | + | set color04 "8b/56/bf" # Base 0D - Blue |
|
| 15 | + | set color05 "bf/56/8b" # Base 0E - Magenta |
|
| 16 | + | set color06 "56/8b/bf" # Base 0C - Cyan |
|
| 17 | + | set color07 "cb/d6/e2" # Base 05 - White |
|
| 18 | + | set color08 "62/7e/99" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f7/f9/fb" # Base 07 - Bright White |
|
| 26 | + | set color16 "bf/bf/56" # Base 09 |
|
| 27 | + | set color17 "bf/56/56" # Base 0F |
|
| 28 | + | set color18 "22/3b/54" # Base 01 |
|
| 29 | + | set color19 "40/5c/79" # Base 02 |
|
| 30 | + | set color20 "aa/bc/ce" # Base 04 |
|
| 31 | + | set color21 "e5/eb/f1" # Base 06 |
|
| 32 | + | set color_foreground "cb/d6/e2" # Base 05 |
|
| 33 | + | set color_background "0b/1c/2c" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg cbd6e2 # foreground |
|
| 65 | + | __put_template_custom Ph 0b1c2c # background |
|
| 66 | + | __put_template_custom Pi cbd6e2 # bold color |
|
| 67 | + | __put_template_custom Pj 405c79 # selection color |
|
| 68 | + | __put_template_custom Pk cbd6e2 # selected text color |
|
| 69 | + | __put_template_custom Pl cbd6e2 # cursor |
|
| 70 | + | __put_template_custom Pm 0b1c2c # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "8b56bf" blue |
|
| 86 | + | set -gx fish_color_quote "56bf8b" green |
|
| 87 | + | set -gx fish_color_redirection "8bbf56" yellow |
|
| 88 | + | set -gx fish_color_end "568bbf" cyan |
|
| 89 | + | set -gx fish_color_error "bf8b56" red |
|
| 90 | + | set -gx fish_color_param "e5ebf1" cyan |
|
| 91 | + | set -gx fish_color_comment "627e99" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "cbd6e2" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "8bbf56" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "568bbf" cyan |
|
| 97 | + | set -gx fish_color_escape "568bbf" cyan |
|
| 98 | + | set -gx fish_color_cwd "56bf8b" green |
|
| 99 | + | set -gx fish_color_cwd_root "bf8b56" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "627e99" brblack |
|
| 102 | + | set -gx fish_color_user "56bf8b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "8bbf56" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "cbd6e2" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f7f9fb" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "0b" "1c" "2c" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background harmonic-dark |
|
| 113 | + | set -U base16_fish_theme harmonic-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Harmonic16 Light scheme by Jannik Siebert (https://github.com/janniks) |
|
| 4 | + | ||
| 5 | + | function base16-harmonic-light -d "base16 Harmonic16 Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f7/f9/fb" # Base 00 - Black |
|
| 11 | + | set color01 "bf/8b/56" # Base 08 - Red |
|
| 12 | + | set color02 "56/bf/8b" # Base 0B - Green |
|
| 13 | + | set color03 "8b/bf/56" # Base 0A - Yellow |
|
| 14 | + | set color04 "8b/56/bf" # Base 0D - Blue |
|
| 15 | + | set color05 "bf/56/8b" # Base 0E - Magenta |
|
| 16 | + | set color06 "56/8b/bf" # Base 0C - Cyan |
|
| 17 | + | set color07 "40/5c/79" # Base 05 - White |
|
| 18 | + | set color08 "aa/bc/ce" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "0b/1c/2c" # Base 07 - Bright White |
|
| 26 | + | set color16 "bf/bf/56" # Base 09 |
|
| 27 | + | set color17 "bf/56/56" # Base 0F |
|
| 28 | + | set color18 "e5/eb/f1" # Base 01 |
|
| 29 | + | set color19 "cb/d6/e2" # Base 02 |
|
| 30 | + | set color20 "62/7e/99" # Base 04 |
|
| 31 | + | set color21 "22/3b/54" # Base 06 |
|
| 32 | + | set color_foreground "40/5c/79" # Base 05 |
|
| 33 | + | set color_background "f7/f9/fb" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 405c79 # foreground |
|
| 65 | + | __put_template_custom Ph f7f9fb # background |
|
| 66 | + | __put_template_custom Pi 405c79 # bold color |
|
| 67 | + | __put_template_custom Pj cbd6e2 # selection color |
|
| 68 | + | __put_template_custom Pk 405c79 # selected text color |
|
| 69 | + | __put_template_custom Pl 405c79 # cursor |
|
| 70 | + | __put_template_custom Pm f7f9fb # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "8b56bf" blue |
|
| 86 | + | set -gx fish_color_quote "56bf8b" green |
|
| 87 | + | set -gx fish_color_redirection "8bbf56" yellow |
|
| 88 | + | set -gx fish_color_end "568bbf" cyan |
|
| 89 | + | set -gx fish_color_error "bf8b56" red |
|
| 90 | + | set -gx fish_color_param "223b54" cyan |
|
| 91 | + | set -gx fish_color_comment "aabcce" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "405c79" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "8bbf56" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "568bbf" cyan |
|
| 97 | + | set -gx fish_color_escape "568bbf" cyan |
|
| 98 | + | set -gx fish_color_cwd "56bf8b" green |
|
| 99 | + | set -gx fish_color_cwd_root "bf8b56" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "aabcce" brblack |
|
| 102 | + | set -gx fish_color_user "56bf8b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "8bbf56" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "405c79" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "0b1c2c" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f7" "f9" "fb" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background harmonic-light |
|
| 113 | + | set -U base16_fish_theme harmonic-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Heetch Light scheme by Geoffrey Teale (tealeg@gmail.com) |
|
| 4 | + | ||
| 5 | + | function base16-heetch-light -d "base16 Heetch Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fe/ff/ff" # Base 00 - Black |
|
| 11 | + | set color01 "27/d9/d5" # Base 08 - Red |
|
| 12 | + | set color02 "f8/00/59" # Base 0B - Green |
|
| 13 | + | set color03 "5b/a2/b6" # Base 0A - Yellow |
|
| 14 | + | set color04 "47/f9/f5" # Base 0D - Blue |
|
| 15 | + | set color05 "bd/01/52" # Base 0E - Magenta |
|
| 16 | + | set color06 "c3/36/78" # Base 0C - Cyan |
|
| 17 | + | set color07 "5a/49/6e" # Base 05 - White |
|
| 18 | + | set color08 "9c/92/a8" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "19/01/34" # Base 07 - Bright White |
|
| 26 | + | set color16 "bd/b6/c5" # Base 09 |
|
| 27 | + | set color17 "de/da/e2" # Base 0F |
|
| 28 | + | set color18 "39/25/51" # Base 01 |
|
| 29 | + | set color19 "7b/6d/8b" # Base 02 |
|
| 30 | + | set color20 "dd/d6/e5" # Base 04 |
|
| 31 | + | set color21 "47/05/46" # Base 06 |
|
| 32 | + | set color_foreground "5a/49/6e" # Base 05 |
|
| 33 | + | set color_background "fe/ff/ff" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 5a496e # foreground |
|
| 65 | + | __put_template_custom Ph feffff # background |
|
| 66 | + | __put_template_custom Pi 5a496e # bold color |
|
| 67 | + | __put_template_custom Pj 7b6d8b # selection color |
|
| 68 | + | __put_template_custom Pk 5a496e # selected text color |
|
| 69 | + | __put_template_custom Pl 5a496e # cursor |
|
| 70 | + | __put_template_custom Pm feffff # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "47f9f5" blue |
|
| 86 | + | set -gx fish_color_quote "f80059" green |
|
| 87 | + | set -gx fish_color_redirection "5ba2b6" yellow |
|
| 88 | + | set -gx fish_color_end "c33678" cyan |
|
| 89 | + | set -gx fish_color_error "27d9d5" red |
|
| 90 | + | set -gx fish_color_param "470546" cyan |
|
| 91 | + | set -gx fish_color_comment "9c92a8" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "5a496e" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "5ba2b6" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "c33678" cyan |
|
| 97 | + | set -gx fish_color_escape "c33678" cyan |
|
| 98 | + | set -gx fish_color_cwd "f80059" green |
|
| 99 | + | set -gx fish_color_cwd_root "27d9d5" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "9c92a8" brblack |
|
| 102 | + | set -gx fish_color_user "f80059" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "5ba2b6" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "5a496e" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "190134" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fe" "ff" "ff" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background heetch-light |
|
| 113 | + | set -U base16_fish_theme heetch-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Heetch Dark scheme by Geoffrey Teale (tealeg@gmail.com) |
|
| 4 | + | ||
| 5 | + | function base16-heetch -d "base16 Heetch Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "19/01/34" # Base 00 - Black |
|
| 11 | + | set color01 "27/d9/d5" # Base 08 - Red |
|
| 12 | + | set color02 "c3/36/78" # Base 0B - Green |
|
| 13 | + | set color03 "8f/6c/97" # Base 0A - Yellow |
|
| 14 | + | set color04 "bd/01/52" # Base 0D - Blue |
|
| 15 | + | set color05 "82/03/4c" # Base 0E - Magenta |
|
| 16 | + | set color06 "f8/00/59" # Base 0C - Cyan |
|
| 17 | + | set color07 "bd/b6/c5" # Base 05 - White |
|
| 18 | + | set color08 "7b/6d/8b" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fe/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "5b/a2/b6" # Base 09 |
|
| 27 | + | set color17 "47/05/46" # Base 0F |
|
| 28 | + | set color18 "39/25/51" # Base 01 |
|
| 29 | + | set color19 "5a/49/6e" # Base 02 |
|
| 30 | + | set color20 "9c/92/a8" # Base 04 |
|
| 31 | + | set color21 "de/da/e2" # Base 06 |
|
| 32 | + | set color_foreground "bd/b6/c5" # Base 05 |
|
| 33 | + | set color_background "19/01/34" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg bdb6c5 # foreground |
|
| 65 | + | __put_template_custom Ph 190134 # background |
|
| 66 | + | __put_template_custom Pi bdb6c5 # bold color |
|
| 67 | + | __put_template_custom Pj 5a496e # selection color |
|
| 68 | + | __put_template_custom Pk bdb6c5 # selected text color |
|
| 69 | + | __put_template_custom Pl bdb6c5 # cursor |
|
| 70 | + | __put_template_custom Pm 190134 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "bd0152" blue |
|
| 86 | + | set -gx fish_color_quote "c33678" green |
|
| 87 | + | set -gx fish_color_redirection "8f6c97" yellow |
|
| 88 | + | set -gx fish_color_end "f80059" cyan |
|
| 89 | + | set -gx fish_color_error "27d9d5" red |
|
| 90 | + | set -gx fish_color_param "dedae2" cyan |
|
| 91 | + | set -gx fish_color_comment "7b6d8b" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "bdb6c5" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "8f6c97" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "f80059" cyan |
|
| 97 | + | set -gx fish_color_escape "f80059" cyan |
|
| 98 | + | set -gx fish_color_cwd "c33678" green |
|
| 99 | + | set -gx fish_color_cwd_root "27d9d5" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "7b6d8b" brblack |
|
| 102 | + | set -gx fish_color_user "c33678" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "8f6c97" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "bdb6c5" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "feffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "19" "01" "34" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background heetch |
|
| 113 | + | set -U base16_fish_theme heetch |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Helios scheme by Alex Meyer (https://github.com/reyemxela) |
|
| 4 | + | ||
| 5 | + | function base16-helios -d "base16 Helios theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1d/20/21" # Base 00 - Black |
|
| 11 | + | set color01 "d7/26/38" # Base 08 - Red |
|
| 12 | + | set color02 "88/b9/2d" # Base 0B - Green |
|
| 13 | + | set color03 "f1/9d/1a" # Base 0A - Yellow |
|
| 14 | + | set color04 "1e/8b/ac" # Base 0D - Blue |
|
| 15 | + | set color05 "be/42/64" # Base 0E - Magenta |
|
| 16 | + | set color06 "1b/a5/95" # Base 0C - Cyan |
|
| 17 | + | set color07 "d5/d5/d5" # Base 05 - White |
|
| 18 | + | set color08 "6f/75/79" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "e5/e5/e5" # Base 07 - Bright White |
|
| 26 | + | set color16 "eb/84/13" # Base 09 |
|
| 27 | + | set color17 "c8/5e/0d" # Base 0F |
|
| 28 | + | set color18 "38/3c/3e" # Base 01 |
|
| 29 | + | set color19 "53/58/5b" # Base 02 |
|
| 30 | + | set color20 "cd/cd/cd" # Base 04 |
|
| 31 | + | set color21 "dd/dd/dd" # Base 06 |
|
| 32 | + | set color_foreground "d5/d5/d5" # Base 05 |
|
| 33 | + | set color_background "1d/20/21" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d5d5d5 # foreground |
|
| 65 | + | __put_template_custom Ph 1d2021 # background |
|
| 66 | + | __put_template_custom Pi d5d5d5 # bold color |
|
| 67 | + | __put_template_custom Pj 53585b # selection color |
|
| 68 | + | __put_template_custom Pk d5d5d5 # selected text color |
|
| 69 | + | __put_template_custom Pl d5d5d5 # cursor |
|
| 70 | + | __put_template_custom Pm 1d2021 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "1e8bac" blue |
|
| 86 | + | set -gx fish_color_quote "88b92d" green |
|
| 87 | + | set -gx fish_color_redirection "f19d1a" yellow |
|
| 88 | + | set -gx fish_color_end "1ba595" cyan |
|
| 89 | + | set -gx fish_color_error "d72638" red |
|
| 90 | + | set -gx fish_color_param "dddddd" cyan |
|
| 91 | + | set -gx fish_color_comment "6f7579" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d5d5d5" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f19d1a" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1ba595" cyan |
|
| 97 | + | set -gx fish_color_escape "1ba595" cyan |
|
| 98 | + | set -gx fish_color_cwd "88b92d" green |
|
| 99 | + | set -gx fish_color_cwd_root "d72638" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "6f7579" brblack |
|
| 102 | + | set -gx fish_color_user "88b92d" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f19d1a" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d5d5d5" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "e5e5e5" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1d" "20" "21" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background helios |
|
| 113 | + | set -U base16_fish_theme helios |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Hopscotch scheme by Jan T. Sott |
|
| 4 | + | ||
| 5 | + | function base16-hopscotch -d "base16 Hopscotch theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "32/29/31" # Base 00 - Black |
|
| 11 | + | set color01 "dd/46/4c" # Base 08 - Red |
|
| 12 | + | set color02 "8f/c1/3e" # Base 0B - Green |
|
| 13 | + | set color03 "fd/cc/59" # Base 0A - Yellow |
|
| 14 | + | set color04 "12/90/bf" # Base 0D - Blue |
|
| 15 | + | set color05 "c8/5e/7c" # Base 0E - Magenta |
|
| 16 | + | set color06 "14/9b/93" # Base 0C - Cyan |
|
| 17 | + | set color07 "b9/b5/b8" # Base 05 - White |
|
| 18 | + | set color08 "79/73/79" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "fd/8b/19" # Base 09 |
|
| 27 | + | set color17 "b3/35/08" # Base 0F |
|
| 28 | + | set color18 "43/3b/42" # Base 01 |
|
| 29 | + | set color19 "5c/54/5b" # Base 02 |
|
| 30 | + | set color20 "98/94/98" # Base 04 |
|
| 31 | + | set color21 "d5/d3/d5" # Base 06 |
|
| 32 | + | set color_foreground "b9/b5/b8" # Base 05 |
|
| 33 | + | set color_background "32/29/31" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg b9b5b8 # foreground |
|
| 65 | + | __put_template_custom Ph 322931 # background |
|
| 66 | + | __put_template_custom Pi b9b5b8 # bold color |
|
| 67 | + | __put_template_custom Pj 5c545b # selection color |
|
| 68 | + | __put_template_custom Pk b9b5b8 # selected text color |
|
| 69 | + | __put_template_custom Pl b9b5b8 # cursor |
|
| 70 | + | __put_template_custom Pm 322931 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "1290bf" blue |
|
| 86 | + | set -gx fish_color_quote "8fc13e" green |
|
| 87 | + | set -gx fish_color_redirection "fdcc59" yellow |
|
| 88 | + | set -gx fish_color_end "149b93" cyan |
|
| 89 | + | set -gx fish_color_error "dd464c" red |
|
| 90 | + | set -gx fish_color_param "d5d3d5" cyan |
|
| 91 | + | set -gx fish_color_comment "797379" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "b9b5b8" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fdcc59" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "149b93" cyan |
|
| 97 | + | set -gx fish_color_escape "149b93" cyan |
|
| 98 | + | set -gx fish_color_cwd "8fc13e" green |
|
| 99 | + | set -gx fish_color_cwd_root "dd464c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "797379" brblack |
|
| 102 | + | set -gx fish_color_user "8fc13e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fdcc59" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "b9b5b8" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "32" "29" "31" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background hopscotch |
|
| 113 | + | set -U base16_fish_theme hopscotch |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Horizon Dark scheme by Michaël Ball (http://github.com/michael-ball/) |
|
| 4 | + | ||
| 5 | + | function base16-horizon-dark -d "base16 Horizon Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1c/1e/26" # Base 00 - Black |
|
| 11 | + | set color01 "e9/3c/58" # Base 08 - Red |
|
| 12 | + | set color02 "ef/af/8e" # Base 0B - Green |
|
| 13 | + | set color03 "ef/b9/93" # Base 0A - Yellow |
|
| 14 | + | set color04 "df/52/73" # Base 0D - Blue |
|
| 15 | + | set color05 "b0/72/d1" # Base 0E - Magenta |
|
| 16 | + | set color06 "24/a8/b4" # Base 0C - Cyan |
|
| 17 | + | set color07 "cb/ce/d0" # Base 05 - White |
|
| 18 | + | set color08 "6f/6f/70" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "e3/e6/ee" # Base 07 - Bright White |
|
| 26 | + | set color16 "e5/8d/7d" # Base 09 |
|
| 27 | + | set color17 "e4/a3/82" # Base 0F |
|
| 28 | + | set color18 "23/25/30" # Base 01 |
|
| 29 | + | set color19 "2e/30/3e" # Base 02 |
|
| 30 | + | set color20 "9d/a0/a2" # Base 04 |
|
| 31 | + | set color21 "dc/df/e4" # Base 06 |
|
| 32 | + | set color_foreground "cb/ce/d0" # Base 05 |
|
| 33 | + | set color_background "1c/1e/26" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg cbced0 # foreground |
|
| 65 | + | __put_template_custom Ph 1c1e26 # background |
|
| 66 | + | __put_template_custom Pi cbced0 # bold color |
|
| 67 | + | __put_template_custom Pj 2e303e # selection color |
|
| 68 | + | __put_template_custom Pk cbced0 # selected text color |
|
| 69 | + | __put_template_custom Pl cbced0 # cursor |
|
| 70 | + | __put_template_custom Pm 1c1e26 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "df5273" blue |
|
| 86 | + | set -gx fish_color_quote "efaf8e" green |
|
| 87 | + | set -gx fish_color_redirection "efb993" yellow |
|
| 88 | + | set -gx fish_color_end "24a8b4" cyan |
|
| 89 | + | set -gx fish_color_error "e93c58" red |
|
| 90 | + | set -gx fish_color_param "dcdfe4" cyan |
|
| 91 | + | set -gx fish_color_comment "6f6f70" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "cbced0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "efb993" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "24a8b4" cyan |
|
| 97 | + | set -gx fish_color_escape "24a8b4" cyan |
|
| 98 | + | set -gx fish_color_cwd "efaf8e" green |
|
| 99 | + | set -gx fish_color_cwd_root "e93c58" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "6f6f70" brblack |
|
| 102 | + | set -gx fish_color_user "efaf8e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "efb993" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "cbced0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "e3e6ee" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1c" "1e" "26" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background horizon-dark |
|
| 113 | + | set -U base16_fish_theme horizon-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Horizon Light scheme by Michaël Ball (http://github.com/michael-ball/) |
|
| 4 | + | ||
| 5 | + | function base16-horizon-light -d "base16 Horizon Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fd/f0/ed" # Base 00 - Black |
|
| 11 | + | set color01 "f7/93/9b" # Base 08 - Red |
|
| 12 | + | set color02 "94/e1/b0" # Base 0B - Green |
|
| 13 | + | set color03 "fb/e0/d9" # Base 0A - Yellow |
|
| 14 | + | set color04 "da/10/3f" # Base 0D - Blue |
|
| 15 | + | set color05 "1d/89/91" # Base 0E - Magenta |
|
| 16 | + | set color06 "dc/33/18" # Base 0C - Cyan |
|
| 17 | + | set color07 "40/3c/3d" # Base 05 - White |
|
| 18 | + | set color08 "bd/b3/b1" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "20/1c/1d" # Base 07 - Bright White |
|
| 26 | + | set color16 "f6/66/1e" # Base 09 |
|
| 27 | + | set color17 "e5/8c/92" # Base 0F |
|
| 28 | + | set color18 "fa/da/d1" # Base 01 |
|
| 29 | + | set color19 "f9/cb/be" # Base 02 |
|
| 30 | + | set color20 "94/8c/8a" # Base 04 |
|
| 31 | + | set color21 "30/2c/2d" # Base 06 |
|
| 32 | + | set color_foreground "40/3c/3d" # Base 05 |
|
| 33 | + | set color_background "fd/f0/ed" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 403c3d # foreground |
|
| 65 | + | __put_template_custom Ph fdf0ed # background |
|
| 66 | + | __put_template_custom Pi 403c3d # bold color |
|
| 67 | + | __put_template_custom Pj f9cbbe # selection color |
|
| 68 | + | __put_template_custom Pk 403c3d # selected text color |
|
| 69 | + | __put_template_custom Pl 403c3d # cursor |
|
| 70 | + | __put_template_custom Pm fdf0ed # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "da103f" blue |
|
| 86 | + | set -gx fish_color_quote "94e1b0" green |
|
| 87 | + | set -gx fish_color_redirection "fbe0d9" yellow |
|
| 88 | + | set -gx fish_color_end "dc3318" cyan |
|
| 89 | + | set -gx fish_color_error "f7939b" red |
|
| 90 | + | set -gx fish_color_param "302c2d" cyan |
|
| 91 | + | set -gx fish_color_comment "bdb3b1" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "403c3d" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fbe0d9" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "dc3318" cyan |
|
| 97 | + | set -gx fish_color_escape "dc3318" cyan |
|
| 98 | + | set -gx fish_color_cwd "94e1b0" green |
|
| 99 | + | set -gx fish_color_cwd_root "f7939b" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "bdb3b1" brblack |
|
| 102 | + | set -gx fish_color_user "94e1b0" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fbe0d9" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "403c3d" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "201c1d" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fd" "f0" "ed" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background horizon-light |
|
| 113 | + | set -U base16_fish_theme horizon-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Horizon Dark scheme by Michaël Ball (http://github.com/michael-ball/) |
|
| 4 | + | ||
| 5 | + | function base16-horizon-terminal-dark -d "base16 Horizon Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1c/1e/26" # Base 00 - Black |
|
| 11 | + | set color01 "e9/56/78" # Base 08 - Red |
|
| 12 | + | set color02 "29/d3/98" # Base 0B - Green |
|
| 13 | + | set color03 "fa/c2/9a" # Base 0A - Yellow |
|
| 14 | + | set color04 "26/bb/d9" # Base 0D - Blue |
|
| 15 | + | set color05 "ee/64/ac" # Base 0E - Magenta |
|
| 16 | + | set color06 "59/e1/e3" # Base 0C - Cyan |
|
| 17 | + | set color07 "cb/ce/d0" # Base 05 - White |
|
| 18 | + | set color08 "6f/6f/70" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "e3/e6/ee" # Base 07 - Bright White |
|
| 26 | + | set color16 "fa/b7/95" # Base 09 |
|
| 27 | + | set color17 "f0/93/83" # Base 0F |
|
| 28 | + | set color18 "23/25/30" # Base 01 |
|
| 29 | + | set color19 "2e/30/3e" # Base 02 |
|
| 30 | + | set color20 "9d/a0/a2" # Base 04 |
|
| 31 | + | set color21 "dc/df/e4" # Base 06 |
|
| 32 | + | set color_foreground "cb/ce/d0" # Base 05 |
|
| 33 | + | set color_background "1c/1e/26" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg cbced0 # foreground |
|
| 65 | + | __put_template_custom Ph 1c1e26 # background |
|
| 66 | + | __put_template_custom Pi cbced0 # bold color |
|
| 67 | + | __put_template_custom Pj 2e303e # selection color |
|
| 68 | + | __put_template_custom Pk cbced0 # selected text color |
|
| 69 | + | __put_template_custom Pl cbced0 # cursor |
|
| 70 | + | __put_template_custom Pm 1c1e26 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "26bbd9" blue |
|
| 86 | + | set -gx fish_color_quote "29d398" green |
|
| 87 | + | set -gx fish_color_redirection "fac29a" yellow |
|
| 88 | + | set -gx fish_color_end "59e1e3" cyan |
|
| 89 | + | set -gx fish_color_error "e95678" red |
|
| 90 | + | set -gx fish_color_param "dcdfe4" cyan |
|
| 91 | + | set -gx fish_color_comment "6f6f70" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "cbced0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fac29a" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "59e1e3" cyan |
|
| 97 | + | set -gx fish_color_escape "59e1e3" cyan |
|
| 98 | + | set -gx fish_color_cwd "29d398" green |
|
| 99 | + | set -gx fish_color_cwd_root "e95678" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "6f6f70" brblack |
|
| 102 | + | set -gx fish_color_user "29d398" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fac29a" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "cbced0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "e3e6ee" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1c" "1e" "26" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background horizon-terminal-dark |
|
| 113 | + | set -U base16_fish_theme horizon-terminal-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Horizon Light scheme by Michaël Ball (http://github.com/michael-ball/) |
|
| 4 | + | ||
| 5 | + | function base16-horizon-terminal-light -d "base16 Horizon Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fd/f0/ed" # Base 00 - Black |
|
| 11 | + | set color01 "e9/56/78" # Base 08 - Red |
|
| 12 | + | set color02 "29/d3/98" # Base 0B - Green |
|
| 13 | + | set color03 "fa/da/d1" # Base 0A - Yellow |
|
| 14 | + | set color04 "26/bb/d9" # Base 0D - Blue |
|
| 15 | + | set color05 "ee/64/ac" # Base 0E - Magenta |
|
| 16 | + | set color06 "59/e1/e3" # Base 0C - Cyan |
|
| 17 | + | set color07 "40/3c/3d" # Base 05 - White |
|
| 18 | + | set color08 "bd/b3/b1" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "20/1c/1d" # Base 07 - Bright White |
|
| 26 | + | set color16 "f9/ce/c3" # Base 09 |
|
| 27 | + | set color17 "f9/cb/be" # Base 0F |
|
| 28 | + | set color18 "fa/da/d1" # Base 01 |
|
| 29 | + | set color19 "f9/cb/be" # Base 02 |
|
| 30 | + | set color20 "94/8c/8a" # Base 04 |
|
| 31 | + | set color21 "30/2c/2d" # Base 06 |
|
| 32 | + | set color_foreground "40/3c/3d" # Base 05 |
|
| 33 | + | set color_background "fd/f0/ed" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 403c3d # foreground |
|
| 65 | + | __put_template_custom Ph fdf0ed # background |
|
| 66 | + | __put_template_custom Pi 403c3d # bold color |
|
| 67 | + | __put_template_custom Pj f9cbbe # selection color |
|
| 68 | + | __put_template_custom Pk 403c3d # selected text color |
|
| 69 | + | __put_template_custom Pl 403c3d # cursor |
|
| 70 | + | __put_template_custom Pm fdf0ed # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "26bbd9" blue |
|
| 86 | + | set -gx fish_color_quote "29d398" green |
|
| 87 | + | set -gx fish_color_redirection "fadad1" yellow |
|
| 88 | + | set -gx fish_color_end "59e1e3" cyan |
|
| 89 | + | set -gx fish_color_error "e95678" red |
|
| 90 | + | set -gx fish_color_param "302c2d" cyan |
|
| 91 | + | set -gx fish_color_comment "bdb3b1" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "403c3d" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fadad1" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "59e1e3" cyan |
|
| 97 | + | set -gx fish_color_escape "59e1e3" cyan |
|
| 98 | + | set -gx fish_color_cwd "29d398" green |
|
| 99 | + | set -gx fish_color_cwd_root "e95678" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "bdb3b1" brblack |
|
| 102 | + | set -gx fish_color_user "29d398" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fadad1" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "403c3d" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "201c1d" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fd" "f0" "ed" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background horizon-terminal-light |
|
| 113 | + | set -U base16_fish_theme horizon-terminal-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Humanoid dark scheme by Thomas (tasmo) Friese |
|
| 4 | + | ||
| 5 | + | function base16-humanoid-dark -d "base16 Humanoid dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "23/26/29" # Base 00 - Black |
|
| 11 | + | set color01 "f1/12/35" # Base 08 - Red |
|
| 12 | + | set color02 "02/d8/49" # Base 0B - Green |
|
| 13 | + | set color03 "ff/b6/27" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/a6/fb" # Base 0D - Blue |
|
| 15 | + | set color05 "f1/5e/e3" # Base 0E - Magenta |
|
| 16 | + | set color06 "0d/d9/d6" # Base 0C - Cyan |
|
| 17 | + | set color07 "f8/f8/f2" # Base 05 - White |
|
| 18 | + | set color08 "60/61/5d" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fc/fc/fc" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/95/05" # Base 09 |
|
| 27 | + | set color17 "b2/77/01" # Base 0F |
|
| 28 | + | set color18 "33/3b/3d" # Base 01 |
|
| 29 | + | set color19 "48/4e/54" # Base 02 |
|
| 30 | + | set color20 "c0/c0/bd" # Base 04 |
|
| 31 | + | set color21 "fc/fc/f6" # Base 06 |
|
| 32 | + | set color_foreground "f8/f8/f2" # Base 05 |
|
| 33 | + | set color_background "23/26/29" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg f8f8f2 # foreground |
|
| 65 | + | __put_template_custom Ph 232629 # background |
|
| 66 | + | __put_template_custom Pi f8f8f2 # bold color |
|
| 67 | + | __put_template_custom Pj 484e54 # selection color |
|
| 68 | + | __put_template_custom Pk f8f8f2 # selected text color |
|
| 69 | + | __put_template_custom Pl f8f8f2 # cursor |
|
| 70 | + | __put_template_custom Pm 232629 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "00a6fb" blue |
|
| 86 | + | set -gx fish_color_quote "02d849" green |
|
| 87 | + | set -gx fish_color_redirection "ffb627" yellow |
|
| 88 | + | set -gx fish_color_end "0dd9d6" cyan |
|
| 89 | + | set -gx fish_color_error "f11235" red |
|
| 90 | + | set -gx fish_color_param "fcfcf6" cyan |
|
| 91 | + | set -gx fish_color_comment "60615d" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "f8f8f2" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffb627" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "0dd9d6" cyan |
|
| 97 | + | set -gx fish_color_escape "0dd9d6" cyan |
|
| 98 | + | set -gx fish_color_cwd "02d849" green |
|
| 99 | + | set -gx fish_color_cwd_root "f11235" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "60615d" brblack |
|
| 102 | + | set -gx fish_color_user "02d849" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffb627" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "f8f8f2" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fcfcfc" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "23" "26" "29" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background humanoid-dark |
|
| 113 | + | set -U base16_fish_theme humanoid-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Humanoid light scheme by Thomas (tasmo) Friese |
|
| 4 | + | ||
| 5 | + | function base16-humanoid-light -d "base16 Humanoid light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f8/f8/f2" # Base 00 - Black |
|
| 11 | + | set color01 "b0/15/1a" # Base 08 - Red |
|
| 12 | + | set color02 "38/8e/3c" # Base 0B - Green |
|
| 13 | + | set color03 "ff/b6/27" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/82/c9" # Base 0D - Blue |
|
| 15 | + | set color05 "70/0f/98" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/8e/8e" # Base 0C - Cyan |
|
| 17 | + | set color07 "23/26/29" # Base 05 - White |
|
| 18 | + | set color08 "c0/c0/bd" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "07/07/08" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/3d/00" # Base 09 |
|
| 27 | + | set color17 "b2/77/01" # Base 0F |
|
| 28 | + | set color18 "ef/ef/e9" # Base 01 |
|
| 29 | + | set color19 "de/de/d8" # Base 02 |
|
| 30 | + | set color20 "60/61/5d" # Base 04 |
|
| 31 | + | set color21 "2f/33/37" # Base 06 |
|
| 32 | + | set color_foreground "23/26/29" # Base 05 |
|
| 33 | + | set color_background "f8/f8/f2" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 232629 # foreground |
|
| 65 | + | __put_template_custom Ph f8f8f2 # background |
|
| 66 | + | __put_template_custom Pi 232629 # bold color |
|
| 67 | + | __put_template_custom Pj deded8 # selection color |
|
| 68 | + | __put_template_custom Pk 232629 # selected text color |
|
| 69 | + | __put_template_custom Pl 232629 # cursor |
|
| 70 | + | __put_template_custom Pm f8f8f2 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0082c9" blue |
|
| 86 | + | set -gx fish_color_quote "388e3c" green |
|
| 87 | + | set -gx fish_color_redirection "ffb627" yellow |
|
| 88 | + | set -gx fish_color_end "008e8e" cyan |
|
| 89 | + | set -gx fish_color_error "b0151a" red |
|
| 90 | + | set -gx fish_color_param "2f3337" cyan |
|
| 91 | + | set -gx fish_color_comment "c0c0bd" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "232629" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffb627" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "008e8e" cyan |
|
| 97 | + | set -gx fish_color_escape "008e8e" cyan |
|
| 98 | + | set -gx fish_color_cwd "388e3c" green |
|
| 99 | + | set -gx fish_color_cwd_root "b0151a" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "c0c0bd" brblack |
|
| 102 | + | set -gx fish_color_user "388e3c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffb627" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "232629" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "070708" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f8" "f8" "f2" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background humanoid-light |
|
| 113 | + | set -U base16_fish_theme humanoid-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # iA Dark scheme by iA Inc. (modified by aramisgithub) |
|
| 4 | + | ||
| 5 | + | function base16-ia-dark -d "base16 iA Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1a/1a/1a" # Base 00 - Black |
|
| 11 | + | set color01 "d8/85/68" # Base 08 - Red |
|
| 12 | + | set color02 "83/a4/71" # Base 0B - Green |
|
| 13 | + | set color03 "b9/93/53" # Base 0A - Yellow |
|
| 14 | + | set color04 "8e/cc/dd" # Base 0D - Blue |
|
| 15 | + | set color05 "b9/8e/b2" # Base 0E - Magenta |
|
| 16 | + | set color06 "7c/9c/ae" # Base 0C - Cyan |
|
| 17 | + | set color07 "cc/cc/cc" # Base 05 - White |
|
| 18 | + | set color08 "76/76/76" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f8/f8/f8" # Base 07 - Bright White |
|
| 26 | + | set color16 "d8/68/68" # Base 09 |
|
| 27 | + | set color17 "8b/6c/37" # Base 0F |
|
| 28 | + | set color18 "22/22/22" # Base 01 |
|
| 29 | + | set color19 "1d/41/4d" # Base 02 |
|
| 30 | + | set color20 "b8/b8/b8" # Base 04 |
|
| 31 | + | set color21 "e8/e8/e8" # Base 06 |
|
| 32 | + | set color_foreground "cc/cc/cc" # Base 05 |
|
| 33 | + | set color_background "1a/1a/1a" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg cccccc # foreground |
|
| 65 | + | __put_template_custom Ph 1a1a1a # background |
|
| 66 | + | __put_template_custom Pi cccccc # bold color |
|
| 67 | + | __put_template_custom Pj 1d414d # selection color |
|
| 68 | + | __put_template_custom Pk cccccc # selected text color |
|
| 69 | + | __put_template_custom Pl cccccc # cursor |
|
| 70 | + | __put_template_custom Pm 1a1a1a # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "8eccdd" blue |
|
| 86 | + | set -gx fish_color_quote "83a471" green |
|
| 87 | + | set -gx fish_color_redirection "b99353" yellow |
|
| 88 | + | set -gx fish_color_end "7c9cae" cyan |
|
| 89 | + | set -gx fish_color_error "d88568" red |
|
| 90 | + | set -gx fish_color_param "e8e8e8" cyan |
|
| 91 | + | set -gx fish_color_comment "767676" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "cccccc" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "b99353" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "7c9cae" cyan |
|
| 97 | + | set -gx fish_color_escape "7c9cae" cyan |
|
| 98 | + | set -gx fish_color_cwd "83a471" green |
|
| 99 | + | set -gx fish_color_cwd_root "d88568" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "767676" brblack |
|
| 102 | + | set -gx fish_color_user "83a471" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "b99353" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "cccccc" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f8f8f8" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1a" "1a" "1a" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background ia-dark |
|
| 113 | + | set -U base16_fish_theme ia-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # iA Light scheme by iA Inc. (modified by aramisgithub) |
|
| 4 | + | ||
| 5 | + | function base16-ia-light -d "base16 iA Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f6/f6/f6" # Base 00 - Black |
|
| 11 | + | set color01 "9c/5a/02" # Base 08 - Red |
|
| 12 | + | set color02 "38/78/1c" # Base 0B - Green |
|
| 13 | + | set color03 "c4/82/18" # Base 0A - Yellow |
|
| 14 | + | set color04 "48/ba/c2" # Base 0D - Blue |
|
| 15 | + | set color05 "a9/45/98" # Base 0E - Magenta |
|
| 16 | + | set color06 "2d/6b/b1" # Base 0C - Cyan |
|
| 17 | + | set color07 "18/18/18" # Base 05 - White |
|
| 18 | + | set color08 "89/89/89" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f8/f8/f8" # Base 07 - Bright White |
|
| 26 | + | set color16 "c4/3e/18" # Base 09 |
|
| 27 | + | set color17 "8b/6c/37" # Base 0F |
|
| 28 | + | set color18 "de/de/de" # Base 01 |
|
| 29 | + | set color19 "bd/e5/f2" # Base 02 |
|
| 30 | + | set color20 "76/76/76" # Base 04 |
|
| 31 | + | set color21 "e8/e8/e8" # Base 06 |
|
| 32 | + | set color_foreground "18/18/18" # Base 05 |
|
| 33 | + | set color_background "f6/f6/f6" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 181818 # foreground |
|
| 65 | + | __put_template_custom Ph f6f6f6 # background |
|
| 66 | + | __put_template_custom Pi 181818 # bold color |
|
| 67 | + | __put_template_custom Pj bde5f2 # selection color |
|
| 68 | + | __put_template_custom Pk 181818 # selected text color |
|
| 69 | + | __put_template_custom Pl 181818 # cursor |
|
| 70 | + | __put_template_custom Pm f6f6f6 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "48bac2" blue |
|
| 86 | + | set -gx fish_color_quote "38781c" green |
|
| 87 | + | set -gx fish_color_redirection "c48218" yellow |
|
| 88 | + | set -gx fish_color_end "2d6bb1" cyan |
|
| 89 | + | set -gx fish_color_error "9c5a02" red |
|
| 90 | + | set -gx fish_color_param "e8e8e8" cyan |
|
| 91 | + | set -gx fish_color_comment "898989" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "181818" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c48218" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "2d6bb1" cyan |
|
| 97 | + | set -gx fish_color_escape "2d6bb1" cyan |
|
| 98 | + | set -gx fish_color_cwd "38781c" green |
|
| 99 | + | set -gx fish_color_cwd_root "9c5a02" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "898989" brblack |
|
| 102 | + | set -gx fish_color_user "38781c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c48218" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "181818" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f8f8f8" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f6" "f6" "f6" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background ia-light |
|
| 113 | + | set -U base16_fish_theme ia-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Icy Dark scheme by icyphox (https://icyphox.ga) |
|
| 4 | + | ||
| 5 | + | function base16-icy -d "base16 Icy Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "02/10/12" # Base 00 - Black |
|
| 11 | + | set color01 "16/c1/d9" # Base 08 - Red |
|
| 12 | + | set color02 "4d/d0/e1" # Base 0B - Green |
|
| 13 | + | set color03 "80/de/ea" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/bc/d4" # Base 0D - Blue |
|
| 15 | + | set color05 "00/ac/c1" # Base 0E - Magenta |
|
| 16 | + | set color06 "26/c6/da" # Base 0C - Cyan |
|
| 17 | + | set color07 "09/5b/67" # Base 05 - White |
|
| 18 | + | set color08 "05/2e/34" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "10/9c/b0" # Base 07 - Bright White |
|
| 26 | + | set color16 "b3/eb/f2" # Base 09 |
|
| 27 | + | set color17 "00/97/a7" # Base 0F |
|
| 28 | + | set color18 "03/16/19" # Base 01 |
|
| 29 | + | set color19 "04/1f/23" # Base 02 |
|
| 30 | + | set color20 "06/40/48" # Base 04 |
|
| 31 | + | set color21 "0c/7c/8c" # Base 06 |
|
| 32 | + | set color_foreground "09/5b/67" # Base 05 |
|
| 33 | + | set color_background "02/10/12" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 095b67 # foreground |
|
| 65 | + | __put_template_custom Ph 021012 # background |
|
| 66 | + | __put_template_custom Pi 095b67 # bold color |
|
| 67 | + | __put_template_custom Pj 041f23 # selection color |
|
| 68 | + | __put_template_custom Pk 095b67 # selected text color |
|
| 69 | + | __put_template_custom Pl 095b67 # cursor |
|
| 70 | + | __put_template_custom Pm 021012 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "00bcd4" blue |
|
| 86 | + | set -gx fish_color_quote "4dd0e1" green |
|
| 87 | + | set -gx fish_color_redirection "80deea" yellow |
|
| 88 | + | set -gx fish_color_end "26c6da" cyan |
|
| 89 | + | set -gx fish_color_error "16c1d9" red |
|
| 90 | + | set -gx fish_color_param "0c7c8c" cyan |
|
| 91 | + | set -gx fish_color_comment "052e34" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "095b67" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "80deea" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "26c6da" cyan |
|
| 97 | + | set -gx fish_color_escape "26c6da" cyan |
|
| 98 | + | set -gx fish_color_cwd "4dd0e1" green |
|
| 99 | + | set -gx fish_color_cwd_root "16c1d9" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "052e34" brblack |
|
| 102 | + | set -gx fish_color_user "4dd0e1" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "80deea" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "095b67" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "109cb0" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "02" "10" "12" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background icy |
|
| 113 | + | set -U base16_fish_theme icy |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # IR Black scheme by Timothée Poisot (http://timotheepoisot.fr) |
|
| 4 | + | ||
| 5 | + | function base16-irblack -d "base16 IR Black theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "ff/6c/60" # Base 08 - Red |
|
| 12 | + | set color02 "a8/ff/60" # Base 0B - Green |
|
| 13 | + | set color03 "ff/ff/b6" # Base 0A - Yellow |
|
| 14 | + | set color04 "96/cb/fe" # Base 0D - Blue |
|
| 15 | + | set color05 "ff/73/fd" # Base 0E - Magenta |
|
| 16 | + | set color06 "c6/c5/fe" # Base 0C - Cyan |
|
| 17 | + | set color07 "b5/b3/aa" # Base 05 - White |
|
| 18 | + | set color08 "6c/6c/66" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fd/fb/ee" # Base 07 - Bright White |
|
| 26 | + | set color16 "e9/c0/62" # Base 09 |
|
| 27 | + | set color17 "b1/8a/3d" # Base 0F |
|
| 28 | + | set color18 "24/24/22" # Base 01 |
|
| 29 | + | set color19 "48/48/44" # Base 02 |
|
| 30 | + | set color20 "91/8f/88" # Base 04 |
|
| 31 | + | set color21 "d9/d7/cc" # Base 06 |
|
| 32 | + | set color_foreground "b5/b3/aa" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg b5b3aa # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi b5b3aa # bold color |
|
| 67 | + | __put_template_custom Pj 484844 # selection color |
|
| 68 | + | __put_template_custom Pk b5b3aa # selected text color |
|
| 69 | + | __put_template_custom Pl b5b3aa # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "96cbfe" blue |
|
| 86 | + | set -gx fish_color_quote "a8ff60" green |
|
| 87 | + | set -gx fish_color_redirection "ffffb6" yellow |
|
| 88 | + | set -gx fish_color_end "c6c5fe" cyan |
|
| 89 | + | set -gx fish_color_error "ff6c60" red |
|
| 90 | + | set -gx fish_color_param "d9d7cc" cyan |
|
| 91 | + | set -gx fish_color_comment "6c6c66" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "b5b3aa" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffffb6" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "c6c5fe" cyan |
|
| 97 | + | set -gx fish_color_escape "c6c5fe" cyan |
|
| 98 | + | set -gx fish_color_cwd "a8ff60" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff6c60" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "6c6c66" brblack |
|
| 102 | + | set -gx fish_color_user "a8ff60" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffffb6" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "b5b3aa" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fdfbee" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background irblack |
|
| 113 | + | set -U base16_fish_theme irblack |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Isotope scheme by Jan T. Sott |
|
| 4 | + | ||
| 5 | + | function base16-isotope -d "base16 Isotope theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "ff/00/00" # Base 08 - Red |
|
| 12 | + | set color02 "33/ff/00" # Base 0B - Green |
|
| 13 | + | set color03 "ff/00/99" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/66/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "cc/00/ff" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/ff/ff" # Base 0C - Cyan |
|
| 17 | + | set color07 "d0/d0/d0" # Base 05 - White |
|
| 18 | + | set color08 "80/80/80" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/99/00" # Base 09 |
|
| 27 | + | set color17 "33/00/ff" # Base 0F |
|
| 28 | + | set color18 "40/40/40" # Base 01 |
|
| 29 | + | set color19 "60/60/60" # Base 02 |
|
| 30 | + | set color20 "c0/c0/c0" # Base 04 |
|
| 31 | + | set color21 "e0/e0/e0" # Base 06 |
|
| 32 | + | set color_foreground "d0/d0/d0" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d0d0d0 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi d0d0d0 # bold color |
|
| 67 | + | __put_template_custom Pj 606060 # selection color |
|
| 68 | + | __put_template_custom Pk d0d0d0 # selected text color |
|
| 69 | + | __put_template_custom Pl d0d0d0 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0066ff" blue |
|
| 86 | + | set -gx fish_color_quote "33ff00" green |
|
| 87 | + | set -gx fish_color_redirection "ff0099" yellow |
|
| 88 | + | set -gx fish_color_end "00ffff" cyan |
|
| 89 | + | set -gx fish_color_error "ff0000" red |
|
| 90 | + | set -gx fish_color_param "e0e0e0" cyan |
|
| 91 | + | set -gx fish_color_comment "808080" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d0d0d0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ff0099" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "00ffff" cyan |
|
| 97 | + | set -gx fish_color_escape "00ffff" cyan |
|
| 98 | + | set -gx fish_color_cwd "33ff00" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff0000" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "808080" brblack |
|
| 102 | + | set -gx fish_color_user "33ff00" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ff0099" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d0d0d0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background isotope |
|
| 113 | + | set -U base16_fish_theme isotope |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Kimber scheme by Mishka Nguyen (https://github.com/akhsiM) |
|
| 4 | + | ||
| 5 | + | function base16-kimber -d "base16 Kimber theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "22/22/22" # Base 00 - Black |
|
| 11 | + | set color01 "c8/8c/8c" # Base 08 - Red |
|
| 12 | + | set color02 "99/c8/99" # Base 0B - Green |
|
| 13 | + | set color03 "d8/b5/6d" # Base 0A - Yellow |
|
| 14 | + | set color04 "53/7c/9c" # Base 0D - Blue |
|
| 15 | + | set color05 "86/ca/cd" # Base 0E - Magenta |
|
| 16 | + | set color06 "78/b4/b4" # Base 0C - Cyan |
|
| 17 | + | set color07 "de/de/e7" # Base 05 - White |
|
| 18 | + | set color08 "64/46/46" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/e6" # Base 07 - Bright White |
|
| 26 | + | set color16 "47/6c/88" # Base 09 |
|
| 27 | + | set color17 "70/4f/4f" # Base 0F |
|
| 28 | + | set color18 "31/31/31" # Base 01 |
|
| 29 | + | set color19 "55/5d/55" # Base 02 |
|
| 30 | + | set color20 "5a/5a/5a" # Base 04 |
|
| 31 | + | set color21 "c3/c3/b4" # Base 06 |
|
| 32 | + | set color_foreground "de/de/e7" # Base 05 |
|
| 33 | + | set color_background "22/22/22" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg dedee7 # foreground |
|
| 65 | + | __put_template_custom Ph 222222 # background |
|
| 66 | + | __put_template_custom Pi dedee7 # bold color |
|
| 67 | + | __put_template_custom Pj 555d55 # selection color |
|
| 68 | + | __put_template_custom Pk dedee7 # selected text color |
|
| 69 | + | __put_template_custom Pl dedee7 # cursor |
|
| 70 | + | __put_template_custom Pm 222222 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "537c9c" blue |
|
| 86 | + | set -gx fish_color_quote "99c899" green |
|
| 87 | + | set -gx fish_color_redirection "d8b56d" yellow |
|
| 88 | + | set -gx fish_color_end "78b4b4" cyan |
|
| 89 | + | set -gx fish_color_error "c88c8c" red |
|
| 90 | + | set -gx fish_color_param "c3c3b4" cyan |
|
| 91 | + | set -gx fish_color_comment "644646" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "dedee7" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "d8b56d" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "78b4b4" cyan |
|
| 97 | + | set -gx fish_color_escape "78b4b4" cyan |
|
| 98 | + | set -gx fish_color_cwd "99c899" green |
|
| 99 | + | set -gx fish_color_cwd_root "c88c8c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "644646" brblack |
|
| 102 | + | set -gx fish_color_user "99c899" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "d8b56d" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "dedee7" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffe6" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "22" "22" "22" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background kimber |
|
| 113 | + | set -U base16_fish_theme kimber |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Macintosh scheme by Rebecca Bettencourt (http://www.kreativekorp.com) |
|
| 4 | + | ||
| 5 | + | function base16-macintosh -d "base16 Macintosh theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "dd/09/07" # Base 08 - Red |
|
| 12 | + | set color02 "1f/b7/14" # Base 0B - Green |
|
| 13 | + | set color03 "fb/f3/05" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/00/d3" # Base 0D - Blue |
|
| 15 | + | set color05 "47/00/a5" # Base 0E - Magenta |
|
| 16 | + | set color06 "02/ab/ea" # Base 0C - Cyan |
|
| 17 | + | set color07 "c0/c0/c0" # Base 05 - White |
|
| 18 | + | set color08 "80/80/80" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/64/03" # Base 09 |
|
| 27 | + | set color17 "90/71/3a" # Base 0F |
|
| 28 | + | set color18 "40/40/40" # Base 01 |
|
| 29 | + | set color19 "40/40/40" # Base 02 |
|
| 30 | + | set color20 "80/80/80" # Base 04 |
|
| 31 | + | set color21 "c0/c0/c0" # Base 06 |
|
| 32 | + | set color_foreground "c0/c0/c0" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c0c0c0 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c0c0c0 # bold color |
|
| 67 | + | __put_template_custom Pj 404040 # selection color |
|
| 68 | + | __put_template_custom Pk c0c0c0 # selected text color |
|
| 69 | + | __put_template_custom Pl c0c0c0 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0000d3" blue |
|
| 86 | + | set -gx fish_color_quote "1fb714" green |
|
| 87 | + | set -gx fish_color_redirection "fbf305" yellow |
|
| 88 | + | set -gx fish_color_end "02abea" cyan |
|
| 89 | + | set -gx fish_color_error "dd0907" red |
|
| 90 | + | set -gx fish_color_param "c0c0c0" cyan |
|
| 91 | + | set -gx fish_color_comment "808080" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c0c0c0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fbf305" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "02abea" cyan |
|
| 97 | + | set -gx fish_color_escape "02abea" cyan |
|
| 98 | + | set -gx fish_color_cwd "1fb714" green |
|
| 99 | + | set -gx fish_color_cwd_root "dd0907" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "808080" brblack |
|
| 102 | + | set -gx fish_color_user "1fb714" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fbf305" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c0c0c0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background macintosh |
|
| 113 | + | set -U base16_fish_theme macintosh |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Marrakesh scheme by Alexandre Gavioli (http://github.com/Alexx2/) |
|
| 4 | + | ||
| 5 | + | function base16-marrakesh -d "base16 Marrakesh theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "20/16/02" # Base 00 - Black |
|
| 11 | + | set color01 "c3/53/59" # Base 08 - Red |
|
| 12 | + | set color02 "18/97/4e" # Base 0B - Green |
|
| 13 | + | set color03 "a8/83/39" # Base 0A - Yellow |
|
| 14 | + | set color04 "47/7c/a1" # Base 0D - Blue |
|
| 15 | + | set color05 "88/68/b3" # Base 0E - Magenta |
|
| 16 | + | set color06 "75/a7/38" # Base 0C - Cyan |
|
| 17 | + | set color07 "94/8e/48" # Base 05 - White |
|
| 18 | + | set color08 "6c/68/23" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fa/f0/a5" # Base 07 - Bright White |
|
| 26 | + | set color16 "b3/61/44" # Base 09 |
|
| 27 | + | set color17 "b3/58/8e" # Base 0F |
|
| 28 | + | set color18 "30/2e/00" # Base 01 |
|
| 29 | + | set color19 "5f/5b/17" # Base 02 |
|
| 30 | + | set color20 "86/81/3b" # Base 04 |
|
| 31 | + | set color21 "cc/c3/7a" # Base 06 |
|
| 32 | + | set color_foreground "94/8e/48" # Base 05 |
|
| 33 | + | set color_background "20/16/02" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 948e48 # foreground |
|
| 65 | + | __put_template_custom Ph 201602 # background |
|
| 66 | + | __put_template_custom Pi 948e48 # bold color |
|
| 67 | + | __put_template_custom Pj 5f5b17 # selection color |
|
| 68 | + | __put_template_custom Pk 948e48 # selected text color |
|
| 69 | + | __put_template_custom Pl 948e48 # cursor |
|
| 70 | + | __put_template_custom Pm 201602 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "477ca1" blue |
|
| 86 | + | set -gx fish_color_quote "18974e" green |
|
| 87 | + | set -gx fish_color_redirection "a88339" yellow |
|
| 88 | + | set -gx fish_color_end "75a738" cyan |
|
| 89 | + | set -gx fish_color_error "c35359" red |
|
| 90 | + | set -gx fish_color_param "ccc37a" cyan |
|
| 91 | + | set -gx fish_color_comment "6c6823" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "948e48" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a88339" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "75a738" cyan |
|
| 97 | + | set -gx fish_color_escape "75a738" cyan |
|
| 98 | + | set -gx fish_color_cwd "18974e" green |
|
| 99 | + | set -gx fish_color_cwd_root "c35359" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "6c6823" brblack |
|
| 102 | + | set -gx fish_color_user "18974e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a88339" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "948e48" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "faf0a5" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "20" "16" "02" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background marrakesh |
|
| 113 | + | set -U base16_fish_theme marrakesh |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Materia scheme by Defman21 |
|
| 4 | + | ||
| 5 | + | function base16-materia -d "base16 Materia theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "26/32/38" # Base 00 - Black |
|
| 11 | + | set color01 "ec/5f/67" # Base 08 - Red |
|
| 12 | + | set color02 "8b/d6/49" # Base 0B - Green |
|
| 13 | + | set color03 "ff/cc/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "89/dd/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "82/aa/ff" # Base 0E - Magenta |
|
| 16 | + | set color06 "80/cb/c4" # Base 0C - Cyan |
|
| 17 | + | set color07 "cd/d3/de" # Base 05 - White |
|
| 18 | + | set color08 "70/78/80" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "ea/95/60" # Base 09 |
|
| 27 | + | set color17 "ec/5f/67" # Base 0F |
|
| 28 | + | set color18 "2c/39/3f" # Base 01 |
|
| 29 | + | set color19 "37/47/4f" # Base 02 |
|
| 30 | + | set color20 "c9/cc/d3" # Base 04 |
|
| 31 | + | set color21 "d5/db/e5" # Base 06 |
|
| 32 | + | set color_foreground "cd/d3/de" # Base 05 |
|
| 33 | + | set color_background "26/32/38" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg cdd3de # foreground |
|
| 65 | + | __put_template_custom Ph 263238 # background |
|
| 66 | + | __put_template_custom Pi cdd3de # bold color |
|
| 67 | + | __put_template_custom Pj 37474f # selection color |
|
| 68 | + | __put_template_custom Pk cdd3de # selected text color |
|
| 69 | + | __put_template_custom Pl cdd3de # cursor |
|
| 70 | + | __put_template_custom Pm 263238 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "89ddff" blue |
|
| 86 | + | set -gx fish_color_quote "8bd649" green |
|
| 87 | + | set -gx fish_color_redirection "ffcc00" yellow |
|
| 88 | + | set -gx fish_color_end "80cbc4" cyan |
|
| 89 | + | set -gx fish_color_error "ec5f67" red |
|
| 90 | + | set -gx fish_color_param "d5dbe5" cyan |
|
| 91 | + | set -gx fish_color_comment "707880" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "cdd3de" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffcc00" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "80cbc4" cyan |
|
| 97 | + | set -gx fish_color_escape "80cbc4" cyan |
|
| 98 | + | set -gx fish_color_cwd "8bd649" green |
|
| 99 | + | set -gx fish_color_cwd_root "ec5f67" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "707880" brblack |
|
| 102 | + | set -gx fish_color_user "8bd649" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffcc00" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "cdd3de" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "26" "32" "38" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background materia |
|
| 113 | + | set -U base16_fish_theme materia |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Material Darker scheme by Nate Peterson |
|
| 4 | + | ||
| 5 | + | function base16-material-darker -d "base16 Material Darker theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "21/21/21" # Base 00 - Black |
|
| 11 | + | set color01 "f0/71/78" # Base 08 - Red |
|
| 12 | + | set color02 "c3/e8/8d" # Base 0B - Green |
|
| 13 | + | set color03 "ff/cb/6b" # Base 0A - Yellow |
|
| 14 | + | set color04 "82/aa/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "c7/92/ea" # Base 0E - Magenta |
|
| 16 | + | set color06 "89/dd/ff" # Base 0C - Cyan |
|
| 17 | + | set color07 "ee/ff/ff" # Base 05 - White |
|
| 18 | + | set color08 "4a/4a/4a" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "f7/8c/6c" # Base 09 |
|
| 27 | + | set color17 "ff/53/70" # Base 0F |
|
| 28 | + | set color18 "30/30/30" # Base 01 |
|
| 29 | + | set color19 "35/35/35" # Base 02 |
|
| 30 | + | set color20 "b2/cc/d6" # Base 04 |
|
| 31 | + | set color21 "ee/ff/ff" # Base 06 |
|
| 32 | + | set color_foreground "ee/ff/ff" # Base 05 |
|
| 33 | + | set color_background "21/21/21" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg eeffff # foreground |
|
| 65 | + | __put_template_custom Ph 212121 # background |
|
| 66 | + | __put_template_custom Pi eeffff # bold color |
|
| 67 | + | __put_template_custom Pj 353535 # selection color |
|
| 68 | + | __put_template_custom Pk eeffff # selected text color |
|
| 69 | + | __put_template_custom Pl eeffff # cursor |
|
| 70 | + | __put_template_custom Pm 212121 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "82aaff" blue |
|
| 86 | + | set -gx fish_color_quote "c3e88d" green |
|
| 87 | + | set -gx fish_color_redirection "ffcb6b" yellow |
|
| 88 | + | set -gx fish_color_end "89ddff" cyan |
|
| 89 | + | set -gx fish_color_error "f07178" red |
|
| 90 | + | set -gx fish_color_param "eeffff" cyan |
|
| 91 | + | set -gx fish_color_comment "4a4a4a" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "eeffff" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffcb6b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "89ddff" cyan |
|
| 97 | + | set -gx fish_color_escape "89ddff" cyan |
|
| 98 | + | set -gx fish_color_cwd "c3e88d" green |
|
| 99 | + | set -gx fish_color_cwd_root "f07178" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "4a4a4a" brblack |
|
| 102 | + | set -gx fish_color_user "c3e88d" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffcb6b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "eeffff" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "21" "21" "21" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background material-darker |
|
| 113 | + | set -U base16_fish_theme material-darker |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Material Lighter scheme by Nate Peterson |
|
| 4 | + | ||
| 5 | + | function base16-material-lighter -d "base16 Material Lighter theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fa/fa/fa" # Base 00 - Black |
|
| 11 | + | set color01 "ff/53/70" # Base 08 - Red |
|
| 12 | + | set color02 "91/b8/59" # Base 0B - Green |
|
| 13 | + | set color03 "ff/b6/2c" # Base 0A - Yellow |
|
| 14 | + | set color04 "61/82/b8" # Base 0D - Blue |
|
| 15 | + | set color05 "7c/4d/ff" # Base 0E - Magenta |
|
| 16 | + | set color06 "39/ad/b5" # Base 0C - Cyan |
|
| 17 | + | set color07 "80/cb/c4" # Base 05 - White |
|
| 18 | + | set color08 "cc/d7/da" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "f7/6d/47" # Base 09 |
|
| 27 | + | set color17 "e5/39/35" # Base 0F |
|
| 28 | + | set color18 "e7/ea/ec" # Base 01 |
|
| 29 | + | set color19 "cc/ea/e7" # Base 02 |
|
| 30 | + | set color20 "87/96/b0" # Base 04 |
|
| 31 | + | set color21 "80/cb/c4" # Base 06 |
|
| 32 | + | set color_foreground "80/cb/c4" # Base 05 |
|
| 33 | + | set color_background "fa/fa/fa" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 80cbc4 # foreground |
|
| 65 | + | __put_template_custom Ph fafafa # background |
|
| 66 | + | __put_template_custom Pi 80cbc4 # bold color |
|
| 67 | + | __put_template_custom Pj cceae7 # selection color |
|
| 68 | + | __put_template_custom Pk 80cbc4 # selected text color |
|
| 69 | + | __put_template_custom Pl 80cbc4 # cursor |
|
| 70 | + | __put_template_custom Pm fafafa # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6182b8" blue |
|
| 86 | + | set -gx fish_color_quote "91b859" green |
|
| 87 | + | set -gx fish_color_redirection "ffb62c" yellow |
|
| 88 | + | set -gx fish_color_end "39adb5" cyan |
|
| 89 | + | set -gx fish_color_error "ff5370" red |
|
| 90 | + | set -gx fish_color_param "80cbc4" cyan |
|
| 91 | + | set -gx fish_color_comment "ccd7da" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "80cbc4" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffb62c" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "39adb5" cyan |
|
| 97 | + | set -gx fish_color_escape "39adb5" cyan |
|
| 98 | + | set -gx fish_color_cwd "91b859" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff5370" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "ccd7da" brblack |
|
| 102 | + | set -gx fish_color_user "91b859" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffb62c" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "80cbc4" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fa" "fa" "fa" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background material-lighter |
|
| 113 | + | set -U base16_fish_theme material-lighter |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Material Palenight scheme by Nate Peterson |
|
| 4 | + | ||
| 5 | + | function base16-material-palenight -d "base16 Material Palenight theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "29/2d/3e" # Base 00 - Black |
|
| 11 | + | set color01 "f0/71/78" # Base 08 - Red |
|
| 12 | + | set color02 "c3/e8/8d" # Base 0B - Green |
|
| 13 | + | set color03 "ff/cb/6b" # Base 0A - Yellow |
|
| 14 | + | set color04 "82/aa/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "c7/92/ea" # Base 0E - Magenta |
|
| 16 | + | set color06 "89/dd/ff" # Base 0C - Cyan |
|
| 17 | + | set color07 "95/9d/cb" # Base 05 - White |
|
| 18 | + | set color08 "67/6e/95" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "f7/8c/6c" # Base 09 |
|
| 27 | + | set color17 "ff/53/70" # Base 0F |
|
| 28 | + | set color18 "44/42/67" # Base 01 |
|
| 29 | + | set color19 "32/37/4d" # Base 02 |
|
| 30 | + | set color20 "87/96/b0" # Base 04 |
|
| 31 | + | set color21 "95/9d/cb" # Base 06 |
|
| 32 | + | set color_foreground "95/9d/cb" # Base 05 |
|
| 33 | + | set color_background "29/2d/3e" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 959dcb # foreground |
|
| 65 | + | __put_template_custom Ph 292d3e # background |
|
| 66 | + | __put_template_custom Pi 959dcb # bold color |
|
| 67 | + | __put_template_custom Pj 32374d # selection color |
|
| 68 | + | __put_template_custom Pk 959dcb # selected text color |
|
| 69 | + | __put_template_custom Pl 959dcb # cursor |
|
| 70 | + | __put_template_custom Pm 292d3e # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "82aaff" blue |
|
| 86 | + | set -gx fish_color_quote "c3e88d" green |
|
| 87 | + | set -gx fish_color_redirection "ffcb6b" yellow |
|
| 88 | + | set -gx fish_color_end "89ddff" cyan |
|
| 89 | + | set -gx fish_color_error "f07178" red |
|
| 90 | + | set -gx fish_color_param "959dcb" cyan |
|
| 91 | + | set -gx fish_color_comment "676e95" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "959dcb" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffcb6b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "89ddff" cyan |
|
| 97 | + | set -gx fish_color_escape "89ddff" cyan |
|
| 98 | + | set -gx fish_color_cwd "c3e88d" green |
|
| 99 | + | set -gx fish_color_cwd_root "f07178" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "676e95" brblack |
|
| 102 | + | set -gx fish_color_user "c3e88d" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffcb6b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "959dcb" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "29" "2d" "3e" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background material-palenight |
|
| 113 | + | set -U base16_fish_theme material-palenight |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Material Vivid scheme by joshyrobot |
|
| 4 | + | ||
| 5 | + | function base16-material-vivid -d "base16 Material Vivid theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "20/21/24" # Base 00 - Black |
|
| 11 | + | set color01 "f4/43/36" # Base 08 - Red |
|
| 12 | + | set color02 "00/e6/76" # Base 0B - Green |
|
| 13 | + | set color03 "ff/eb/3b" # Base 0A - Yellow |
|
| 14 | + | set color04 "21/96/f3" # Base 0D - Blue |
|
| 15 | + | set color05 "67/3a/b7" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/bc/d4" # Base 0C - Cyan |
|
| 17 | + | set color07 "80/86/8b" # Base 05 - White |
|
| 18 | + | set color08 "44/46/4d" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/98/00" # Base 09 |
|
| 27 | + | set color17 "8d/6e/63" # Base 0F |
|
| 28 | + | set color18 "27/29/2c" # Base 01 |
|
| 29 | + | set color19 "32/36/39" # Base 02 |
|
| 30 | + | set color20 "67/6c/71" # Base 04 |
|
| 31 | + | set color21 "9e/9e/9e" # Base 06 |
|
| 32 | + | set color_foreground "80/86/8b" # Base 05 |
|
| 33 | + | set color_background "20/21/24" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 80868b # foreground |
|
| 65 | + | __put_template_custom Ph 202124 # background |
|
| 66 | + | __put_template_custom Pi 80868b # bold color |
|
| 67 | + | __put_template_custom Pj 323639 # selection color |
|
| 68 | + | __put_template_custom Pk 80868b # selected text color |
|
| 69 | + | __put_template_custom Pl 80868b # cursor |
|
| 70 | + | __put_template_custom Pm 202124 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "2196f3" blue |
|
| 86 | + | set -gx fish_color_quote "00e676" green |
|
| 87 | + | set -gx fish_color_redirection "ffeb3b" yellow |
|
| 88 | + | set -gx fish_color_end "00bcd4" cyan |
|
| 89 | + | set -gx fish_color_error "f44336" red |
|
| 90 | + | set -gx fish_color_param "9e9e9e" cyan |
|
| 91 | + | set -gx fish_color_comment "44464d" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "80868b" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffeb3b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "00bcd4" cyan |
|
| 97 | + | set -gx fish_color_escape "00bcd4" cyan |
|
| 98 | + | set -gx fish_color_cwd "00e676" green |
|
| 99 | + | set -gx fish_color_cwd_root "f44336" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "44464d" brblack |
|
| 102 | + | set -gx fish_color_user "00e676" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffeb3b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "80868b" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "20" "21" "24" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background material-vivid |
|
| 113 | + | set -U base16_fish_theme material-vivid |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Material scheme by Nate Peterson |
|
| 4 | + | ||
| 5 | + | function base16-material -d "base16 Material theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "26/32/38" # Base 00 - Black |
|
| 11 | + | set color01 "f0/71/78" # Base 08 - Red |
|
| 12 | + | set color02 "c3/e8/8d" # Base 0B - Green |
|
| 13 | + | set color03 "ff/cb/6b" # Base 0A - Yellow |
|
| 14 | + | set color04 "82/aa/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "c7/92/ea" # Base 0E - Magenta |
|
| 16 | + | set color06 "89/dd/ff" # Base 0C - Cyan |
|
| 17 | + | set color07 "ee/ff/ff" # Base 05 - White |
|
| 18 | + | set color08 "54/6e/7a" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "f7/8c/6c" # Base 09 |
|
| 27 | + | set color17 "ff/53/70" # Base 0F |
|
| 28 | + | set color18 "2e/3c/43" # Base 01 |
|
| 29 | + | set color19 "31/45/49" # Base 02 |
|
| 30 | + | set color20 "b2/cc/d6" # Base 04 |
|
| 31 | + | set color21 "ee/ff/ff" # Base 06 |
|
| 32 | + | set color_foreground "ee/ff/ff" # Base 05 |
|
| 33 | + | set color_background "26/32/38" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg eeffff # foreground |
|
| 65 | + | __put_template_custom Ph 263238 # background |
|
| 66 | + | __put_template_custom Pi eeffff # bold color |
|
| 67 | + | __put_template_custom Pj 314549 # selection color |
|
| 68 | + | __put_template_custom Pk eeffff # selected text color |
|
| 69 | + | __put_template_custom Pl eeffff # cursor |
|
| 70 | + | __put_template_custom Pm 263238 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "82aaff" blue |
|
| 86 | + | set -gx fish_color_quote "c3e88d" green |
|
| 87 | + | set -gx fish_color_redirection "ffcb6b" yellow |
|
| 88 | + | set -gx fish_color_end "89ddff" cyan |
|
| 89 | + | set -gx fish_color_error "f07178" red |
|
| 90 | + | set -gx fish_color_param "eeffff" cyan |
|
| 91 | + | set -gx fish_color_comment "546e7a" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "eeffff" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffcb6b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "89ddff" cyan |
|
| 97 | + | set -gx fish_color_escape "89ddff" cyan |
|
| 98 | + | set -gx fish_color_cwd "c3e88d" green |
|
| 99 | + | set -gx fish_color_cwd_root "f07178" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "546e7a" brblack |
|
| 102 | + | set -gx fish_color_user "c3e88d" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffcb6b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "eeffff" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "26" "32" "38" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background material |
|
| 113 | + | set -U base16_fish_theme material |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Mellow Purple scheme by gidsi |
|
| 4 | + | ||
| 5 | + | function base16-mellow-purple -d "base16 Mellow Purple theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1e/05/28" # Base 00 - Black |
|
| 11 | + | set color01 "00/d9/e9" # Base 08 - Red |
|
| 12 | + | set color02 "05/cb/0d" # Base 0B - Green |
|
| 13 | + | set color03 "95/5a/e7" # Base 0A - Yellow |
|
| 14 | + | set color04 "55/00/68" # Base 0D - Blue |
|
| 15 | + | set color05 "89/91/bb" # Base 0E - Magenta |
|
| 16 | + | set color06 "b9/00/b1" # Base 0C - Cyan |
|
| 17 | + | set color07 "ff/ee/ff" # Base 05 - White |
|
| 18 | + | set color08 "32/0f/55" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f8/c0/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "aa/00/a3" # Base 09 |
|
| 27 | + | set color17 "4d/6f/ff" # Base 0F |
|
| 28 | + | set color18 "1a/09/2d" # Base 01 |
|
| 29 | + | set color19 "33/13/54" # Base 02 |
|
| 30 | + | set color20 "87/35/82" # Base 04 |
|
| 31 | + | set color21 "ff/ee/ff" # Base 06 |
|
| 32 | + | set color_foreground "ff/ee/ff" # Base 05 |
|
| 33 | + | set color_background "1e/05/28" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg ffeeff # foreground |
|
| 65 | + | __put_template_custom Ph 1e0528 # background |
|
| 66 | + | __put_template_custom Pi ffeeff # bold color |
|
| 67 | + | __put_template_custom Pj 331354 # selection color |
|
| 68 | + | __put_template_custom Pk ffeeff # selected text color |
|
| 69 | + | __put_template_custom Pl ffeeff # cursor |
|
| 70 | + | __put_template_custom Pm 1e0528 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "550068" blue |
|
| 86 | + | set -gx fish_color_quote "05cb0d" green |
|
| 87 | + | set -gx fish_color_redirection "955ae7" yellow |
|
| 88 | + | set -gx fish_color_end "b900b1" cyan |
|
| 89 | + | set -gx fish_color_error "00d9e9" red |
|
| 90 | + | set -gx fish_color_param "ffeeff" cyan |
|
| 91 | + | set -gx fish_color_comment "320f55" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "ffeeff" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "955ae7" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "b900b1" cyan |
|
| 97 | + | set -gx fish_color_escape "b900b1" cyan |
|
| 98 | + | set -gx fish_color_cwd "05cb0d" green |
|
| 99 | + | set -gx fish_color_cwd_root "00d9e9" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "320f55" brblack |
|
| 102 | + | set -gx fish_color_user "05cb0d" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "955ae7" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "ffeeff" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f8c0ff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1e" "05" "28" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background mellow-purple |
|
| 113 | + | set -U base16_fish_theme mellow-purple |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Mexico Light scheme by Sheldon Johnson |
|
| 4 | + | ||
| 5 | + | function base16-mexico-light -d "base16 Mexico Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f8/f8/f8" # Base 00 - Black |
|
| 11 | + | set color01 "ab/46/42" # Base 08 - Red |
|
| 12 | + | set color02 "53/89/47" # Base 0B - Green |
|
| 13 | + | set color03 "f7/9a/0e" # Base 0A - Yellow |
|
| 14 | + | set color04 "7c/af/c2" # Base 0D - Blue |
|
| 15 | + | set color05 "96/60/9e" # Base 0E - Magenta |
|
| 16 | + | set color06 "4b/80/93" # Base 0C - Cyan |
|
| 17 | + | set color07 "38/38/38" # Base 05 - White |
|
| 18 | + | set color08 "b8/b8/b8" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "18/18/18" # Base 07 - Bright White |
|
| 26 | + | set color16 "dc/96/56" # Base 09 |
|
| 27 | + | set color17 "a1/69/46" # Base 0F |
|
| 28 | + | set color18 "e8/e8/e8" # Base 01 |
|
| 29 | + | set color19 "d8/d8/d8" # Base 02 |
|
| 30 | + | set color20 "58/58/58" # Base 04 |
|
| 31 | + | set color21 "28/28/28" # Base 06 |
|
| 32 | + | set color_foreground "38/38/38" # Base 05 |
|
| 33 | + | set color_background "f8/f8/f8" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 383838 # foreground |
|
| 65 | + | __put_template_custom Ph f8f8f8 # background |
|
| 66 | + | __put_template_custom Pi 383838 # bold color |
|
| 67 | + | __put_template_custom Pj d8d8d8 # selection color |
|
| 68 | + | __put_template_custom Pk 383838 # selected text color |
|
| 69 | + | __put_template_custom Pl 383838 # cursor |
|
| 70 | + | __put_template_custom Pm f8f8f8 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "7cafc2" blue |
|
| 86 | + | set -gx fish_color_quote "538947" green |
|
| 87 | + | set -gx fish_color_redirection "f79a0e" yellow |
|
| 88 | + | set -gx fish_color_end "4b8093" cyan |
|
| 89 | + | set -gx fish_color_error "ab4642" red |
|
| 90 | + | set -gx fish_color_param "282828" cyan |
|
| 91 | + | set -gx fish_color_comment "b8b8b8" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "383838" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f79a0e" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "4b8093" cyan |
|
| 97 | + | set -gx fish_color_escape "4b8093" cyan |
|
| 98 | + | set -gx fish_color_cwd "538947" green |
|
| 99 | + | set -gx fish_color_cwd_root "ab4642" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "b8b8b8" brblack |
|
| 102 | + | set -gx fish_color_user "538947" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f79a0e" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "383838" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "181818" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f8" "f8" "f8" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background mexico-light |
|
| 113 | + | set -U base16_fish_theme mexico-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Mocha scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-mocha -d "base16 Mocha theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "3b/32/28" # Base 00 - Black |
|
| 11 | + | set color01 "cb/60/77" # Base 08 - Red |
|
| 12 | + | set color02 "be/b5/5b" # Base 0B - Green |
|
| 13 | + | set color03 "f4/bc/87" # Base 0A - Yellow |
|
| 14 | + | set color04 "8a/b3/b5" # Base 0D - Blue |
|
| 15 | + | set color05 "a8/9b/b9" # Base 0E - Magenta |
|
| 16 | + | set color06 "7b/bd/a4" # Base 0C - Cyan |
|
| 17 | + | set color07 "d0/c8/c6" # Base 05 - White |
|
| 18 | + | set color08 "7e/70/5a" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f5/ee/eb" # Base 07 - Bright White |
|
| 26 | + | set color16 "d2/8b/71" # Base 09 |
|
| 27 | + | set color17 "bb/95/84" # Base 0F |
|
| 28 | + | set color18 "53/46/36" # Base 01 |
|
| 29 | + | set color19 "64/52/40" # Base 02 |
|
| 30 | + | set color20 "b8/af/ad" # Base 04 |
|
| 31 | + | set color21 "e9/e1/dd" # Base 06 |
|
| 32 | + | set color_foreground "d0/c8/c6" # Base 05 |
|
| 33 | + | set color_background "3b/32/28" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d0c8c6 # foreground |
|
| 65 | + | __put_template_custom Ph 3b3228 # background |
|
| 66 | + | __put_template_custom Pi d0c8c6 # bold color |
|
| 67 | + | __put_template_custom Pj 645240 # selection color |
|
| 68 | + | __put_template_custom Pk d0c8c6 # selected text color |
|
| 69 | + | __put_template_custom Pl d0c8c6 # cursor |
|
| 70 | + | __put_template_custom Pm 3b3228 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "8ab3b5" blue |
|
| 86 | + | set -gx fish_color_quote "beb55b" green |
|
| 87 | + | set -gx fish_color_redirection "f4bc87" yellow |
|
| 88 | + | set -gx fish_color_end "7bbda4" cyan |
|
| 89 | + | set -gx fish_color_error "cb6077" red |
|
| 90 | + | set -gx fish_color_param "e9e1dd" cyan |
|
| 91 | + | set -gx fish_color_comment "7e705a" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d0c8c6" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f4bc87" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "7bbda4" cyan |
|
| 97 | + | set -gx fish_color_escape "7bbda4" cyan |
|
| 98 | + | set -gx fish_color_cwd "beb55b" green |
|
| 99 | + | set -gx fish_color_cwd_root "cb6077" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "7e705a" brblack |
|
| 102 | + | set -gx fish_color_user "beb55b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f4bc87" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d0c8c6" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f5eeeb" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "3b" "32" "28" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background mocha |
|
| 113 | + | set -U base16_fish_theme mocha |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Monokai scheme by Wimer Hazenberg (http://www.monokai.nl) |
|
| 4 | + | ||
| 5 | + | function base16-monokai -d "base16 Monokai theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "27/28/22" # Base 00 - Black |
|
| 11 | + | set color01 "f9/26/72" # Base 08 - Red |
|
| 12 | + | set color02 "a6/e2/2e" # Base 0B - Green |
|
| 13 | + | set color03 "f4/bf/75" # Base 0A - Yellow |
|
| 14 | + | set color04 "66/d9/ef" # Base 0D - Blue |
|
| 15 | + | set color05 "ae/81/ff" # Base 0E - Magenta |
|
| 16 | + | set color06 "a1/ef/e4" # Base 0C - Cyan |
|
| 17 | + | set color07 "f8/f8/f2" # Base 05 - White |
|
| 18 | + | set color08 "75/71/5e" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f9/f8/f5" # Base 07 - Bright White |
|
| 26 | + | set color16 "fd/97/1f" # Base 09 |
|
| 27 | + | set color17 "cc/66/33" # Base 0F |
|
| 28 | + | set color18 "38/38/30" # Base 01 |
|
| 29 | + | set color19 "49/48/3e" # Base 02 |
|
| 30 | + | set color20 "a5/9f/85" # Base 04 |
|
| 31 | + | set color21 "f5/f4/f1" # Base 06 |
|
| 32 | + | set color_foreground "f8/f8/f2" # Base 05 |
|
| 33 | + | set color_background "27/28/22" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg f8f8f2 # foreground |
|
| 65 | + | __put_template_custom Ph 272822 # background |
|
| 66 | + | __put_template_custom Pi f8f8f2 # bold color |
|
| 67 | + | __put_template_custom Pj 49483e # selection color |
|
| 68 | + | __put_template_custom Pk f8f8f2 # selected text color |
|
| 69 | + | __put_template_custom Pl f8f8f2 # cursor |
|
| 70 | + | __put_template_custom Pm 272822 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "66d9ef" blue |
|
| 86 | + | set -gx fish_color_quote "a6e22e" green |
|
| 87 | + | set -gx fish_color_redirection "f4bf75" yellow |
|
| 88 | + | set -gx fish_color_end "a1efe4" cyan |
|
| 89 | + | set -gx fish_color_error "f92672" red |
|
| 90 | + | set -gx fish_color_param "f5f4f1" cyan |
|
| 91 | + | set -gx fish_color_comment "75715e" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "f8f8f2" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f4bf75" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "a1efe4" cyan |
|
| 97 | + | set -gx fish_color_escape "a1efe4" cyan |
|
| 98 | + | set -gx fish_color_cwd "a6e22e" green |
|
| 99 | + | set -gx fish_color_cwd_root "f92672" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "75715e" brblack |
|
| 102 | + | set -gx fish_color_user "a6e22e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f4bf75" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "f8f8f2" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f9f8f5" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "27" "28" "22" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background monokai |
|
| 113 | + | set -U base16_fish_theme monokai |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Nebula scheme by Gabriel Fontes (https://github.com/Misterio77) |
|
| 4 | + | ||
| 5 | + | function base16-nebula -d "base16 Nebula theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "22/27/3b" # Base 00 - Black |
|
| 11 | + | set color01 "77/7a/bc" # Base 08 - Red |
|
| 12 | + | set color02 "65/62/a8" # Base 0B - Green |
|
| 13 | + | set color03 "4f/90/62" # Base 0A - Yellow |
|
| 14 | + | set color04 "4d/6b/b6" # Base 0D - Blue |
|
| 15 | + | set color05 "71/6c/ae" # Base 0E - Magenta |
|
| 16 | + | set color06 "22/6f/68" # Base 0C - Cyan |
|
| 17 | + | set color07 "a4/a6/a9" # Base 05 - White |
|
| 18 | + | set color08 "6e/6f/72" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "8d/bd/aa" # Base 07 - Bright White |
|
| 26 | + | set color16 "94/92/9e" # Base 09 |
|
| 27 | + | set color17 "8c/70/a7" # Base 0F |
|
| 28 | + | set color18 "41/4f/60" # Base 01 |
|
| 29 | + | set color19 "5a/83/80" # Base 02 |
|
| 30 | + | set color20 "87/88/8b" # Base 04 |
|
| 31 | + | set color21 "c7/c9/cd" # Base 06 |
|
| 32 | + | set color_foreground "a4/a6/a9" # Base 05 |
|
| 33 | + | set color_background "22/27/3b" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a4a6a9 # foreground |
|
| 65 | + | __put_template_custom Ph 22273b # background |
|
| 66 | + | __put_template_custom Pi a4a6a9 # bold color |
|
| 67 | + | __put_template_custom Pj 5a8380 # selection color |
|
| 68 | + | __put_template_custom Pk a4a6a9 # selected text color |
|
| 69 | + | __put_template_custom Pl a4a6a9 # cursor |
|
| 70 | + | __put_template_custom Pm 22273b # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "4d6bb6" blue |
|
| 86 | + | set -gx fish_color_quote "6562a8" green |
|
| 87 | + | set -gx fish_color_redirection "4f9062" yellow |
|
| 88 | + | set -gx fish_color_end "226f68" cyan |
|
| 89 | + | set -gx fish_color_error "777abc" red |
|
| 90 | + | set -gx fish_color_param "c7c9cd" cyan |
|
| 91 | + | set -gx fish_color_comment "6e6f72" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a4a6a9" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "4f9062" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "226f68" cyan |
|
| 97 | + | set -gx fish_color_escape "226f68" cyan |
|
| 98 | + | set -gx fish_color_cwd "6562a8" green |
|
| 99 | + | set -gx fish_color_cwd_root "777abc" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "6e6f72" brblack |
|
| 102 | + | set -gx fish_color_user "6562a8" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "4f9062" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a4a6a9" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "8dbdaa" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "22" "27" "3b" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background nebula |
|
| 113 | + | set -U base16_fish_theme nebula |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Nord scheme by arcticicestudio |
|
| 4 | + | ||
| 5 | + | function base16-nord -d "base16 Nord theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2e/34/40" # Base 00 - Black |
|
| 11 | + | set color01 "bf/61/6a" # Base 08 - Red |
|
| 12 | + | set color02 "a3/be/8c" # Base 0B - Green |
|
| 13 | + | set color03 "eb/cb/8b" # Base 0A - Yellow |
|
| 14 | + | set color04 "81/a1/c1" # Base 0D - Blue |
|
| 15 | + | set color05 "b4/8e/ad" # Base 0E - Magenta |
|
| 16 | + | set color06 "88/c0/d0" # Base 0C - Cyan |
|
| 17 | + | set color07 "e5/e9/f0" # Base 05 - White |
|
| 18 | + | set color08 "4c/56/6a" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "8f/bc/bb" # Base 07 - Bright White |
|
| 26 | + | set color16 "d0/87/70" # Base 09 |
|
| 27 | + | set color17 "5e/81/ac" # Base 0F |
|
| 28 | + | set color18 "3b/42/52" # Base 01 |
|
| 29 | + | set color19 "43/4c/5e" # Base 02 |
|
| 30 | + | set color20 "d8/de/e9" # Base 04 |
|
| 31 | + | set color21 "ec/ef/f4" # Base 06 |
|
| 32 | + | set color_foreground "e5/e9/f0" # Base 05 |
|
| 33 | + | set color_background "2e/34/40" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg e5e9f0 # foreground |
|
| 65 | + | __put_template_custom Ph 2e3440 # background |
|
| 66 | + | __put_template_custom Pi e5e9f0 # bold color |
|
| 67 | + | __put_template_custom Pj 434c5e # selection color |
|
| 68 | + | __put_template_custom Pk e5e9f0 # selected text color |
|
| 69 | + | __put_template_custom Pl e5e9f0 # cursor |
|
| 70 | + | __put_template_custom Pm 2e3440 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "81a1c1" blue |
|
| 86 | + | set -gx fish_color_quote "a3be8c" green |
|
| 87 | + | set -gx fish_color_redirection "ebcb8b" yellow |
|
| 88 | + | set -gx fish_color_end "88c0d0" cyan |
|
| 89 | + | set -gx fish_color_error "bf616a" red |
|
| 90 | + | set -gx fish_color_param "eceff4" cyan |
|
| 91 | + | set -gx fish_color_comment "4c566a" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "e5e9f0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ebcb8b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "88c0d0" cyan |
|
| 97 | + | set -gx fish_color_escape "88c0d0" cyan |
|
| 98 | + | set -gx fish_color_cwd "a3be8c" green |
|
| 99 | + | set -gx fish_color_cwd_root "bf616a" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "4c566a" brblack |
|
| 102 | + | set -gx fish_color_user "a3be8c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ebcb8b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "e5e9f0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "8fbcbb" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2e" "34" "40" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background nord |
|
| 113 | + | set -U base16_fish_theme nord |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Nova scheme by George Essig (https://github.com/gessig), Trevor D. Miller (https://trevordmiller.com) |
|
| 4 | + | ||
| 5 | + | function base16-nova -d "base16 Nova theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "3c/4c/55" # Base 00 - Black |
|
| 11 | + | set color01 "83/af/e5" # Base 08 - Red |
|
| 12 | + | set color02 "7f/c1/ca" # Base 0B - Green |
|
| 13 | + | set color03 "a8/ce/93" # Base 0A - Yellow |
|
| 14 | + | set color04 "83/af/e5" # Base 0D - Blue |
|
| 15 | + | set color05 "9a/93/e1" # Base 0E - Magenta |
|
| 16 | + | set color06 "f2/c3/8f" # Base 0C - Cyan |
|
| 17 | + | set color07 "c5/d4/dd" # Base 05 - White |
|
| 18 | + | set color08 "89/9b/a6" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "55/68/73" # Base 07 - Bright White |
|
| 26 | + | set color16 "7f/c1/ca" # Base 09 |
|
| 27 | + | set color17 "f2/c3/8f" # Base 0F |
|
| 28 | + | set color18 "55/68/73" # Base 01 |
|
| 29 | + | set color19 "6a/7d/89" # Base 02 |
|
| 30 | + | set color20 "89/9b/a6" # Base 04 |
|
| 31 | + | set color21 "89/9b/a6" # Base 06 |
|
| 32 | + | set color_foreground "c5/d4/dd" # Base 05 |
|
| 33 | + | set color_background "3c/4c/55" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c5d4dd # foreground |
|
| 65 | + | __put_template_custom Ph 3c4c55 # background |
|
| 66 | + | __put_template_custom Pi c5d4dd # bold color |
|
| 67 | + | __put_template_custom Pj 6a7d89 # selection color |
|
| 68 | + | __put_template_custom Pk c5d4dd # selected text color |
|
| 69 | + | __put_template_custom Pl c5d4dd # cursor |
|
| 70 | + | __put_template_custom Pm 3c4c55 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "83afe5" blue |
|
| 86 | + | set -gx fish_color_quote "7fc1ca" green |
|
| 87 | + | set -gx fish_color_redirection "a8ce93" yellow |
|
| 88 | + | set -gx fish_color_end "f2c38f" cyan |
|
| 89 | + | set -gx fish_color_error "83afe5" red |
|
| 90 | + | set -gx fish_color_param "899ba6" cyan |
|
| 91 | + | set -gx fish_color_comment "899ba6" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c5d4dd" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a8ce93" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "f2c38f" cyan |
|
| 97 | + | set -gx fish_color_escape "f2c38f" cyan |
|
| 98 | + | set -gx fish_color_cwd "7fc1ca" green |
|
| 99 | + | set -gx fish_color_cwd_root "83afe5" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "899ba6" brblack |
|
| 102 | + | set -gx fish_color_user "7fc1ca" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a8ce93" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c5d4dd" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "556873" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "3c" "4c" "55" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background nova |
|
| 113 | + | set -U base16_fish_theme nova |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Ocean scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-ocean -d "base16 Ocean theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2b/30/3b" # Base 00 - Black |
|
| 11 | + | set color01 "bf/61/6a" # Base 08 - Red |
|
| 12 | + | set color02 "a3/be/8c" # Base 0B - Green |
|
| 13 | + | set color03 "eb/cb/8b" # Base 0A - Yellow |
|
| 14 | + | set color04 "8f/a1/b3" # Base 0D - Blue |
|
| 15 | + | set color05 "b4/8e/ad" # Base 0E - Magenta |
|
| 16 | + | set color06 "96/b5/b4" # Base 0C - Cyan |
|
| 17 | + | set color07 "c0/c5/ce" # Base 05 - White |
|
| 18 | + | set color08 "65/73/7e" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ef/f1/f5" # Base 07 - Bright White |
|
| 26 | + | set color16 "d0/87/70" # Base 09 |
|
| 27 | + | set color17 "ab/79/67" # Base 0F |
|
| 28 | + | set color18 "34/3d/46" # Base 01 |
|
| 29 | + | set color19 "4f/5b/66" # Base 02 |
|
| 30 | + | set color20 "a7/ad/ba" # Base 04 |
|
| 31 | + | set color21 "df/e1/e8" # Base 06 |
|
| 32 | + | set color_foreground "c0/c5/ce" # Base 05 |
|
| 33 | + | set color_background "2b/30/3b" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c0c5ce # foreground |
|
| 65 | + | __put_template_custom Ph 2b303b # background |
|
| 66 | + | __put_template_custom Pi c0c5ce # bold color |
|
| 67 | + | __put_template_custom Pj 4f5b66 # selection color |
|
| 68 | + | __put_template_custom Pk c0c5ce # selected text color |
|
| 69 | + | __put_template_custom Pl c0c5ce # cursor |
|
| 70 | + | __put_template_custom Pm 2b303b # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "8fa1b3" blue |
|
| 86 | + | set -gx fish_color_quote "a3be8c" green |
|
| 87 | + | set -gx fish_color_redirection "ebcb8b" yellow |
|
| 88 | + | set -gx fish_color_end "96b5b4" cyan |
|
| 89 | + | set -gx fish_color_error "bf616a" red |
|
| 90 | + | set -gx fish_color_param "dfe1e8" cyan |
|
| 91 | + | set -gx fish_color_comment "65737e" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c0c5ce" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ebcb8b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "96b5b4" cyan |
|
| 97 | + | set -gx fish_color_escape "96b5b4" cyan |
|
| 98 | + | set -gx fish_color_cwd "a3be8c" green |
|
| 99 | + | set -gx fish_color_cwd_root "bf616a" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "65737e" brblack |
|
| 102 | + | set -gx fish_color_user "a3be8c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ebcb8b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c0c5ce" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "eff1f5" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2b" "30" "3b" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background ocean |
|
| 113 | + | set -U base16_fish_theme ocean |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # OceanicNext scheme by https://github.com/voronianski/oceanic-next-color-scheme |
|
| 4 | + | ||
| 5 | + | function base16-oceanicnext -d "base16 OceanicNext theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1b/2b/34" # Base 00 - Black |
|
| 11 | + | set color01 "ec/5f/67" # Base 08 - Red |
|
| 12 | + | set color02 "99/c7/94" # Base 0B - Green |
|
| 13 | + | set color03 "fa/c8/63" # Base 0A - Yellow |
|
| 14 | + | set color04 "66/99/cc" # Base 0D - Blue |
|
| 15 | + | set color05 "c5/94/c5" # Base 0E - Magenta |
|
| 16 | + | set color06 "5f/b3/b3" # Base 0C - Cyan |
|
| 17 | + | set color07 "c0/c5/ce" # Base 05 - White |
|
| 18 | + | set color08 "65/73/7e" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "d8/de/e9" # Base 07 - Bright White |
|
| 26 | + | set color16 "f9/91/57" # Base 09 |
|
| 27 | + | set color17 "ab/79/67" # Base 0F |
|
| 28 | + | set color18 "34/3d/46" # Base 01 |
|
| 29 | + | set color19 "4f/5b/66" # Base 02 |
|
| 30 | + | set color20 "a7/ad/ba" # Base 04 |
|
| 31 | + | set color21 "cd/d3/de" # Base 06 |
|
| 32 | + | set color_foreground "c0/c5/ce" # Base 05 |
|
| 33 | + | set color_background "1b/2b/34" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c0c5ce # foreground |
|
| 65 | + | __put_template_custom Ph 1b2b34 # background |
|
| 66 | + | __put_template_custom Pi c0c5ce # bold color |
|
| 67 | + | __put_template_custom Pj 4f5b66 # selection color |
|
| 68 | + | __put_template_custom Pk c0c5ce # selected text color |
|
| 69 | + | __put_template_custom Pl c0c5ce # cursor |
|
| 70 | + | __put_template_custom Pm 1b2b34 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6699cc" blue |
|
| 86 | + | set -gx fish_color_quote "99c794" green |
|
| 87 | + | set -gx fish_color_redirection "fac863" yellow |
|
| 88 | + | set -gx fish_color_end "5fb3b3" cyan |
|
| 89 | + | set -gx fish_color_error "ec5f67" red |
|
| 90 | + | set -gx fish_color_param "cdd3de" cyan |
|
| 91 | + | set -gx fish_color_comment "65737e" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c0c5ce" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fac863" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "5fb3b3" cyan |
|
| 97 | + | set -gx fish_color_escape "5fb3b3" cyan |
|
| 98 | + | set -gx fish_color_cwd "99c794" green |
|
| 99 | + | set -gx fish_color_cwd_root "ec5f67" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "65737e" brblack |
|
| 102 | + | set -gx fish_color_user "99c794" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fac863" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c0c5ce" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "d8dee9" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1b" "2b" "34" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background oceanicnext |
|
| 113 | + | set -U base16_fish_theme oceanicnext |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # One Light scheme by Daniel Pfeifer (http://github.com/purpleKarrot) |
|
| 4 | + | ||
| 5 | + | function base16-one-light -d "base16 One Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fa/fa/fa" # Base 00 - Black |
|
| 11 | + | set color01 "ca/12/43" # Base 08 - Red |
|
| 12 | + | set color02 "50/a1/4f" # Base 0B - Green |
|
| 13 | + | set color03 "c1/84/01" # Base 0A - Yellow |
|
| 14 | + | set color04 "40/78/f2" # Base 0D - Blue |
|
| 15 | + | set color05 "a6/26/a4" # Base 0E - Magenta |
|
| 16 | + | set color06 "01/84/bc" # Base 0C - Cyan |
|
| 17 | + | set color07 "38/3a/42" # Base 05 - White |
|
| 18 | + | set color08 "a0/a1/a7" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "09/0a/0b" # Base 07 - Bright White |
|
| 26 | + | set color16 "d7/5f/00" # Base 09 |
|
| 27 | + | set color17 "98/68/01" # Base 0F |
|
| 28 | + | set color18 "f0/f0/f1" # Base 01 |
|
| 29 | + | set color19 "e5/e5/e6" # Base 02 |
|
| 30 | + | set color20 "69/6c/77" # Base 04 |
|
| 31 | + | set color21 "20/22/27" # Base 06 |
|
| 32 | + | set color_foreground "38/3a/42" # Base 05 |
|
| 33 | + | set color_background "fa/fa/fa" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 383a42 # foreground |
|
| 65 | + | __put_template_custom Ph fafafa # background |
|
| 66 | + | __put_template_custom Pi 383a42 # bold color |
|
| 67 | + | __put_template_custom Pj e5e5e6 # selection color |
|
| 68 | + | __put_template_custom Pk 383a42 # selected text color |
|
| 69 | + | __put_template_custom Pl 383a42 # cursor |
|
| 70 | + | __put_template_custom Pm fafafa # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "4078f2" blue |
|
| 86 | + | set -gx fish_color_quote "50a14f" green |
|
| 87 | + | set -gx fish_color_redirection "c18401" yellow |
|
| 88 | + | set -gx fish_color_end "0184bc" cyan |
|
| 89 | + | set -gx fish_color_error "ca1243" red |
|
| 90 | + | set -gx fish_color_param "202227" cyan |
|
| 91 | + | set -gx fish_color_comment "a0a1a7" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "383a42" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c18401" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "0184bc" cyan |
|
| 97 | + | set -gx fish_color_escape "0184bc" cyan |
|
| 98 | + | set -gx fish_color_cwd "50a14f" green |
|
| 99 | + | set -gx fish_color_cwd_root "ca1243" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "a0a1a7" brblack |
|
| 102 | + | set -gx fish_color_user "50a14f" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c18401" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "383a42" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "090a0b" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fa" "fa" "fa" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background one-light |
|
| 113 | + | set -U base16_fish_theme one-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # OneDark scheme by Lalit Magant (http://github.com/tilal6991) |
|
| 4 | + | ||
| 5 | + | function base16-onedark -d "base16 OneDark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "28/2c/34" # Base 00 - Black |
|
| 11 | + | set color01 "e0/6c/75" # Base 08 - Red |
|
| 12 | + | set color02 "98/c3/79" # Base 0B - Green |
|
| 13 | + | set color03 "e5/c0/7b" # Base 0A - Yellow |
|
| 14 | + | set color04 "61/af/ef" # Base 0D - Blue |
|
| 15 | + | set color05 "c6/78/dd" # Base 0E - Magenta |
|
| 16 | + | set color06 "56/b6/c2" # Base 0C - Cyan |
|
| 17 | + | set color07 "ab/b2/bf" # Base 05 - White |
|
| 18 | + | set color08 "54/58/62" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c8/cc/d4" # Base 07 - Bright White |
|
| 26 | + | set color16 "d1/9a/66" # Base 09 |
|
| 27 | + | set color17 "be/50/46" # Base 0F |
|
| 28 | + | set color18 "35/3b/45" # Base 01 |
|
| 29 | + | set color19 "3e/44/51" # Base 02 |
|
| 30 | + | set color20 "56/5c/64" # Base 04 |
|
| 31 | + | set color21 "b6/bd/ca" # Base 06 |
|
| 32 | + | set color_foreground "ab/b2/bf" # Base 05 |
|
| 33 | + | set color_background "28/2c/34" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg abb2bf # foreground |
|
| 65 | + | __put_template_custom Ph 282c34 # background |
|
| 66 | + | __put_template_custom Pi abb2bf # bold color |
|
| 67 | + | __put_template_custom Pj 3e4451 # selection color |
|
| 68 | + | __put_template_custom Pk abb2bf # selected text color |
|
| 69 | + | __put_template_custom Pl abb2bf # cursor |
|
| 70 | + | __put_template_custom Pm 282c34 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "61afef" blue |
|
| 86 | + | set -gx fish_color_quote "98c379" green |
|
| 87 | + | set -gx fish_color_redirection "e5c07b" yellow |
|
| 88 | + | set -gx fish_color_end "56b6c2" cyan |
|
| 89 | + | set -gx fish_color_error "e06c75" red |
|
| 90 | + | set -gx fish_color_param "b6bdca" cyan |
|
| 91 | + | set -gx fish_color_comment "545862" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "abb2bf" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "e5c07b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "56b6c2" cyan |
|
| 97 | + | set -gx fish_color_escape "56b6c2" cyan |
|
| 98 | + | set -gx fish_color_cwd "98c379" green |
|
| 99 | + | set -gx fish_color_cwd_root "e06c75" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "545862" brblack |
|
| 102 | + | set -gx fish_color_user "98c379" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "e5c07b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "abb2bf" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c8ccd4" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "28" "2c" "34" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background onedark |
|
| 113 | + | set -U base16_fish_theme onedark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Outrun Dark scheme by Hugo Delahousse (http://github.com/hugodelahousse/) |
|
| 4 | + | ||
| 5 | + | function base16-outrun-dark -d "base16 Outrun Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/2a" # Base 00 - Black |
|
| 11 | + | set color01 "ff/42/42" # Base 08 - Red |
|
| 12 | + | set color02 "59/f1/76" # Base 0B - Green |
|
| 13 | + | set color03 "f3/e8/77" # Base 0A - Yellow |
|
| 14 | + | set color04 "66/b0/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "f1/05/96" # Base 0E - Magenta |
|
| 16 | + | set color06 "0e/f0/f0" # Base 0C - Cyan |
|
| 17 | + | set color07 "d0/d0/fa" # Base 05 - White |
|
| 18 | + | set color08 "50/50/7a" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f5/f5/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "fc/8d/28" # Base 09 |
|
| 27 | + | set color17 "f0/03/ef" # Base 0F |
|
| 28 | + | set color18 "20/20/4a" # Base 01 |
|
| 29 | + | set color19 "30/30/5a" # Base 02 |
|
| 30 | + | set color20 "b0/b0/da" # Base 04 |
|
| 31 | + | set color21 "e0/e0/ff" # Base 06 |
|
| 32 | + | set color_foreground "d0/d0/fa" # Base 05 |
|
| 33 | + | set color_background "00/00/2a" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d0d0fa # foreground |
|
| 65 | + | __put_template_custom Ph 00002a # background |
|
| 66 | + | __put_template_custom Pi d0d0fa # bold color |
|
| 67 | + | __put_template_custom Pj 30305a # selection color |
|
| 68 | + | __put_template_custom Pk d0d0fa # selected text color |
|
| 69 | + | __put_template_custom Pl d0d0fa # cursor |
|
| 70 | + | __put_template_custom Pm 00002a # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "66b0ff" blue |
|
| 86 | + | set -gx fish_color_quote "59f176" green |
|
| 87 | + | set -gx fish_color_redirection "f3e877" yellow |
|
| 88 | + | set -gx fish_color_end "0ef0f0" cyan |
|
| 89 | + | set -gx fish_color_error "ff4242" red |
|
| 90 | + | set -gx fish_color_param "e0e0ff" cyan |
|
| 91 | + | set -gx fish_color_comment "50507a" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d0d0fa" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f3e877" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "0ef0f0" cyan |
|
| 97 | + | set -gx fish_color_escape "0ef0f0" cyan |
|
| 98 | + | set -gx fish_color_cwd "59f176" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff4242" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "50507a" brblack |
|
| 102 | + | set -gx fish_color_user "59f176" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f3e877" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d0d0fa" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f5f5ff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "2a" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background outrun-dark |
|
| 113 | + | set -U base16_fish_theme outrun-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # PaperColor Dark scheme by Jon Leopard (http://github.com/jonleopard) based on PaperColor Theme (https://github.com/NLKNguyen/papercolor-theme) |
|
| 4 | + | ||
| 5 | + | function base16-papercolor-dark -d "base16 PaperColor Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1c/1c/1c" # Base 00 - Black |
|
| 11 | + | set color01 "58/58/58" # Base 08 - Red |
|
| 12 | + | set color02 "af/87/d7" # Base 0B - Green |
|
| 13 | + | set color03 "af/d7/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "ff/5f/af" # Base 0D - Blue |
|
| 15 | + | set color05 "00/af/af" # Base 0E - Magenta |
|
| 16 | + | set color06 "ff/af/00" # Base 0C - Cyan |
|
| 17 | + | set color07 "80/80/80" # Base 05 - White |
|
| 18 | + | set color08 "d7/af/5f" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "d0/d0/d0" # Base 07 - Bright White |
|
| 26 | + | set color16 "5f/af/5f" # Base 09 |
|
| 27 | + | set color17 "5f/87/87" # Base 0F |
|
| 28 | + | set color18 "af/00/5f" # Base 01 |
|
| 29 | + | set color19 "5f/af/00" # Base 02 |
|
| 30 | + | set color20 "5f/af/d7" # Base 04 |
|
| 31 | + | set color21 "d7/87/5f" # Base 06 |
|
| 32 | + | set color_foreground "80/80/80" # Base 05 |
|
| 33 | + | set color_background "1c/1c/1c" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 808080 # foreground |
|
| 65 | + | __put_template_custom Ph 1c1c1c # background |
|
| 66 | + | __put_template_custom Pi 808080 # bold color |
|
| 67 | + | __put_template_custom Pj 5faf00 # selection color |
|
| 68 | + | __put_template_custom Pk 808080 # selected text color |
|
| 69 | + | __put_template_custom Pl 808080 # cursor |
|
| 70 | + | __put_template_custom Pm 1c1c1c # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "ff5faf" blue |
|
| 86 | + | set -gx fish_color_quote "af87d7" green |
|
| 87 | + | set -gx fish_color_redirection "afd700" yellow |
|
| 88 | + | set -gx fish_color_end "ffaf00" cyan |
|
| 89 | + | set -gx fish_color_error "585858" red |
|
| 90 | + | set -gx fish_color_param "d7875f" cyan |
|
| 91 | + | set -gx fish_color_comment "d7af5f" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "808080" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "afd700" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "ffaf00" cyan |
|
| 97 | + | set -gx fish_color_escape "ffaf00" cyan |
|
| 98 | + | set -gx fish_color_cwd "af87d7" green |
|
| 99 | + | set -gx fish_color_cwd_root "585858" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "d7af5f" brblack |
|
| 102 | + | set -gx fish_color_user "af87d7" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "afd700" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "808080" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "d0d0d0" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1c" "1c" "1c" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background papercolor-dark |
|
| 113 | + | set -U base16_fish_theme papercolor-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # PaperColor Light scheme by Jon Leopard (http://github.com/jonleopard) based on PaperColor Theme (https://github.com/NLKNguyen/papercolor-theme) |
|
| 4 | + | ||
| 5 | + | function base16-papercolor-light -d "base16 PaperColor Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "ee/ee/ee" # Base 00 - Black |
|
| 11 | + | set color01 "bc/bc/bc" # Base 08 - Red |
|
| 12 | + | set color02 "87/00/af" # Base 0B - Green |
|
| 13 | + | set color03 "d7/00/87" # Base 0A - Yellow |
|
| 14 | + | set color04 "d7/5f/00" # Base 0D - Blue |
|
| 15 | + | set color05 "00/5f/af" # Base 0E - Magenta |
|
| 16 | + | set color06 "d7/5f/00" # Base 0C - Cyan |
|
| 17 | + | set color07 "44/44/44" # Base 05 - White |
|
| 18 | + | set color08 "5f/87/00" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "87/87/87" # Base 07 - Bright White |
|
| 26 | + | set color16 "d7/00/00" # Base 09 |
|
| 27 | + | set color17 "00/5f/87" # Base 0F |
|
| 28 | + | set color18 "af/00/00" # Base 01 |
|
| 29 | + | set color19 "00/87/00" # Base 02 |
|
| 30 | + | set color20 "00/87/af" # Base 04 |
|
| 31 | + | set color21 "00/5f/87" # Base 06 |
|
| 32 | + | set color_foreground "44/44/44" # Base 05 |
|
| 33 | + | set color_background "ee/ee/ee" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 444444 # foreground |
|
| 65 | + | __put_template_custom Ph eeeeee # background |
|
| 66 | + | __put_template_custom Pi 444444 # bold color |
|
| 67 | + | __put_template_custom Pj 008700 # selection color |
|
| 68 | + | __put_template_custom Pk 444444 # selected text color |
|
| 69 | + | __put_template_custom Pl 444444 # cursor |
|
| 70 | + | __put_template_custom Pm eeeeee # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "d75f00" blue |
|
| 86 | + | set -gx fish_color_quote "8700af" green |
|
| 87 | + | set -gx fish_color_redirection "d70087" yellow |
|
| 88 | + | set -gx fish_color_end "d75f00" cyan |
|
| 89 | + | set -gx fish_color_error "bcbcbc" red |
|
| 90 | + | set -gx fish_color_param "005f87" cyan |
|
| 91 | + | set -gx fish_color_comment "5f8700" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "444444" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "d70087" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "d75f00" cyan |
|
| 97 | + | set -gx fish_color_escape "d75f00" cyan |
|
| 98 | + | set -gx fish_color_cwd "8700af" green |
|
| 99 | + | set -gx fish_color_cwd_root "bcbcbc" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "5f8700" brblack |
|
| 102 | + | set -gx fish_color_user "8700af" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "d70087" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "444444" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "878787" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "ee" "ee" "ee" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background papercolor-light |
|
| 113 | + | set -U base16_fish_theme papercolor-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Paraiso scheme by Jan T. Sott |
|
| 4 | + | ||
| 5 | + | function base16-paraiso -d "base16 Paraiso theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2f/1e/2e" # Base 00 - Black |
|
| 11 | + | set color01 "ef/61/55" # Base 08 - Red |
|
| 12 | + | set color02 "48/b6/85" # Base 0B - Green |
|
| 13 | + | set color03 "fe/c4/18" # Base 0A - Yellow |
|
| 14 | + | set color04 "06/b6/ef" # Base 0D - Blue |
|
| 15 | + | set color05 "81/5b/a4" # Base 0E - Magenta |
|
| 16 | + | set color06 "5b/c4/bf" # Base 0C - Cyan |
|
| 17 | + | set color07 "a3/9e/9b" # Base 05 - White |
|
| 18 | + | set color08 "77/6e/71" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "e7/e9/db" # Base 07 - Bright White |
|
| 26 | + | set color16 "f9/9b/15" # Base 09 |
|
| 27 | + | set color17 "e9/6b/a8" # Base 0F |
|
| 28 | + | set color18 "41/32/3f" # Base 01 |
|
| 29 | + | set color19 "4f/42/4c" # Base 02 |
|
| 30 | + | set color20 "8d/86/87" # Base 04 |
|
| 31 | + | set color21 "b9/b6/b0" # Base 06 |
|
| 32 | + | set color_foreground "a3/9e/9b" # Base 05 |
|
| 33 | + | set color_background "2f/1e/2e" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a39e9b # foreground |
|
| 65 | + | __put_template_custom Ph 2f1e2e # background |
|
| 66 | + | __put_template_custom Pi a39e9b # bold color |
|
| 67 | + | __put_template_custom Pj 4f424c # selection color |
|
| 68 | + | __put_template_custom Pk a39e9b # selected text color |
|
| 69 | + | __put_template_custom Pl a39e9b # cursor |
|
| 70 | + | __put_template_custom Pm 2f1e2e # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "06b6ef" blue |
|
| 86 | + | set -gx fish_color_quote "48b685" green |
|
| 87 | + | set -gx fish_color_redirection "fec418" yellow |
|
| 88 | + | set -gx fish_color_end "5bc4bf" cyan |
|
| 89 | + | set -gx fish_color_error "ef6155" red |
|
| 90 | + | set -gx fish_color_param "b9b6b0" cyan |
|
| 91 | + | set -gx fish_color_comment "776e71" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a39e9b" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fec418" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "5bc4bf" cyan |
|
| 97 | + | set -gx fish_color_escape "5bc4bf" cyan |
|
| 98 | + | set -gx fish_color_cwd "48b685" green |
|
| 99 | + | set -gx fish_color_cwd_root "ef6155" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "776e71" brblack |
|
| 102 | + | set -gx fish_color_user "48b685" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fec418" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a39e9b" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "e7e9db" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2f" "1e" "2e" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background paraiso |
|
| 113 | + | set -U base16_fish_theme paraiso |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Pasque scheme by Gabriel Fontes (https://github.com/Misterio77) |
|
| 4 | + | ||
| 5 | + | function base16-pasque -d "base16 Pasque theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "27/1c/3a" # Base 00 - Black |
|
| 11 | + | set color01 "a9/22/58" # Base 08 - Red |
|
| 12 | + | set color02 "c6/91/4b" # Base 0B - Green |
|
| 13 | + | set color03 "80/4e/ad" # Base 0A - Yellow |
|
| 14 | + | set color04 "8e/7d/c6" # Base 0D - Blue |
|
| 15 | + | set color05 "95/3b/9d" # Base 0E - Magenta |
|
| 16 | + | set color06 "72/63/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "de/dc/df" # Base 05 - White |
|
| 18 | + | set color08 "5d/57/66" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "bb/aa/dd" # Base 07 - Bright White |
|
| 26 | + | set color16 "91/88/89" # Base 09 |
|
| 27 | + | set color17 "59/32/5c" # Base 0F |
|
| 28 | + | set color18 "10/03/23" # Base 01 |
|
| 29 | + | set color19 "3e/2d/5c" # Base 02 |
|
| 30 | + | set color20 "be/bc/bf" # Base 04 |
|
| 31 | + | set color21 "ed/ea/ef" # Base 06 |
|
| 32 | + | set color_foreground "de/dc/df" # Base 05 |
|
| 33 | + | set color_background "27/1c/3a" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg dedcdf # foreground |
|
| 65 | + | __put_template_custom Ph 271c3a # background |
|
| 66 | + | __put_template_custom Pi dedcdf # bold color |
|
| 67 | + | __put_template_custom Pj 3e2d5c # selection color |
|
| 68 | + | __put_template_custom Pk dedcdf # selected text color |
|
| 69 | + | __put_template_custom Pl dedcdf # cursor |
|
| 70 | + | __put_template_custom Pm 271c3a # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "8e7dc6" blue |
|
| 86 | + | set -gx fish_color_quote "c6914b" green |
|
| 87 | + | set -gx fish_color_redirection "804ead" yellow |
|
| 88 | + | set -gx fish_color_end "7263aa" cyan |
|
| 89 | + | set -gx fish_color_error "a92258" red |
|
| 90 | + | set -gx fish_color_param "edeaef" cyan |
|
| 91 | + | set -gx fish_color_comment "5d5766" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "dedcdf" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "804ead" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "7263aa" cyan |
|
| 97 | + | set -gx fish_color_escape "7263aa" cyan |
|
| 98 | + | set -gx fish_color_cwd "c6914b" green |
|
| 99 | + | set -gx fish_color_cwd_root "a92258" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "5d5766" brblack |
|
| 102 | + | set -gx fish_color_user "c6914b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "804ead" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "dedcdf" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "bbaadd" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "27" "1c" "3a" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background pasque |
|
| 113 | + | set -U base16_fish_theme pasque |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # PhD scheme by Hennig Hasemann (http://leetless.de/vim.html) |
|
| 4 | + | ||
| 5 | + | function base16-phd -d "base16 PhD theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "06/12/29" # Base 00 - Black |
|
| 11 | + | set color01 "d0/73/46" # Base 08 - Red |
|
| 12 | + | set color02 "99/bf/52" # Base 0B - Green |
|
| 13 | + | set color03 "fb/d4/61" # Base 0A - Yellow |
|
| 14 | + | set color04 "52/99/bf" # Base 0D - Blue |
|
| 15 | + | set color05 "99/89/cc" # Base 0E - Magenta |
|
| 16 | + | set color06 "72/b9/bf" # Base 0C - Cyan |
|
| 17 | + | set color07 "b8/bb/c2" # Base 05 - White |
|
| 18 | + | set color08 "71/78/85" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "f0/a0/00" # Base 09 |
|
| 27 | + | set color17 "b0/80/60" # Base 0F |
|
| 28 | + | set color18 "2a/34/48" # Base 01 |
|
| 29 | + | set color19 "4d/56/66" # Base 02 |
|
| 30 | + | set color20 "9a/99/a3" # Base 04 |
|
| 31 | + | set color21 "db/dd/e0" # Base 06 |
|
| 32 | + | set color_foreground "b8/bb/c2" # Base 05 |
|
| 33 | + | set color_background "06/12/29" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg b8bbc2 # foreground |
|
| 65 | + | __put_template_custom Ph 061229 # background |
|
| 66 | + | __put_template_custom Pi b8bbc2 # bold color |
|
| 67 | + | __put_template_custom Pj 4d5666 # selection color |
|
| 68 | + | __put_template_custom Pk b8bbc2 # selected text color |
|
| 69 | + | __put_template_custom Pl b8bbc2 # cursor |
|
| 70 | + | __put_template_custom Pm 061229 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "5299bf" blue |
|
| 86 | + | set -gx fish_color_quote "99bf52" green |
|
| 87 | + | set -gx fish_color_redirection "fbd461" yellow |
|
| 88 | + | set -gx fish_color_end "72b9bf" cyan |
|
| 89 | + | set -gx fish_color_error "d07346" red |
|
| 90 | + | set -gx fish_color_param "dbdde0" cyan |
|
| 91 | + | set -gx fish_color_comment "717885" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "b8bbc2" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fbd461" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "72b9bf" cyan |
|
| 97 | + | set -gx fish_color_escape "72b9bf" cyan |
|
| 98 | + | set -gx fish_color_cwd "99bf52" green |
|
| 99 | + | set -gx fish_color_cwd_root "d07346" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "717885" brblack |
|
| 102 | + | set -gx fish_color_user "99bf52" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fbd461" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "b8bbc2" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "06" "12" "29" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background phd |
|
| 113 | + | set -U base16_fish_theme phd |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Pico scheme by PICO-8 (http://www.lexaloffle.com/pico-8.php) |
|
| 4 | + | ||
| 5 | + | function base16-pico -d "base16 Pico theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "ff/00/4d" # Base 08 - Red |
|
| 12 | + | set color02 "00/e7/56" # Base 0B - Green |
|
| 13 | + | set color03 "ff/f0/24" # Base 0A - Yellow |
|
| 14 | + | set color04 "83/76/9c" # Base 0D - Blue |
|
| 15 | + | set color05 "ff/77/a8" # Base 0E - Magenta |
|
| 16 | + | set color06 "29/ad/ff" # Base 0C - Cyan |
|
| 17 | + | set color07 "5f/57/4f" # Base 05 - White |
|
| 18 | + | set color08 "00/87/51" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/f1/e8" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/a3/00" # Base 09 |
|
| 27 | + | set color17 "ff/cc/aa" # Base 0F |
|
| 28 | + | set color18 "1d/2b/53" # Base 01 |
|
| 29 | + | set color19 "7e/25/53" # Base 02 |
|
| 30 | + | set color20 "ab/52/36" # Base 04 |
|
| 31 | + | set color21 "c2/c3/c7" # Base 06 |
|
| 32 | + | set color_foreground "5f/57/4f" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 5f574f # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi 5f574f # bold color |
|
| 67 | + | __put_template_custom Pj 7e2553 # selection color |
|
| 68 | + | __put_template_custom Pk 5f574f # selected text color |
|
| 69 | + | __put_template_custom Pl 5f574f # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "83769c" blue |
|
| 86 | + | set -gx fish_color_quote "00e756" green |
|
| 87 | + | set -gx fish_color_redirection "fff024" yellow |
|
| 88 | + | set -gx fish_color_end "29adff" cyan |
|
| 89 | + | set -gx fish_color_error "ff004d" red |
|
| 90 | + | set -gx fish_color_param "c2c3c7" cyan |
|
| 91 | + | set -gx fish_color_comment "008751" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "5f574f" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fff024" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "29adff" cyan |
|
| 97 | + | set -gx fish_color_escape "29adff" cyan |
|
| 98 | + | set -gx fish_color_cwd "00e756" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff004d" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "008751" brblack |
|
| 102 | + | set -gx fish_color_user "00e756" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fff024" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "5f574f" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fff1e8" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background pico |
|
| 113 | + | set -U base16_fish_theme pico |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # pinky scheme by Benjamin (https://github.com/b3nj5m1n) |
|
| 4 | + | ||
| 5 | + | function base16-pinky -d "base16 pinky theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "17/15/17" # Base 00 - Black |
|
| 11 | + | set color01 "ff/a6/00" # Base 08 - Red |
|
| 12 | + | set color02 "ff/00/66" # Base 0B - Green |
|
| 13 | + | set color03 "20/df/6c" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/ff/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "00/7f/ff" # Base 0E - Magenta |
|
| 16 | + | set color06 "66/00/ff" # Base 0C - Cyan |
|
| 17 | + | set color07 "f5/f5/f5" # Base 05 - White |
|
| 18 | + | set color08 "38/33/38" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f7/f3/f7" # Base 07 - Bright White |
|
| 26 | + | set color16 "00/ff/66" # Base 09 |
|
| 27 | + | set color17 "df/20/6c" # Base 0F |
|
| 28 | + | set color18 "1b/18/1b" # Base 01 |
|
| 29 | + | set color19 "1d/1b/1d" # Base 02 |
|
| 30 | + | set color20 "e7/db/db" # Base 04 |
|
| 31 | + | set color21 "ff/ff/ff" # Base 06 |
|
| 32 | + | set color_foreground "f5/f5/f5" # Base 05 |
|
| 33 | + | set color_background "17/15/17" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg f5f5f5 # foreground |
|
| 65 | + | __put_template_custom Ph 171517 # background |
|
| 66 | + | __put_template_custom Pi f5f5f5 # bold color |
|
| 67 | + | __put_template_custom Pj 1d1b1d # selection color |
|
| 68 | + | __put_template_custom Pk f5f5f5 # selected text color |
|
| 69 | + | __put_template_custom Pl f5f5f5 # cursor |
|
| 70 | + | __put_template_custom Pm 171517 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "00ffff" blue |
|
| 86 | + | set -gx fish_color_quote "ff0066" green |
|
| 87 | + | set -gx fish_color_redirection "20df6c" yellow |
|
| 88 | + | set -gx fish_color_end "6600ff" cyan |
|
| 89 | + | set -gx fish_color_error "ffa600" red |
|
| 90 | + | set -gx fish_color_param "ffffff" cyan |
|
| 91 | + | set -gx fish_color_comment "383338" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "f5f5f5" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "20df6c" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "6600ff" cyan |
|
| 97 | + | set -gx fish_color_escape "6600ff" cyan |
|
| 98 | + | set -gx fish_color_cwd "ff0066" green |
|
| 99 | + | set -gx fish_color_cwd_root "ffa600" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "383338" brblack |
|
| 102 | + | set -gx fish_color_user "ff0066" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "20df6c" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "f5f5f5" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f7f3f7" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "17" "15" "17" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background pinky |
|
| 113 | + | set -U base16_fish_theme pinky |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Pop scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-pop -d "base16 Pop theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "eb/00/8a" # Base 08 - Red |
|
| 12 | + | set color02 "37/b3/49" # Base 0B - Green |
|
| 13 | + | set color03 "f8/ca/12" # Base 0A - Yellow |
|
| 14 | + | set color04 "0e/5a/94" # Base 0D - Blue |
|
| 15 | + | set color05 "b3/1e/8d" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/aa/bb" # Base 0C - Cyan |
|
| 17 | + | set color07 "d0/d0/d0" # Base 05 - White |
|
| 18 | + | set color08 "50/50/50" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "f2/93/33" # Base 09 |
|
| 27 | + | set color17 "7a/2d/00" # Base 0F |
|
| 28 | + | set color18 "20/20/20" # Base 01 |
|
| 29 | + | set color19 "30/30/30" # Base 02 |
|
| 30 | + | set color20 "b0/b0/b0" # Base 04 |
|
| 31 | + | set color21 "e0/e0/e0" # Base 06 |
|
| 32 | + | set color_foreground "d0/d0/d0" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d0d0d0 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi d0d0d0 # bold color |
|
| 67 | + | __put_template_custom Pj 303030 # selection color |
|
| 68 | + | __put_template_custom Pk d0d0d0 # selected text color |
|
| 69 | + | __put_template_custom Pl d0d0d0 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0e5a94" blue |
|
| 86 | + | set -gx fish_color_quote "37b349" green |
|
| 87 | + | set -gx fish_color_redirection "f8ca12" yellow |
|
| 88 | + | set -gx fish_color_end "00aabb" cyan |
|
| 89 | + | set -gx fish_color_error "eb008a" red |
|
| 90 | + | set -gx fish_color_param "e0e0e0" cyan |
|
| 91 | + | set -gx fish_color_comment "505050" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d0d0d0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f8ca12" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "00aabb" cyan |
|
| 97 | + | set -gx fish_color_escape "00aabb" cyan |
|
| 98 | + | set -gx fish_color_cwd "37b349" green |
|
| 99 | + | set -gx fish_color_cwd_root "eb008a" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "505050" brblack |
|
| 102 | + | set -gx fish_color_user "37b349" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f8ca12" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d0d0d0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background pop |
|
| 113 | + | set -U base16_fish_theme pop |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Porple scheme by Niek den Breeje (https://github.com/AuditeMarlow) |
|
| 4 | + | ||
| 5 | + | function base16-porple -d "base16 Porple theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "29/2c/36" # Base 00 - Black |
|
| 11 | + | set color01 "f8/45/47" # Base 08 - Red |
|
| 12 | + | set color02 "95/c7/6f" # Base 0B - Green |
|
| 13 | + | set color03 "ef/a1/6b" # Base 0A - Yellow |
|
| 14 | + | set color04 "84/85/ce" # Base 0D - Blue |
|
| 15 | + | set color05 "b7/49/89" # Base 0E - Magenta |
|
| 16 | + | set color06 "64/87/8f" # Base 0C - Cyan |
|
| 17 | + | set color07 "d8/d8/d8" # Base 05 - White |
|
| 18 | + | set color08 "65/56/8a" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f8/f8/f8" # Base 07 - Bright White |
|
| 26 | + | set color16 "d2/8e/5d" # Base 09 |
|
| 27 | + | set color17 "98/68/41" # Base 0F |
|
| 28 | + | set color18 "33/33/44" # Base 01 |
|
| 29 | + | set color19 "47/41/60" # Base 02 |
|
| 30 | + | set color20 "b8/b8/b8" # Base 04 |
|
| 31 | + | set color21 "e8/e8/e8" # Base 06 |
|
| 32 | + | set color_foreground "d8/d8/d8" # Base 05 |
|
| 33 | + | set color_background "29/2c/36" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d8d8d8 # foreground |
|
| 65 | + | __put_template_custom Ph 292c36 # background |
|
| 66 | + | __put_template_custom Pi d8d8d8 # bold color |
|
| 67 | + | __put_template_custom Pj 474160 # selection color |
|
| 68 | + | __put_template_custom Pk d8d8d8 # selected text color |
|
| 69 | + | __put_template_custom Pl d8d8d8 # cursor |
|
| 70 | + | __put_template_custom Pm 292c36 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "8485ce" blue |
|
| 86 | + | set -gx fish_color_quote "95c76f" green |
|
| 87 | + | set -gx fish_color_redirection "efa16b" yellow |
|
| 88 | + | set -gx fish_color_end "64878f" cyan |
|
| 89 | + | set -gx fish_color_error "f84547" red |
|
| 90 | + | set -gx fish_color_param "e8e8e8" cyan |
|
| 91 | + | set -gx fish_color_comment "65568a" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d8d8d8" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "efa16b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "64878f" cyan |
|
| 97 | + | set -gx fish_color_escape "64878f" cyan |
|
| 98 | + | set -gx fish_color_cwd "95c76f" green |
|
| 99 | + | set -gx fish_color_cwd_root "f84547" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "65568a" brblack |
|
| 102 | + | set -gx fish_color_user "95c76f" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "efa16b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d8d8d8" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f8f8f8" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "29" "2c" "36" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background porple |
|
| 113 | + | set -U base16_fish_theme porple |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Qualia scheme by isaacwhanson |
|
| 4 | + | ||
| 5 | + | function base16-qualia -d "base16 Qualia theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "10/10/10" # Base 00 - Black |
|
| 11 | + | set color01 "ef/a6/a2" # Base 08 - Red |
|
| 12 | + | set color02 "80/c9/90" # Base 0B - Green |
|
| 13 | + | set color03 "e6/a3/dc" # Base 0A - Yellow |
|
| 14 | + | set color04 "50/ca/cd" # Base 0D - Blue |
|
| 15 | + | set color05 "e0/af/85" # Base 0E - Magenta |
|
| 16 | + | set color06 "c8/c8/74" # Base 0C - Cyan |
|
| 17 | + | set color07 "c0/c0/c0" # Base 05 - White |
|
| 18 | + | set color08 "45/45/45" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "45/45/45" # Base 07 - Bright White |
|
| 26 | + | set color16 "a3/b8/ef" # Base 09 |
|
| 27 | + | set color17 "80/80/80" # Base 0F |
|
| 28 | + | set color18 "45/45/45" # Base 01 |
|
| 29 | + | set color19 "45/45/45" # Base 02 |
|
| 30 | + | set color20 "80/80/80" # Base 04 |
|
| 31 | + | set color21 "c0/c0/c0" # Base 06 |
|
| 32 | + | set color_foreground "c0/c0/c0" # Base 05 |
|
| 33 | + | set color_background "10/10/10" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c0c0c0 # foreground |
|
| 65 | + | __put_template_custom Ph 101010 # background |
|
| 66 | + | __put_template_custom Pi c0c0c0 # bold color |
|
| 67 | + | __put_template_custom Pj 454545 # selection color |
|
| 68 | + | __put_template_custom Pk c0c0c0 # selected text color |
|
| 69 | + | __put_template_custom Pl c0c0c0 # cursor |
|
| 70 | + | __put_template_custom Pm 101010 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "50cacd" blue |
|
| 86 | + | set -gx fish_color_quote "80c990" green |
|
| 87 | + | set -gx fish_color_redirection "e6a3dc" yellow |
|
| 88 | + | set -gx fish_color_end "c8c874" cyan |
|
| 89 | + | set -gx fish_color_error "efa6a2" red |
|
| 90 | + | set -gx fish_color_param "c0c0c0" cyan |
|
| 91 | + | set -gx fish_color_comment "454545" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c0c0c0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "e6a3dc" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "c8c874" cyan |
|
| 97 | + | set -gx fish_color_escape "c8c874" cyan |
|
| 98 | + | set -gx fish_color_cwd "80c990" green |
|
| 99 | + | set -gx fish_color_cwd_root "efa6a2" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "454545" brblack |
|
| 102 | + | set -gx fish_color_user "80c990" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "e6a3dc" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c0c0c0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "454545" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "10" "10" "10" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background qualia |
|
| 113 | + | set -U base16_fish_theme qualia |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Railscasts scheme by Ryan Bates (http://railscasts.com) |
|
| 4 | + | ||
| 5 | + | function base16-railscasts -d "base16 Railscasts theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2b/2b/2b" # Base 00 - Black |
|
| 11 | + | set color01 "da/49/39" # Base 08 - Red |
|
| 12 | + | set color02 "a5/c2/61" # Base 0B - Green |
|
| 13 | + | set color03 "ff/c6/6d" # Base 0A - Yellow |
|
| 14 | + | set color04 "6d/9c/be" # Base 0D - Blue |
|
| 15 | + | set color05 "b6/b3/eb" # Base 0E - Magenta |
|
| 16 | + | set color06 "51/9f/50" # Base 0C - Cyan |
|
| 17 | + | set color07 "e6/e1/dc" # Base 05 - White |
|
| 18 | + | set color08 "5a/64/7e" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f9/f7/f3" # Base 07 - Bright White |
|
| 26 | + | set color16 "cc/78/33" # Base 09 |
|
| 27 | + | set color17 "bc/94/58" # Base 0F |
|
| 28 | + | set color18 "27/29/35" # Base 01 |
|
| 29 | + | set color19 "3a/40/55" # Base 02 |
|
| 30 | + | set color20 "d4/cf/c9" # Base 04 |
|
| 31 | + | set color21 "f4/f1/ed" # Base 06 |
|
| 32 | + | set color_foreground "e6/e1/dc" # Base 05 |
|
| 33 | + | set color_background "2b/2b/2b" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg e6e1dc # foreground |
|
| 65 | + | __put_template_custom Ph 2b2b2b # background |
|
| 66 | + | __put_template_custom Pi e6e1dc # bold color |
|
| 67 | + | __put_template_custom Pj 3a4055 # selection color |
|
| 68 | + | __put_template_custom Pk e6e1dc # selected text color |
|
| 69 | + | __put_template_custom Pl e6e1dc # cursor |
|
| 70 | + | __put_template_custom Pm 2b2b2b # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6d9cbe" blue |
|
| 86 | + | set -gx fish_color_quote "a5c261" green |
|
| 87 | + | set -gx fish_color_redirection "ffc66d" yellow |
|
| 88 | + | set -gx fish_color_end "519f50" cyan |
|
| 89 | + | set -gx fish_color_error "da4939" red |
|
| 90 | + | set -gx fish_color_param "f4f1ed" cyan |
|
| 91 | + | set -gx fish_color_comment "5a647e" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "e6e1dc" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffc66d" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "519f50" cyan |
|
| 97 | + | set -gx fish_color_escape "519f50" cyan |
|
| 98 | + | set -gx fish_color_cwd "a5c261" green |
|
| 99 | + | set -gx fish_color_cwd_root "da4939" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "5a647e" brblack |
|
| 102 | + | set -gx fish_color_user "a5c261" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffc66d" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "e6e1dc" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f9f7f3" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2b" "2b" "2b" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background railscasts |
|
| 113 | + | set -U base16_fish_theme railscasts |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Rebecca scheme by Victor Borja (http://github.com/vic) based on Rebecca Theme (http://github.com/vic/rebecca-theme) |
|
| 4 | + | ||
| 5 | + | function base16-rebecca -d "base16 Rebecca theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "29/2a/44" # Base 00 - Black |
|
| 11 | + | set color01 "a0/a0/c5" # Base 08 - Red |
|
| 12 | + | set color02 "6d/fe/df" # Base 0B - Green |
|
| 13 | + | set color03 "ae/81/ff" # Base 0A - Yellow |
|
| 14 | + | set color04 "2d/e0/a7" # Base 0D - Blue |
|
| 15 | + | set color05 "7a/a5/ff" # Base 0E - Magenta |
|
| 16 | + | set color06 "8e/ae/e0" # Base 0C - Cyan |
|
| 17 | + | set color07 "f1/ef/f8" # Base 05 - White |
|
| 18 | + | set color08 "66/66/99" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "53/49/5d" # Base 07 - Bright White |
|
| 26 | + | set color16 "ef/e4/a1" # Base 09 |
|
| 27 | + | set color17 "ff/79/c6" # Base 0F |
|
| 28 | + | set color18 "66/33/99" # Base 01 |
|
| 29 | + | set color19 "38/3a/62" # Base 02 |
|
| 30 | + | set color20 "a0/a0/c5" # Base 04 |
|
| 31 | + | set color21 "cc/cc/ff" # Base 06 |
|
| 32 | + | set color_foreground "f1/ef/f8" # Base 05 |
|
| 33 | + | set color_background "29/2a/44" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg f1eff8 # foreground |
|
| 65 | + | __put_template_custom Ph 292a44 # background |
|
| 66 | + | __put_template_custom Pi f1eff8 # bold color |
|
| 67 | + | __put_template_custom Pj 383a62 # selection color |
|
| 68 | + | __put_template_custom Pk f1eff8 # selected text color |
|
| 69 | + | __put_template_custom Pl f1eff8 # cursor |
|
| 70 | + | __put_template_custom Pm 292a44 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "2de0a7" blue |
|
| 86 | + | set -gx fish_color_quote "6dfedf" green |
|
| 87 | + | set -gx fish_color_redirection "ae81ff" yellow |
|
| 88 | + | set -gx fish_color_end "8eaee0" cyan |
|
| 89 | + | set -gx fish_color_error "a0a0c5" red |
|
| 90 | + | set -gx fish_color_param "ccccff" cyan |
|
| 91 | + | set -gx fish_color_comment "666699" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "f1eff8" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ae81ff" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "8eaee0" cyan |
|
| 97 | + | set -gx fish_color_escape "8eaee0" cyan |
|
| 98 | + | set -gx fish_color_cwd "6dfedf" green |
|
| 99 | + | set -gx fish_color_cwd_root "a0a0c5" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "666699" brblack |
|
| 102 | + | set -gx fish_color_user "6dfedf" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ae81ff" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "f1eff8" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "53495d" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "29" "2a" "44" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background rebecca |
|
| 113 | + | set -U base16_fish_theme rebecca |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Rosé Pine Dawn scheme by Emilia Dunfelt <sayhi@dunfelt.se> |
|
| 4 | + | ||
| 5 | + | function base16-rose-pine-dawn -d "base16 Rosé Pine Dawn theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fa/f4/ed" # Base 00 - Black |
|
| 11 | + | set color01 "1f/1d/2e" # Base 08 - Red |
|
| 12 | + | set color02 "d7/82/7e" # Base 0B - Green |
|
| 13 | + | set color03 "ea/9d/34" # Base 0A - Yellow |
|
| 14 | + | set color04 "56/94/9f" # Base 0D - Blue |
|
| 15 | + | set color05 "90/7a/a9" # Base 0E - Magenta |
|
| 16 | + | set color06 "28/69/83" # Base 0C - Cyan |
|
| 17 | + | set color07 "57/52/79" # Base 05 - White |
|
| 18 | + | set color08 "98/93/a5" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "26/23/3a" # Base 07 - Bright White |
|
| 26 | + | set color16 "b4/63/7a" # Base 09 |
|
| 27 | + | set color17 "c5/c3/ce" # Base 0F |
|
| 28 | + | set color18 "ff/fa/f3" # Base 01 |
|
| 29 | + | set color19 "f2/e9/de" # Base 02 |
|
| 30 | + | set color20 "6e/6a/86" # Base 04 |
|
| 31 | + | set color21 "55/51/69" # Base 06 |
|
| 32 | + | set color_foreground "57/52/79" # Base 05 |
|
| 33 | + | set color_background "fa/f4/ed" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 575279 # foreground |
|
| 65 | + | __put_template_custom Ph faf4ed # background |
|
| 66 | + | __put_template_custom Pi 575279 # bold color |
|
| 67 | + | __put_template_custom Pj f2e9de # selection color |
|
| 68 | + | __put_template_custom Pk 575279 # selected text color |
|
| 69 | + | __put_template_custom Pl 575279 # cursor |
|
| 70 | + | __put_template_custom Pm faf4ed # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "56949f" blue |
|
| 86 | + | set -gx fish_color_quote "d7827e" green |
|
| 87 | + | set -gx fish_color_redirection "ea9d34" yellow |
|
| 88 | + | set -gx fish_color_end "286983" cyan |
|
| 89 | + | set -gx fish_color_error "1f1d2e" red |
|
| 90 | + | set -gx fish_color_param "555169" cyan |
|
| 91 | + | set -gx fish_color_comment "9893a5" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "575279" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ea9d34" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "286983" cyan |
|
| 97 | + | set -gx fish_color_escape "286983" cyan |
|
| 98 | + | set -gx fish_color_cwd "d7827e" green |
|
| 99 | + | set -gx fish_color_cwd_root "1f1d2e" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "9893a5" brblack |
|
| 102 | + | set -gx fish_color_user "d7827e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ea9d34" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "575279" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "26233a" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fa" "f4" "ed" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background rose-pine-dawn |
|
| 113 | + | set -U base16_fish_theme rose-pine-dawn |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Rosé Pine Moon scheme by Emilia Dunfelt <sayhi@dunfelt.se> |
|
| 4 | + | ||
| 5 | + | function base16-rose-pine-moon -d "base16 Rosé Pine Moon theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "23/21/36" # Base 00 - Black |
|
| 11 | + | set color01 "ec/eb/f0" # Base 08 - Red |
|
| 12 | + | set color02 "ea/9a/97" # Base 0B - Green |
|
| 13 | + | set color03 "f6/c1/77" # Base 0A - Yellow |
|
| 14 | + | set color04 "9c/cf/d8" # Base 0D - Blue |
|
| 15 | + | set color05 "c4/a7/e7" # Base 0E - Magenta |
|
| 16 | + | set color06 "3e/8f/b0" # Base 0C - Cyan |
|
| 17 | + | set color07 "e0/de/f4" # Base 05 - White |
|
| 18 | + | set color08 "59/54/6d" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "d9/d7/e1" # Base 07 - Bright White |
|
| 26 | + | set color16 "eb/6f/92" # Base 09 |
|
| 27 | + | set color17 "b9/b9/bc" # Base 0F |
|
| 28 | + | set color18 "2a/27/3f" # Base 01 |
|
| 29 | + | set color19 "39/35/52" # Base 02 |
|
| 30 | + | set color20 "81/7c/9c" # Base 04 |
|
| 31 | + | set color21 "f5/f5/f7" # Base 06 |
|
| 32 | + | set color_foreground "e0/de/f4" # Base 05 |
|
| 33 | + | set color_background "23/21/36" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg e0def4 # foreground |
|
| 65 | + | __put_template_custom Ph 232136 # background |
|
| 66 | + | __put_template_custom Pi e0def4 # bold color |
|
| 67 | + | __put_template_custom Pj 393552 # selection color |
|
| 68 | + | __put_template_custom Pk e0def4 # selected text color |
|
| 69 | + | __put_template_custom Pl e0def4 # cursor |
|
| 70 | + | __put_template_custom Pm 232136 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "9ccfd8" blue |
|
| 86 | + | set -gx fish_color_quote "ea9a97" green |
|
| 87 | + | set -gx fish_color_redirection "f6c177" yellow |
|
| 88 | + | set -gx fish_color_end "3e8fb0" cyan |
|
| 89 | + | set -gx fish_color_error "ecebf0" red |
|
| 90 | + | set -gx fish_color_param "f5f5f7" cyan |
|
| 91 | + | set -gx fish_color_comment "59546d" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "e0def4" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f6c177" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "3e8fb0" cyan |
|
| 97 | + | set -gx fish_color_escape "3e8fb0" cyan |
|
| 98 | + | set -gx fish_color_cwd "ea9a97" green |
|
| 99 | + | set -gx fish_color_cwd_root "ecebf0" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "59546d" brblack |
|
| 102 | + | set -gx fish_color_user "ea9a97" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f6c177" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "e0def4" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "d9d7e1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "23" "21" "36" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background rose-pine-moon |
|
| 113 | + | set -U base16_fish_theme rose-pine-moon |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Rosé Pine scheme by Emilia Dunfelt <sayhi@dunfelt.se> |
|
| 4 | + | ||
| 5 | + | function base16-rose-pine -d "base16 Rosé Pine theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "19/17/24" # Base 00 - Black |
|
| 11 | + | set color01 "e2/e1/e7" # Base 08 - Red |
|
| 12 | + | set color02 "eb/bc/ba" # Base 0B - Green |
|
| 13 | + | set color03 "f6/c1/77" # Base 0A - Yellow |
|
| 14 | + | set color04 "9c/cf/d8" # Base 0D - Blue |
|
| 15 | + | set color05 "c4/a7/e7" # Base 0E - Magenta |
|
| 16 | + | set color06 "31/74/8f" # Base 0C - Cyan |
|
| 17 | + | set color07 "e0/de/f4" # Base 05 - White |
|
| 18 | + | set color08 "55/51/69" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "c5/c3/ce" # Base 07 - Bright White |
|
| 26 | + | set color16 "eb/6f/92" # Base 09 |
|
| 27 | + | set color17 "e5/e5/e5" # Base 0F |
|
| 28 | + | set color18 "1f/1d/2e" # Base 01 |
|
| 29 | + | set color19 "26/23/3a" # Base 02 |
|
| 30 | + | set color20 "6e/6a/86" # Base 04 |
|
| 31 | + | set color21 "f0/f0/f3" # Base 06 |
|
| 32 | + | set color_foreground "e0/de/f4" # Base 05 |
|
| 33 | + | set color_background "19/17/24" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg e0def4 # foreground |
|
| 65 | + | __put_template_custom Ph 191724 # background |
|
| 66 | + | __put_template_custom Pi e0def4 # bold color |
|
| 67 | + | __put_template_custom Pj 26233a # selection color |
|
| 68 | + | __put_template_custom Pk e0def4 # selected text color |
|
| 69 | + | __put_template_custom Pl e0def4 # cursor |
|
| 70 | + | __put_template_custom Pm 191724 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "9ccfd8" blue |
|
| 86 | + | set -gx fish_color_quote "ebbcba" green |
|
| 87 | + | set -gx fish_color_redirection "f6c177" yellow |
|
| 88 | + | set -gx fish_color_end "31748f" cyan |
|
| 89 | + | set -gx fish_color_error "e2e1e7" red |
|
| 90 | + | set -gx fish_color_param "f0f0f3" cyan |
|
| 91 | + | set -gx fish_color_comment "555169" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "e0def4" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f6c177" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "31748f" cyan |
|
| 97 | + | set -gx fish_color_escape "31748f" cyan |
|
| 98 | + | set -gx fish_color_cwd "ebbcba" green |
|
| 99 | + | set -gx fish_color_cwd_root "e2e1e7" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "555169" brblack |
|
| 102 | + | set -gx fish_color_user "ebbcba" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f6c177" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "e0def4" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "c5c3ce" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "19" "17" "24" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background rose-pine |
|
| 113 | + | set -U base16_fish_theme rose-pine |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Sagelight scheme by Carter Veldhuizen |
|
| 4 | + | ||
| 5 | + | function base16-sagelight -d "base16 Sagelight theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f8/f8/f8" # Base 00 - Black |
|
| 11 | + | set color01 "fa/84/80" # Base 08 - Red |
|
| 12 | + | set color02 "a0/d2/c8" # Base 0B - Green |
|
| 13 | + | set color03 "ff/dc/61" # Base 0A - Yellow |
|
| 14 | + | set color04 "a0/a7/d2" # Base 0D - Blue |
|
| 15 | + | set color05 "c8/a0/d2" # Base 0E - Magenta |
|
| 16 | + | set color06 "a2/d6/f5" # Base 0C - Cyan |
|
| 17 | + | set color07 "38/38/38" # Base 05 - White |
|
| 18 | + | set color08 "b8/b8/b8" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "18/18/18" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/aa/61" # Base 09 |
|
| 27 | + | set color17 "d2/b2/a0" # Base 0F |
|
| 28 | + | set color18 "e8/e8/e8" # Base 01 |
|
| 29 | + | set color19 "d8/d8/d8" # Base 02 |
|
| 30 | + | set color20 "58/58/58" # Base 04 |
|
| 31 | + | set color21 "28/28/28" # Base 06 |
|
| 32 | + | set color_foreground "38/38/38" # Base 05 |
|
| 33 | + | set color_background "f8/f8/f8" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 383838 # foreground |
|
| 65 | + | __put_template_custom Ph f8f8f8 # background |
|
| 66 | + | __put_template_custom Pi 383838 # bold color |
|
| 67 | + | __put_template_custom Pj d8d8d8 # selection color |
|
| 68 | + | __put_template_custom Pk 383838 # selected text color |
|
| 69 | + | __put_template_custom Pl 383838 # cursor |
|
| 70 | + | __put_template_custom Pm f8f8f8 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "a0a7d2" blue |
|
| 86 | + | set -gx fish_color_quote "a0d2c8" green |
|
| 87 | + | set -gx fish_color_redirection "ffdc61" yellow |
|
| 88 | + | set -gx fish_color_end "a2d6f5" cyan |
|
| 89 | + | set -gx fish_color_error "fa8480" red |
|
| 90 | + | set -gx fish_color_param "282828" cyan |
|
| 91 | + | set -gx fish_color_comment "b8b8b8" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "383838" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffdc61" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "a2d6f5" cyan |
|
| 97 | + | set -gx fish_color_escape "a2d6f5" cyan |
|
| 98 | + | set -gx fish_color_cwd "a0d2c8" green |
|
| 99 | + | set -gx fish_color_cwd_root "fa8480" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "b8b8b8" brblack |
|
| 102 | + | set -gx fish_color_user "a0d2c8" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffdc61" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "383838" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "181818" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f8" "f8" "f8" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background sagelight |
|
| 113 | + | set -U base16_fish_theme sagelight |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Sakura scheme by Misterio77 (http://github.com/Misterio77) |
|
| 4 | + | ||
| 5 | + | function base16-sakura -d "base16 Sakura theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fe/ed/f3" # Base 00 - Black |
|
| 11 | + | set color01 "df/2d/52" # Base 08 - Red |
|
| 12 | + | set color02 "2e/91/6d" # Base 0B - Green |
|
| 13 | + | set color03 "c2/94/61" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/6e/93" # Base 0D - Blue |
|
| 15 | + | set color05 "5e/21/80" # Base 0E - Magenta |
|
| 16 | + | set color06 "1d/89/91" # Base 0C - Cyan |
|
| 17 | + | set color07 "56/44/48" # Base 05 - White |
|
| 18 | + | set color08 "75/5f/64" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "33/29/2b" # Base 07 - Bright White |
|
| 26 | + | set color16 "f6/66/1e" # Base 09 |
|
| 27 | + | set color17 "ba/0d/35" # Base 0F |
|
| 28 | + | set color18 "f8/e2/e7" # Base 01 |
|
| 29 | + | set color19 "e0/cc/d1" # Base 02 |
|
| 30 | + | set color20 "66/50/55" # Base 04 |
|
| 31 | + | set color21 "42/38/3a" # Base 06 |
|
| 32 | + | set color_foreground "56/44/48" # Base 05 |
|
| 33 | + | set color_background "fe/ed/f3" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 564448 # foreground |
|
| 65 | + | __put_template_custom Ph feedf3 # background |
|
| 66 | + | __put_template_custom Pi 564448 # bold color |
|
| 67 | + | __put_template_custom Pj e0ccd1 # selection color |
|
| 68 | + | __put_template_custom Pk 564448 # selected text color |
|
| 69 | + | __put_template_custom Pl 564448 # cursor |
|
| 70 | + | __put_template_custom Pm feedf3 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "006e93" blue |
|
| 86 | + | set -gx fish_color_quote "2e916d" green |
|
| 87 | + | set -gx fish_color_redirection "c29461" yellow |
|
| 88 | + | set -gx fish_color_end "1d8991" cyan |
|
| 89 | + | set -gx fish_color_error "df2d52" red |
|
| 90 | + | set -gx fish_color_param "42383a" cyan |
|
| 91 | + | set -gx fish_color_comment "755f64" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "564448" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c29461" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1d8991" cyan |
|
| 97 | + | set -gx fish_color_escape "1d8991" cyan |
|
| 98 | + | set -gx fish_color_cwd "2e916d" green |
|
| 99 | + | set -gx fish_color_cwd_root "df2d52" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "755f64" brblack |
|
| 102 | + | set -gx fish_color_user "2e916d" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c29461" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "564448" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "33292b" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fe" "ed" "f3" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background sakura |
|
| 113 | + | set -U base16_fish_theme sakura |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Sandcastle scheme by George Essig (https://github.com/gessig) |
|
| 4 | + | ||
| 5 | + | function base16-sandcastle -d "base16 Sandcastle theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "28/2c/34" # Base 00 - Black |
|
| 11 | + | set color01 "83/a5/98" # Base 08 - Red |
|
| 12 | + | set color02 "52/8b/8b" # Base 0B - Green |
|
| 13 | + | set color03 "a0/7e/3b" # Base 0A - Yellow |
|
| 14 | + | set color04 "83/a5/98" # Base 0D - Blue |
|
| 15 | + | set color05 "d7/5f/5f" # Base 0E - Magenta |
|
| 16 | + | set color06 "83/a5/98" # Base 0C - Cyan |
|
| 17 | + | set color07 "a8/99/84" # Base 05 - White |
|
| 18 | + | set color08 "66/5c/54" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fd/f4/c1" # Base 07 - Bright White |
|
| 26 | + | set color16 "a0/7e/3b" # Base 09 |
|
| 27 | + | set color17 "a8/73/22" # Base 0F |
|
| 28 | + | set color18 "2c/32/3b" # Base 01 |
|
| 29 | + | set color19 "3e/44/51" # Base 02 |
|
| 30 | + | set color20 "92/83/74" # Base 04 |
|
| 31 | + | set color21 "d5/c4/a1" # Base 06 |
|
| 32 | + | set color_foreground "a8/99/84" # Base 05 |
|
| 33 | + | set color_background "28/2c/34" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a89984 # foreground |
|
| 65 | + | __put_template_custom Ph 282c34 # background |
|
| 66 | + | __put_template_custom Pi a89984 # bold color |
|
| 67 | + | __put_template_custom Pj 3e4451 # selection color |
|
| 68 | + | __put_template_custom Pk a89984 # selected text color |
|
| 69 | + | __put_template_custom Pl a89984 # cursor |
|
| 70 | + | __put_template_custom Pm 282c34 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "83a598" blue |
|
| 86 | + | set -gx fish_color_quote "528b8b" green |
|
| 87 | + | set -gx fish_color_redirection "a07e3b" yellow |
|
| 88 | + | set -gx fish_color_end "83a598" cyan |
|
| 89 | + | set -gx fish_color_error "83a598" red |
|
| 90 | + | set -gx fish_color_param "d5c4a1" cyan |
|
| 91 | + | set -gx fish_color_comment "665c54" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a89984" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a07e3b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "83a598" cyan |
|
| 97 | + | set -gx fish_color_escape "83a598" cyan |
|
| 98 | + | set -gx fish_color_cwd "528b8b" green |
|
| 99 | + | set -gx fish_color_cwd_root "83a598" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "665c54" brblack |
|
| 102 | + | set -gx fish_color_user "528b8b" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a07e3b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a89984" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fdf4c1" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "28" "2c" "34" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background sandcastle |
|
| 113 | + | set -U base16_fish_theme sandcastle |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Seti UI scheme by |
|
| 4 | + | ||
| 5 | + | function base16-seti -d "base16 Seti UI theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "15/17/18" # Base 00 - Black |
|
| 11 | + | set color01 "cd/3f/45" # Base 08 - Red |
|
| 12 | + | set color02 "9f/ca/56" # Base 0B - Green |
|
| 13 | + | set color03 "e6/cd/69" # Base 0A - Yellow |
|
| 14 | + | set color04 "55/b5/db" # Base 0D - Blue |
|
| 15 | + | set color05 "a0/74/c4" # Base 0E - Magenta |
|
| 16 | + | set color06 "55/db/be" # Base 0C - Cyan |
|
| 17 | + | set color07 "d6/d6/d6" # Base 05 - White |
|
| 18 | + | set color08 "41/53/5b" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "db/7b/55" # Base 09 |
|
| 27 | + | set color17 "8a/55/3f" # Base 0F |
|
| 28 | + | set color18 "28/2a/2b" # Base 01 |
|
| 29 | + | set color19 "3b/75/8c" # Base 02 |
|
| 30 | + | set color20 "43/a5/d5" # Base 04 |
|
| 31 | + | set color21 "ee/ee/ee" # Base 06 |
|
| 32 | + | set color_foreground "d6/d6/d6" # Base 05 |
|
| 33 | + | set color_background "15/17/18" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d6d6d6 # foreground |
|
| 65 | + | __put_template_custom Ph 151718 # background |
|
| 66 | + | __put_template_custom Pi d6d6d6 # bold color |
|
| 67 | + | __put_template_custom Pj 3b758c # selection color |
|
| 68 | + | __put_template_custom Pk d6d6d6 # selected text color |
|
| 69 | + | __put_template_custom Pl d6d6d6 # cursor |
|
| 70 | + | __put_template_custom Pm 151718 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "55b5db" blue |
|
| 86 | + | set -gx fish_color_quote "9fca56" green |
|
| 87 | + | set -gx fish_color_redirection "e6cd69" yellow |
|
| 88 | + | set -gx fish_color_end "55dbbe" cyan |
|
| 89 | + | set -gx fish_color_error "cd3f45" red |
|
| 90 | + | set -gx fish_color_param "eeeeee" cyan |
|
| 91 | + | set -gx fish_color_comment "41535b" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d6d6d6" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "e6cd69" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "55dbbe" cyan |
|
| 97 | + | set -gx fish_color_escape "55dbbe" cyan |
|
| 98 | + | set -gx fish_color_cwd "9fca56" green |
|
| 99 | + | set -gx fish_color_cwd_root "cd3f45" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "41535b" brblack |
|
| 102 | + | set -gx fish_color_user "9fca56" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "e6cd69" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d6d6d6" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "15" "17" "18" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background seti |
|
| 113 | + | set -U base16_fish_theme seti |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Shades of Purple scheme by Iolar Demartini Junior (http://github.com/demartini) based on Shades of Purple Theme (https://github.com/ahmadawais/shades-of-purple-vscode). |
|
| 4 | + | ||
| 5 | + | function base16-shades-of-purple -d "base16 Shades of Purple theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1e/1e/3f" # Base 00 - Black |
|
| 11 | + | set color01 "d9/04/29" # Base 08 - Red |
|
| 12 | + | set color02 "3a/d9/00" # Base 0B - Green |
|
| 13 | + | set color03 "ff/e7/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "69/43/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "ff/2c/70" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/c5/c7" # Base 0C - Cyan |
|
| 17 | + | set color07 "c7/c7/c7" # Base 05 - White |
|
| 18 | + | set color08 "80/80/80" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "f9/2a/1c" # Base 09 |
|
| 27 | + | set color17 "79/e8/fb" # Base 0F |
|
| 28 | + | set color18 "43/d4/26" # Base 01 |
|
| 29 | + | set color19 "f1/d0/00" # Base 02 |
|
| 30 | + | set color20 "68/71/ff" # Base 04 |
|
| 31 | + | set color21 "ff/77/ff" # Base 06 |
|
| 32 | + | set color_foreground "c7/c7/c7" # Base 05 |
|
| 33 | + | set color_background "1e/1e/3f" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c7c7c7 # foreground |
|
| 65 | + | __put_template_custom Ph 1e1e3f # background |
|
| 66 | + | __put_template_custom Pi c7c7c7 # bold color |
|
| 67 | + | __put_template_custom Pj f1d000 # selection color |
|
| 68 | + | __put_template_custom Pk c7c7c7 # selected text color |
|
| 69 | + | __put_template_custom Pl c7c7c7 # cursor |
|
| 70 | + | __put_template_custom Pm 1e1e3f # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6943ff" blue |
|
| 86 | + | set -gx fish_color_quote "3ad900" green |
|
| 87 | + | set -gx fish_color_redirection "ffe700" yellow |
|
| 88 | + | set -gx fish_color_end "00c5c7" cyan |
|
| 89 | + | set -gx fish_color_error "d90429" red |
|
| 90 | + | set -gx fish_color_param "ff77ff" cyan |
|
| 91 | + | set -gx fish_color_comment "808080" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c7c7c7" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffe700" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "00c5c7" cyan |
|
| 97 | + | set -gx fish_color_escape "00c5c7" cyan |
|
| 98 | + | set -gx fish_color_cwd "3ad900" green |
|
| 99 | + | set -gx fish_color_cwd_root "d90429" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "808080" brblack |
|
| 102 | + | set -gx fish_color_user "3ad900" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffe700" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c7c7c7" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1e" "1e" "3f" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background shades-of-purple |
|
| 113 | + | set -U base16_fish_theme shades-of-purple |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Shapeshifter scheme by Tyler Benziger (http://tybenz.com) |
|
| 4 | + | ||
| 5 | + | function base16-shapeshifter -d "base16 Shapeshifter theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f9/f9/f9" # Base 00 - Black |
|
| 11 | + | set color01 "e9/2f/2f" # Base 08 - Red |
|
| 12 | + | set color02 "0e/d8/39" # Base 0B - Green |
|
| 13 | + | set color03 "dd/dd/13" # Base 0A - Yellow |
|
| 14 | + | set color04 "3b/48/e3" # Base 0D - Blue |
|
| 15 | + | set color05 "f9/96/e2" # Base 0E - Magenta |
|
| 16 | + | set color06 "23/ed/da" # Base 0C - Cyan |
|
| 17 | + | set color07 "10/20/15" # Base 05 - White |
|
| 18 | + | set color08 "55/55/55" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "00/00/00" # Base 07 - Bright White |
|
| 26 | + | set color16 "e0/94/48" # Base 09 |
|
| 27 | + | set color17 "69/54/2d" # Base 0F |
|
| 28 | + | set color18 "e0/e0/e0" # Base 01 |
|
| 29 | + | set color19 "ab/ab/ab" # Base 02 |
|
| 30 | + | set color20 "34/34/34" # Base 04 |
|
| 31 | + | set color21 "04/04/04" # Base 06 |
|
| 32 | + | set color_foreground "10/20/15" # Base 05 |
|
| 33 | + | set color_background "f9/f9/f9" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 102015 # foreground |
|
| 65 | + | __put_template_custom Ph f9f9f9 # background |
|
| 66 | + | __put_template_custom Pi 102015 # bold color |
|
| 67 | + | __put_template_custom Pj ababab # selection color |
|
| 68 | + | __put_template_custom Pk 102015 # selected text color |
|
| 69 | + | __put_template_custom Pl 102015 # cursor |
|
| 70 | + | __put_template_custom Pm f9f9f9 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3b48e3" blue |
|
| 86 | + | set -gx fish_color_quote "0ed839" green |
|
| 87 | + | set -gx fish_color_redirection "dddd13" yellow |
|
| 88 | + | set -gx fish_color_end "23edda" cyan |
|
| 89 | + | set -gx fish_color_error "e92f2f" red |
|
| 90 | + | set -gx fish_color_param "040404" cyan |
|
| 91 | + | set -gx fish_color_comment "555555" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "102015" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "dddd13" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "23edda" cyan |
|
| 97 | + | set -gx fish_color_escape "23edda" cyan |
|
| 98 | + | set -gx fish_color_cwd "0ed839" green |
|
| 99 | + | set -gx fish_color_cwd_root "e92f2f" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "555555" brblack |
|
| 102 | + | set -gx fish_color_user "0ed839" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "dddd13" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "102015" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "000000" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f9" "f9" "f9" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background shapeshifter |
|
| 113 | + | set -U base16_fish_theme shapeshifter |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Silk Dark scheme by Gabriel Fontes (https://github.com/Misterio77) |
|
| 4 | + | ||
| 5 | + | function base16-silk-dark -d "base16 Silk Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "0e/3c/46" # Base 00 - Black |
|
| 11 | + | set color01 "fb/69/53" # Base 08 - Red |
|
| 12 | + | set color02 "73/d8/ad" # Base 0B - Green |
|
| 13 | + | set color03 "fc/e3/80" # Base 0A - Yellow |
|
| 14 | + | set color04 "46/bd/dd" # Base 0D - Blue |
|
| 15 | + | set color05 "75/6b/8a" # Base 0E - Magenta |
|
| 16 | + | set color06 "3f/b2/b9" # Base 0C - Cyan |
|
| 17 | + | set color07 "c7/db/dd" # Base 05 - White |
|
| 18 | + | set color08 "58/70/73" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "d2/fa/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "fc/ab/74" # Base 09 |
|
| 27 | + | set color17 "9b/64/7b" # Base 0F |
|
| 28 | + | set color18 "1d/49/4e" # Base 01 |
|
| 29 | + | set color19 "2a/50/54" # Base 02 |
|
| 30 | + | set color20 "9d/c8/cd" # Base 04 |
|
| 31 | + | set color21 "cb/f2/f7" # Base 06 |
|
| 32 | + | set color_foreground "c7/db/dd" # Base 05 |
|
| 33 | + | set color_background "0e/3c/46" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c7dbdd # foreground |
|
| 65 | + | __put_template_custom Ph 0e3c46 # background |
|
| 66 | + | __put_template_custom Pi c7dbdd # bold color |
|
| 67 | + | __put_template_custom Pj 2a5054 # selection color |
|
| 68 | + | __put_template_custom Pk c7dbdd # selected text color |
|
| 69 | + | __put_template_custom Pl c7dbdd # cursor |
|
| 70 | + | __put_template_custom Pm 0e3c46 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "46bddd" blue |
|
| 86 | + | set -gx fish_color_quote "73d8ad" green |
|
| 87 | + | set -gx fish_color_redirection "fce380" yellow |
|
| 88 | + | set -gx fish_color_end "3fb2b9" cyan |
|
| 89 | + | set -gx fish_color_error "fb6953" red |
|
| 90 | + | set -gx fish_color_param "cbf2f7" cyan |
|
| 91 | + | set -gx fish_color_comment "587073" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c7dbdd" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fce380" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "3fb2b9" cyan |
|
| 97 | + | set -gx fish_color_escape "3fb2b9" cyan |
|
| 98 | + | set -gx fish_color_cwd "73d8ad" green |
|
| 99 | + | set -gx fish_color_cwd_root "fb6953" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "587073" brblack |
|
| 102 | + | set -gx fish_color_user "73d8ad" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fce380" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c7dbdd" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "d2faff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "0e" "3c" "46" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background silk-dark |
|
| 113 | + | set -U base16_fish_theme silk-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Silk Light scheme by Gabriel Fontes (https://github.com/Misterio77) |
|
| 4 | + | ||
| 5 | + | function base16-silk-light -d "base16 Silk Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "e9/f1/ef" # Base 00 - Black |
|
| 11 | + | set color01 "cf/43/2e" # Base 08 - Red |
|
| 12 | + | set color02 "6c/a3/8c" # Base 0B - Green |
|
| 13 | + | set color03 "cf/ad/25" # Base 0A - Yellow |
|
| 14 | + | set color04 "39/aa/c9" # Base 0D - Blue |
|
| 15 | + | set color05 "6e/65/82" # Base 0E - Magenta |
|
| 16 | + | set color06 "32/9c/a2" # Base 0C - Cyan |
|
| 17 | + | set color07 "38/51/56" # Base 05 - White |
|
| 18 | + | set color08 "5c/78/7b" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "d2/fa/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "d2/7f/46" # Base 09 |
|
| 27 | + | set color17 "86/53/69" # Base 0F |
|
| 28 | + | set color18 "cc/d4/d3" # Base 01 |
|
| 29 | + | set color19 "90/b7/b6" # Base 02 |
|
| 30 | + | set color20 "4b/5b/5f" # Base 04 |
|
| 31 | + | set color21 "0e/3c/46" # Base 06 |
|
| 32 | + | set color_foreground "38/51/56" # Base 05 |
|
| 33 | + | set color_background "e9/f1/ef" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 385156 # foreground |
|
| 65 | + | __put_template_custom Ph e9f1ef # background |
|
| 66 | + | __put_template_custom Pi 385156 # bold color |
|
| 67 | + | __put_template_custom Pj 90b7b6 # selection color |
|
| 68 | + | __put_template_custom Pk 385156 # selected text color |
|
| 69 | + | __put_template_custom Pl 385156 # cursor |
|
| 70 | + | __put_template_custom Pm e9f1ef # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "39aac9" blue |
|
| 86 | + | set -gx fish_color_quote "6ca38c" green |
|
| 87 | + | set -gx fish_color_redirection "cfad25" yellow |
|
| 88 | + | set -gx fish_color_end "329ca2" cyan |
|
| 89 | + | set -gx fish_color_error "cf432e" red |
|
| 90 | + | set -gx fish_color_param "0e3c46" cyan |
|
| 91 | + | set -gx fish_color_comment "5c787b" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "385156" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "cfad25" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "329ca2" cyan |
|
| 97 | + | set -gx fish_color_escape "329ca2" cyan |
|
| 98 | + | set -gx fish_color_cwd "6ca38c" green |
|
| 99 | + | set -gx fish_color_cwd_root "cf432e" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "5c787b" brblack |
|
| 102 | + | set -gx fish_color_user "6ca38c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "cfad25" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "385156" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "d2faff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "e9" "f1" "ef" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background silk-light |
|
| 113 | + | set -U base16_fish_theme silk-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Snazzy scheme by Chawye Hsu (https://github.com/chawyehsu) based on Hyper Snazzy Theme (https://github.com/sindresorhus/hyper-snazzy) |
|
| 4 | + | ||
| 5 | + | function base16-snazzy -d "base16 Snazzy theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "28/2a/36" # Base 00 - Black |
|
| 11 | + | set color01 "ff/5c/57" # Base 08 - Red |
|
| 12 | + | set color02 "5a/f7/8e" # Base 0B - Green |
|
| 13 | + | set color03 "f3/f9/9d" # Base 0A - Yellow |
|
| 14 | + | set color04 "57/c7/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "ff/6a/c1" # Base 0E - Magenta |
|
| 16 | + | set color06 "9a/ed/fe" # Base 0C - Cyan |
|
| 17 | + | set color07 "e2/e4/e5" # Base 05 - White |
|
| 18 | + | set color08 "78/78/7e" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f1/f1/f0" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/9f/43" # Base 09 |
|
| 27 | + | set color17 "b2/64/3c" # Base 0F |
|
| 28 | + | set color18 "34/35/3e" # Base 01 |
|
| 29 | + | set color19 "43/45/4f" # Base 02 |
|
| 30 | + | set color20 "a5/a5/a9" # Base 04 |
|
| 31 | + | set color21 "ef/f0/eb" # Base 06 |
|
| 32 | + | set color_foreground "e2/e4/e5" # Base 05 |
|
| 33 | + | set color_background "28/2a/36" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg e2e4e5 # foreground |
|
| 65 | + | __put_template_custom Ph 282a36 # background |
|
| 66 | + | __put_template_custom Pi e2e4e5 # bold color |
|
| 67 | + | __put_template_custom Pj 43454f # selection color |
|
| 68 | + | __put_template_custom Pk e2e4e5 # selected text color |
|
| 69 | + | __put_template_custom Pl e2e4e5 # cursor |
|
| 70 | + | __put_template_custom Pm 282a36 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "57c7ff" blue |
|
| 86 | + | set -gx fish_color_quote "5af78e" green |
|
| 87 | + | set -gx fish_color_redirection "f3f99d" yellow |
|
| 88 | + | set -gx fish_color_end "9aedfe" cyan |
|
| 89 | + | set -gx fish_color_error "ff5c57" red |
|
| 90 | + | set -gx fish_color_param "eff0eb" cyan |
|
| 91 | + | set -gx fish_color_comment "78787e" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "e2e4e5" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f3f99d" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "9aedfe" cyan |
|
| 97 | + | set -gx fish_color_escape "9aedfe" cyan |
|
| 98 | + | set -gx fish_color_cwd "5af78e" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff5c57" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "78787e" brblack |
|
| 102 | + | set -gx fish_color_user "5af78e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f3f99d" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "e2e4e5" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f1f1f0" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "28" "2a" "36" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background snazzy |
|
| 113 | + | set -U base16_fish_theme snazzy |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Solar Flare Light scheme by Chuck Harmston (https://chuck.harmston.ch) |
|
| 4 | + | ||
| 5 | + | function base16-solarflare-light -d "base16 Solar Flare Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f5/f7/fa" # Base 00 - Black |
|
| 11 | + | set color01 "ef/52/53" # Base 08 - Red |
|
| 12 | + | set color02 "7c/c8/44" # Base 0B - Green |
|
| 13 | + | set color03 "e4/b5/1c" # Base 0A - Yellow |
|
| 14 | + | set color04 "33/b5/e1" # Base 0D - Blue |
|
| 15 | + | set color05 "a3/63/d5" # Base 0E - Magenta |
|
| 16 | + | set color06 "52/cb/b0" # Base 0C - Cyan |
|
| 17 | + | set color07 "58/68/75" # Base 05 - White |
|
| 18 | + | set color08 "85/93/9e" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "18/26/2f" # Base 07 - Bright White |
|
| 26 | + | set color16 "e6/6b/2b" # Base 09 |
|
| 27 | + | set color17 "d7/3c/9a" # Base 0F |
|
| 28 | + | set color18 "e8/e9/ed" # Base 01 |
|
| 29 | + | set color19 "a6/af/b8" # Base 02 |
|
| 30 | + | set color20 "66/75/81" # Base 04 |
|
| 31 | + | set color21 "22/2e/38" # Base 06 |
|
| 32 | + | set color_foreground "58/68/75" # Base 05 |
|
| 33 | + | set color_background "f5/f7/fa" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 586875 # foreground |
|
| 65 | + | __put_template_custom Ph f5f7fa # background |
|
| 66 | + | __put_template_custom Pi 586875 # bold color |
|
| 67 | + | __put_template_custom Pj a6afb8 # selection color |
|
| 68 | + | __put_template_custom Pk 586875 # selected text color |
|
| 69 | + | __put_template_custom Pl 586875 # cursor |
|
| 70 | + | __put_template_custom Pm f5f7fa # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "33b5e1" blue |
|
| 86 | + | set -gx fish_color_quote "7cc844" green |
|
| 87 | + | set -gx fish_color_redirection "e4b51c" yellow |
|
| 88 | + | set -gx fish_color_end "52cbb0" cyan |
|
| 89 | + | set -gx fish_color_error "ef5253" red |
|
| 90 | + | set -gx fish_color_param "222e38" cyan |
|
| 91 | + | set -gx fish_color_comment "85939e" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "586875" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "e4b51c" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "52cbb0" cyan |
|
| 97 | + | set -gx fish_color_escape "52cbb0" cyan |
|
| 98 | + | set -gx fish_color_cwd "7cc844" green |
|
| 99 | + | set -gx fish_color_cwd_root "ef5253" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "85939e" brblack |
|
| 102 | + | set -gx fish_color_user "7cc844" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "e4b51c" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "586875" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "18262f" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f5" "f7" "fa" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background solarflare-light |
|
| 113 | + | set -U base16_fish_theme solarflare-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Solar Flare scheme by Chuck Harmston (https://chuck.harmston.ch) |
|
| 4 | + | ||
| 5 | + | function base16-solarflare -d "base16 Solar Flare theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "18/26/2f" # Base 00 - Black |
|
| 11 | + | set color01 "ef/52/53" # Base 08 - Red |
|
| 12 | + | set color02 "7c/c8/44" # Base 0B - Green |
|
| 13 | + | set color03 "e4/b5/1c" # Base 0A - Yellow |
|
| 14 | + | set color04 "33/b5/e1" # Base 0D - Blue |
|
| 15 | + | set color05 "a3/63/d5" # Base 0E - Magenta |
|
| 16 | + | set color06 "52/cb/b0" # Base 0C - Cyan |
|
| 17 | + | set color07 "a6/af/b8" # Base 05 - White |
|
| 18 | + | set color08 "66/75/81" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f5/f7/fa" # Base 07 - Bright White |
|
| 26 | + | set color16 "e6/6b/2b" # Base 09 |
|
| 27 | + | set color17 "d7/3c/9a" # Base 0F |
|
| 28 | + | set color18 "22/2e/38" # Base 01 |
|
| 29 | + | set color19 "58/68/75" # Base 02 |
|
| 30 | + | set color20 "85/93/9e" # Base 04 |
|
| 31 | + | set color21 "e8/e9/ed" # Base 06 |
|
| 32 | + | set color_foreground "a6/af/b8" # Base 05 |
|
| 33 | + | set color_background "18/26/2f" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a6afb8 # foreground |
|
| 65 | + | __put_template_custom Ph 18262f # background |
|
| 66 | + | __put_template_custom Pi a6afb8 # bold color |
|
| 67 | + | __put_template_custom Pj 586875 # selection color |
|
| 68 | + | __put_template_custom Pk a6afb8 # selected text color |
|
| 69 | + | __put_template_custom Pl a6afb8 # cursor |
|
| 70 | + | __put_template_custom Pm 18262f # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "33b5e1" blue |
|
| 86 | + | set -gx fish_color_quote "7cc844" green |
|
| 87 | + | set -gx fish_color_redirection "e4b51c" yellow |
|
| 88 | + | set -gx fish_color_end "52cbb0" cyan |
|
| 89 | + | set -gx fish_color_error "ef5253" red |
|
| 90 | + | set -gx fish_color_param "e8e9ed" cyan |
|
| 91 | + | set -gx fish_color_comment "667581" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a6afb8" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "e4b51c" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "52cbb0" cyan |
|
| 97 | + | set -gx fish_color_escape "52cbb0" cyan |
|
| 98 | + | set -gx fish_color_cwd "7cc844" green |
|
| 99 | + | set -gx fish_color_cwd_root "ef5253" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "667581" brblack |
|
| 102 | + | set -gx fish_color_user "7cc844" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "e4b51c" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a6afb8" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f5f7fa" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "18" "26" "2f" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background solarflare |
|
| 113 | + | set -U base16_fish_theme solarflare |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Solarized Dark scheme by Ethan Schoonover (modified by aramisgithub) |
|
| 4 | + | ||
| 5 | + | function base16-solarized-dark -d "base16 Solarized Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/2b/36" # Base 00 - Black |
|
| 11 | + | set color01 "dc/32/2f" # Base 08 - Red |
|
| 12 | + | set color02 "85/99/00" # Base 0B - Green |
|
| 13 | + | set color03 "b5/89/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "26/8b/d2" # Base 0D - Blue |
|
| 15 | + | set color05 "6c/71/c4" # Base 0E - Magenta |
|
| 16 | + | set color06 "2a/a1/98" # Base 0C - Cyan |
|
| 17 | + | set color07 "93/a1/a1" # Base 05 - White |
|
| 18 | + | set color08 "65/7b/83" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fd/f6/e3" # Base 07 - Bright White |
|
| 26 | + | set color16 "cb/4b/16" # Base 09 |
|
| 27 | + | set color17 "d3/36/82" # Base 0F |
|
| 28 | + | set color18 "07/36/42" # Base 01 |
|
| 29 | + | set color19 "58/6e/75" # Base 02 |
|
| 30 | + | set color20 "83/94/96" # Base 04 |
|
| 31 | + | set color21 "ee/e8/d5" # Base 06 |
|
| 32 | + | set color_foreground "93/a1/a1" # Base 05 |
|
| 33 | + | set color_background "00/2b/36" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 93a1a1 # foreground |
|
| 65 | + | __put_template_custom Ph 002b36 # background |
|
| 66 | + | __put_template_custom Pi 93a1a1 # bold color |
|
| 67 | + | __put_template_custom Pj 586e75 # selection color |
|
| 68 | + | __put_template_custom Pk 93a1a1 # selected text color |
|
| 69 | + | __put_template_custom Pl 93a1a1 # cursor |
|
| 70 | + | __put_template_custom Pm 002b36 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "268bd2" blue |
|
| 86 | + | set -gx fish_color_quote "859900" green |
|
| 87 | + | set -gx fish_color_redirection "b58900" yellow |
|
| 88 | + | set -gx fish_color_end "2aa198" cyan |
|
| 89 | + | set -gx fish_color_error "dc322f" red |
|
| 90 | + | set -gx fish_color_param "eee8d5" cyan |
|
| 91 | + | set -gx fish_color_comment "657b83" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "93a1a1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "b58900" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "2aa198" cyan |
|
| 97 | + | set -gx fish_color_escape "2aa198" cyan |
|
| 98 | + | set -gx fish_color_cwd "859900" green |
|
| 99 | + | set -gx fish_color_cwd_root "dc322f" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "657b83" brblack |
|
| 102 | + | set -gx fish_color_user "859900" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "b58900" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "93a1a1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fdf6e3" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "2b" "36" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background solarized-dark |
|
| 113 | + | set -U base16_fish_theme solarized-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Solarized Light scheme by Ethan Schoonover (modified by aramisgithub) |
|
| 4 | + | ||
| 5 | + | function base16-solarized-light -d "base16 Solarized Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fd/f6/e3" # Base 00 - Black |
|
| 11 | + | set color01 "dc/32/2f" # Base 08 - Red |
|
| 12 | + | set color02 "85/99/00" # Base 0B - Green |
|
| 13 | + | set color03 "b5/89/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "26/8b/d2" # Base 0D - Blue |
|
| 15 | + | set color05 "6c/71/c4" # Base 0E - Magenta |
|
| 16 | + | set color06 "2a/a1/98" # Base 0C - Cyan |
|
| 17 | + | set color07 "58/6e/75" # Base 05 - White |
|
| 18 | + | set color08 "83/94/96" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "00/2b/36" # Base 07 - Bright White |
|
| 26 | + | set color16 "cb/4b/16" # Base 09 |
|
| 27 | + | set color17 "d3/36/82" # Base 0F |
|
| 28 | + | set color18 "ee/e8/d5" # Base 01 |
|
| 29 | + | set color19 "93/a1/a1" # Base 02 |
|
| 30 | + | set color20 "65/7b/83" # Base 04 |
|
| 31 | + | set color21 "07/36/42" # Base 06 |
|
| 32 | + | set color_foreground "58/6e/75" # Base 05 |
|
| 33 | + | set color_background "fd/f6/e3" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 586e75 # foreground |
|
| 65 | + | __put_template_custom Ph fdf6e3 # background |
|
| 66 | + | __put_template_custom Pi 586e75 # bold color |
|
| 67 | + | __put_template_custom Pj 93a1a1 # selection color |
|
| 68 | + | __put_template_custom Pk 586e75 # selected text color |
|
| 69 | + | __put_template_custom Pl 586e75 # cursor |
|
| 70 | + | __put_template_custom Pm fdf6e3 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "268bd2" blue |
|
| 86 | + | set -gx fish_color_quote "859900" green |
|
| 87 | + | set -gx fish_color_redirection "b58900" yellow |
|
| 88 | + | set -gx fish_color_end "2aa198" cyan |
|
| 89 | + | set -gx fish_color_error "dc322f" red |
|
| 90 | + | set -gx fish_color_param "073642" cyan |
|
| 91 | + | set -gx fish_color_comment "839496" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "586e75" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "b58900" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "2aa198" cyan |
|
| 97 | + | set -gx fish_color_escape "2aa198" cyan |
|
| 98 | + | set -gx fish_color_cwd "859900" green |
|
| 99 | + | set -gx fish_color_cwd_root "dc322f" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "839496" brblack |
|
| 102 | + | set -gx fish_color_user "859900" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "b58900" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "586e75" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "002b36" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fd" "f6" "e3" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background solarized-light |
|
| 113 | + | set -U base16_fish_theme solarized-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Spacemacs scheme by Nasser Alshammari (https://github.com/nashamri/spacemacs-theme) |
|
| 4 | + | ||
| 5 | + | function base16-spacemacs -d "base16 Spacemacs theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1f/20/22" # Base 00 - Black |
|
| 11 | + | set color01 "f2/24/1f" # Base 08 - Red |
|
| 12 | + | set color02 "67/b1/1d" # Base 0B - Green |
|
| 13 | + | set color03 "b1/95/1d" # Base 0A - Yellow |
|
| 14 | + | set color04 "4f/97/d7" # Base 0D - Blue |
|
| 15 | + | set color05 "a3/1d/b1" # Base 0E - Magenta |
|
| 16 | + | set color06 "2d/95/74" # Base 0C - Cyan |
|
| 17 | + | set color07 "a3/a3/a3" # Base 05 - White |
|
| 18 | + | set color08 "58/58/58" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f8/f8/f8" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/a5/00" # Base 09 |
|
| 27 | + | set color17 "b0/30/60" # Base 0F |
|
| 28 | + | set color18 "28/28/28" # Base 01 |
|
| 29 | + | set color19 "44/41/55" # Base 02 |
|
| 30 | + | set color20 "b8/b8/b8" # Base 04 |
|
| 31 | + | set color21 "e8/e8/e8" # Base 06 |
|
| 32 | + | set color_foreground "a3/a3/a3" # Base 05 |
|
| 33 | + | set color_background "1f/20/22" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a3a3a3 # foreground |
|
| 65 | + | __put_template_custom Ph 1f2022 # background |
|
| 66 | + | __put_template_custom Pi a3a3a3 # bold color |
|
| 67 | + | __put_template_custom Pj 444155 # selection color |
|
| 68 | + | __put_template_custom Pk a3a3a3 # selected text color |
|
| 69 | + | __put_template_custom Pl a3a3a3 # cursor |
|
| 70 | + | __put_template_custom Pm 1f2022 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "4f97d7" blue |
|
| 86 | + | set -gx fish_color_quote "67b11d" green |
|
| 87 | + | set -gx fish_color_redirection "b1951d" yellow |
|
| 88 | + | set -gx fish_color_end "2d9574" cyan |
|
| 89 | + | set -gx fish_color_error "f2241f" red |
|
| 90 | + | set -gx fish_color_param "e8e8e8" cyan |
|
| 91 | + | set -gx fish_color_comment "585858" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a3a3a3" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "b1951d" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "2d9574" cyan |
|
| 97 | + | set -gx fish_color_escape "2d9574" cyan |
|
| 98 | + | set -gx fish_color_cwd "67b11d" green |
|
| 99 | + | set -gx fish_color_cwd_root "f2241f" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "585858" brblack |
|
| 102 | + | set -gx fish_color_user "67b11d" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "b1951d" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a3a3a3" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f8f8f8" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1f" "20" "22" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background spacemacs |
|
| 113 | + | set -U base16_fish_theme spacemacs |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # summercamp scheme by zoe firi (zoefiri.github.io) |
|
| 4 | + | ||
| 5 | + | function base16-summercamp -d "base16 summercamp theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1c/18/10" # Base 00 - Black |
|
| 11 | + | set color01 "e3/51/42" # Base 08 - Red |
|
| 12 | + | set color02 "5c/eb/5a" # Base 0B - Green |
|
| 13 | + | set color03 "f2/ff/27" # Base 0A - Yellow |
|
| 14 | + | set color04 "48/9b/f0" # Base 0D - Blue |
|
| 15 | + | set color05 "ff/80/80" # Base 0E - Magenta |
|
| 16 | + | set color06 "5a/eb/bc" # Base 0C - Cyan |
|
| 17 | + | set color07 "73/6e/55" # Base 05 - White |
|
| 18 | + | set color08 "50/4b/38" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f8/f5/de" # Base 07 - Bright White |
|
| 26 | + | set color16 "fb/a1/1b" # Base 09 |
|
| 27 | + | set color17 "f6/9b/e7" # Base 0F |
|
| 28 | + | set color18 "2a/26/1c" # Base 01 |
|
| 29 | + | set color19 "3a/35/27" # Base 02 |
|
| 30 | + | set color20 "5f/5b/45" # Base 04 |
|
| 31 | + | set color21 "ba/b6/96" # Base 06 |
|
| 32 | + | set color_foreground "73/6e/55" # Base 05 |
|
| 33 | + | set color_background "1c/18/10" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 736e55 # foreground |
|
| 65 | + | __put_template_custom Ph 1c1810 # background |
|
| 66 | + | __put_template_custom Pi 736e55 # bold color |
|
| 67 | + | __put_template_custom Pj 3a3527 # selection color |
|
| 68 | + | __put_template_custom Pk 736e55 # selected text color |
|
| 69 | + | __put_template_custom Pl 736e55 # cursor |
|
| 70 | + | __put_template_custom Pm 1c1810 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "489bf0" blue |
|
| 86 | + | set -gx fish_color_quote "5ceb5a" green |
|
| 87 | + | set -gx fish_color_redirection "f2ff27" yellow |
|
| 88 | + | set -gx fish_color_end "5aebbc" cyan |
|
| 89 | + | set -gx fish_color_error "e35142" red |
|
| 90 | + | set -gx fish_color_param "bab696" cyan |
|
| 91 | + | set -gx fish_color_comment "504b38" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "736e55" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f2ff27" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "5aebbc" cyan |
|
| 97 | + | set -gx fish_color_escape "5aebbc" cyan |
|
| 98 | + | set -gx fish_color_cwd "5ceb5a" green |
|
| 99 | + | set -gx fish_color_cwd_root "e35142" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "504b38" brblack |
|
| 102 | + | set -gx fish_color_user "5ceb5a" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f2ff27" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "736e55" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f8f5de" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1c" "18" "10" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background summercamp |
|
| 113 | + | set -U base16_fish_theme summercamp |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Summerfruit Dark scheme by Christopher Corley (http://christop.club/) |
|
| 4 | + | ||
| 5 | + | function base16-summerfruit-dark -d "base16 Summerfruit Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "15/15/15" # Base 00 - Black |
|
| 11 | + | set color01 "ff/00/86" # Base 08 - Red |
|
| 12 | + | set color02 "00/c9/18" # Base 0B - Green |
|
| 13 | + | set color03 "ab/a8/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "37/77/e6" # Base 0D - Blue |
|
| 15 | + | set color05 "ad/00/a1" # Base 0E - Magenta |
|
| 16 | + | set color06 "1f/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "d0/d0/d0" # Base 05 - White |
|
| 18 | + | set color08 "50/50/50" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "fd/89/00" # Base 09 |
|
| 27 | + | set color17 "cc/66/33" # Base 0F |
|
| 28 | + | set color18 "20/20/20" # Base 01 |
|
| 29 | + | set color19 "30/30/30" # Base 02 |
|
| 30 | + | set color20 "b0/b0/b0" # Base 04 |
|
| 31 | + | set color21 "e0/e0/e0" # Base 06 |
|
| 32 | + | set color_foreground "d0/d0/d0" # Base 05 |
|
| 33 | + | set color_background "15/15/15" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d0d0d0 # foreground |
|
| 65 | + | __put_template_custom Ph 151515 # background |
|
| 66 | + | __put_template_custom Pi d0d0d0 # bold color |
|
| 67 | + | __put_template_custom Pj 303030 # selection color |
|
| 68 | + | __put_template_custom Pk d0d0d0 # selected text color |
|
| 69 | + | __put_template_custom Pl d0d0d0 # cursor |
|
| 70 | + | __put_template_custom Pm 151515 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3777e6" blue |
|
| 86 | + | set -gx fish_color_quote "00c918" green |
|
| 87 | + | set -gx fish_color_redirection "aba800" yellow |
|
| 88 | + | set -gx fish_color_end "1faaaa" cyan |
|
| 89 | + | set -gx fish_color_error "ff0086" red |
|
| 90 | + | set -gx fish_color_param "e0e0e0" cyan |
|
| 91 | + | set -gx fish_color_comment "505050" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d0d0d0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "aba800" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1faaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "1faaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "00c918" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff0086" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "505050" brblack |
|
| 102 | + | set -gx fish_color_user "00c918" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "aba800" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d0d0d0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "15" "15" "15" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background summerfruit-dark |
|
| 113 | + | set -U base16_fish_theme summerfruit-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Summerfruit Light scheme by Christopher Corley (http://christop.club/) |
|
| 4 | + | ||
| 5 | + | function base16-summerfruit-light -d "base16 Summerfruit Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "ff/ff/ff" # Base 00 - Black |
|
| 11 | + | set color01 "ff/00/86" # Base 08 - Red |
|
| 12 | + | set color02 "00/c9/18" # Base 0B - Green |
|
| 13 | + | set color03 "ab/a8/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "37/77/e6" # Base 0D - Blue |
|
| 15 | + | set color05 "ad/00/a1" # Base 0E - Magenta |
|
| 16 | + | set color06 "1f/aa/aa" # Base 0C - Cyan |
|
| 17 | + | set color07 "10/10/10" # Base 05 - White |
|
| 18 | + | set color08 "b0/b0/b0" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "20/20/20" # Base 07 - Bright White |
|
| 26 | + | set color16 "fd/89/00" # Base 09 |
|
| 27 | + | set color17 "cc/66/33" # Base 0F |
|
| 28 | + | set color18 "e0/e0/e0" # Base 01 |
|
| 29 | + | set color19 "d0/d0/d0" # Base 02 |
|
| 30 | + | set color20 "00/00/00" # Base 04 |
|
| 31 | + | set color21 "15/15/15" # Base 06 |
|
| 32 | + | set color_foreground "10/10/10" # Base 05 |
|
| 33 | + | set color_background "ff/ff/ff" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 101010 # foreground |
|
| 65 | + | __put_template_custom Ph ffffff # background |
|
| 66 | + | __put_template_custom Pi 101010 # bold color |
|
| 67 | + | __put_template_custom Pj d0d0d0 # selection color |
|
| 68 | + | __put_template_custom Pk 101010 # selected text color |
|
| 69 | + | __put_template_custom Pl 101010 # cursor |
|
| 70 | + | __put_template_custom Pm ffffff # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3777e6" blue |
|
| 86 | + | set -gx fish_color_quote "00c918" green |
|
| 87 | + | set -gx fish_color_redirection "aba800" yellow |
|
| 88 | + | set -gx fish_color_end "1faaaa" cyan |
|
| 89 | + | set -gx fish_color_error "ff0086" red |
|
| 90 | + | set -gx fish_color_param "151515" cyan |
|
| 91 | + | set -gx fish_color_comment "b0b0b0" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "101010" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "aba800" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "1faaaa" cyan |
|
| 97 | + | set -gx fish_color_escape "1faaaa" cyan |
|
| 98 | + | set -gx fish_color_cwd "00c918" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff0086" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "b0b0b0" brblack |
|
| 102 | + | set -gx fish_color_user "00c918" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "aba800" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "101010" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "202020" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "ff" "ff" "ff" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background summerfruit-light |
|
| 113 | + | set -U base16_fish_theme summerfruit-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Synth Midnight Terminal Dark scheme by Michaël Ball (http://github.com/michael-ball/) |
|
| 4 | + | ||
| 5 | + | function base16-synth-midnight-dark -d "base16 Synth Midnight Terminal Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "05/06/08" # Base 00 - Black |
|
| 11 | + | set color01 "b5/3b/50" # Base 08 - Red |
|
| 12 | + | set color02 "06/ea/61" # Base 0B - Green |
|
| 13 | + | set color03 "c9/d3/64" # Base 0A - Yellow |
|
| 14 | + | set color04 "03/ae/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "ea/5c/e2" # Base 0E - Magenta |
|
| 16 | + | set color06 "42/ff/f9" # Base 0C - Cyan |
|
| 17 | + | set color07 "c1/c3/c4" # Base 05 - White |
|
| 18 | + | set color08 "47/48/49" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "dd/df/e0" # Base 07 - Bright White |
|
| 26 | + | set color16 "ea/77/0d" # Base 09 |
|
| 27 | + | set color17 "cd/63/20" # Base 0F |
|
| 28 | + | set color18 "1a/1b/1c" # Base 01 |
|
| 29 | + | set color19 "28/29/2a" # Base 02 |
|
| 30 | + | set color20 "a3/a5/a6" # Base 04 |
|
| 31 | + | set color21 "cf/d1/d2" # Base 06 |
|
| 32 | + | set color_foreground "c1/c3/c4" # Base 05 |
|
| 33 | + | set color_background "05/06/08" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c1c3c4 # foreground |
|
| 65 | + | __put_template_custom Ph 050608 # background |
|
| 66 | + | __put_template_custom Pi c1c3c4 # bold color |
|
| 67 | + | __put_template_custom Pj 28292a # selection color |
|
| 68 | + | __put_template_custom Pk c1c3c4 # selected text color |
|
| 69 | + | __put_template_custom Pl c1c3c4 # cursor |
|
| 70 | + | __put_template_custom Pm 050608 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "03aeff" blue |
|
| 86 | + | set -gx fish_color_quote "06ea61" green |
|
| 87 | + | set -gx fish_color_redirection "c9d364" yellow |
|
| 88 | + | set -gx fish_color_end "42fff9" cyan |
|
| 89 | + | set -gx fish_color_error "b53b50" red |
|
| 90 | + | set -gx fish_color_param "cfd1d2" cyan |
|
| 91 | + | set -gx fish_color_comment "474849" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c1c3c4" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c9d364" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "42fff9" cyan |
|
| 97 | + | set -gx fish_color_escape "42fff9" cyan |
|
| 98 | + | set -gx fish_color_cwd "06ea61" green |
|
| 99 | + | set -gx fish_color_cwd_root "b53b50" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "474849" brblack |
|
| 102 | + | set -gx fish_color_user "06ea61" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c9d364" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c1c3c4" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "dddfe0" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "05" "06" "08" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background synth-midnight-dark |
|
| 113 | + | set -U base16_fish_theme synth-midnight-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Synth Midnight Terminal Light scheme by Michaël Ball (http://github.com/michael-ball/) |
|
| 4 | + | ||
| 5 | + | function base16-synth-midnight-light -d "base16 Synth Midnight Terminal Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "dd/df/e0" # Base 00 - Black |
|
| 11 | + | set color01 "b5/3b/50" # Base 08 - Red |
|
| 12 | + | set color02 "06/ea/61" # Base 0B - Green |
|
| 13 | + | set color03 "c9/d3/64" # Base 0A - Yellow |
|
| 14 | + | set color04 "03/ae/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "ea/5c/e2" # Base 0E - Magenta |
|
| 16 | + | set color06 "42/ff/f9" # Base 0C - Cyan |
|
| 17 | + | set color07 "28/29/2a" # Base 05 - White |
|
| 18 | + | set color08 "a3/a5/a6" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "05/06/08" # Base 07 - Bright White |
|
| 26 | + | set color16 "ea/77/0d" # Base 09 |
|
| 27 | + | set color17 "cd/63/20" # Base 0F |
|
| 28 | + | set color18 "cf/d1/d2" # Base 01 |
|
| 29 | + | set color19 "c1/c3/c4" # Base 02 |
|
| 30 | + | set color20 "47/48/49" # Base 04 |
|
| 31 | + | set color21 "1a/1b/1c" # Base 06 |
|
| 32 | + | set color_foreground "28/29/2a" # Base 05 |
|
| 33 | + | set color_background "dd/df/e0" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 28292a # foreground |
|
| 65 | + | __put_template_custom Ph dddfe0 # background |
|
| 66 | + | __put_template_custom Pi 28292a # bold color |
|
| 67 | + | __put_template_custom Pj c1c3c4 # selection color |
|
| 68 | + | __put_template_custom Pk 28292a # selected text color |
|
| 69 | + | __put_template_custom Pl 28292a # cursor |
|
| 70 | + | __put_template_custom Pm dddfe0 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "03aeff" blue |
|
| 86 | + | set -gx fish_color_quote "06ea61" green |
|
| 87 | + | set -gx fish_color_redirection "c9d364" yellow |
|
| 88 | + | set -gx fish_color_end "42fff9" cyan |
|
| 89 | + | set -gx fish_color_error "b53b50" red |
|
| 90 | + | set -gx fish_color_param "1a1b1c" cyan |
|
| 91 | + | set -gx fish_color_comment "a3a5a6" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "28292a" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c9d364" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "42fff9" cyan |
|
| 97 | + | set -gx fish_color_escape "42fff9" cyan |
|
| 98 | + | set -gx fish_color_cwd "06ea61" green |
|
| 99 | + | set -gx fish_color_cwd_root "b53b50" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "a3a5a6" brblack |
|
| 102 | + | set -gx fish_color_user "06ea61" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c9d364" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "28292a" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "050608" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "dd" "df" "e0" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background synth-midnight-light |
|
| 113 | + | set -U base16_fish_theme synth-midnight-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Tango scheme by @Schnouki, based on the Tango Desktop Project |
|
| 4 | + | ||
| 5 | + | function base16-tango -d "base16 Tango theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2e/34/36" # Base 00 - Black |
|
| 11 | + | set color01 "cc/00/00" # Base 08 - Red |
|
| 12 | + | set color02 "4e/9a/06" # Base 0B - Green |
|
| 13 | + | set color03 "c4/a0/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "34/65/a4" # Base 0D - Blue |
|
| 15 | + | set color05 "75/50/7b" # Base 0E - Magenta |
|
| 16 | + | set color06 "06/98/9a" # Base 0C - Cyan |
|
| 17 | + | set color07 "d3/d7/cf" # Base 05 - White |
|
| 18 | + | set color08 "55/57/53" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ee/ee/ec" # Base 07 - Bright White |
|
| 26 | + | set color16 "ef/29/29" # Base 09 |
|
| 27 | + | set color17 "34/e2/e2" # Base 0F |
|
| 28 | + | set color18 "8a/e2/34" # Base 01 |
|
| 29 | + | set color19 "fc/e9/4f" # Base 02 |
|
| 30 | + | set color20 "72/9f/cf" # Base 04 |
|
| 31 | + | set color21 "ad/7f/a8" # Base 06 |
|
| 32 | + | set color_foreground "d3/d7/cf" # Base 05 |
|
| 33 | + | set color_background "2e/34/36" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d3d7cf # foreground |
|
| 65 | + | __put_template_custom Ph 2e3436 # background |
|
| 66 | + | __put_template_custom Pi d3d7cf # bold color |
|
| 67 | + | __put_template_custom Pj fce94f # selection color |
|
| 68 | + | __put_template_custom Pk d3d7cf # selected text color |
|
| 69 | + | __put_template_custom Pl d3d7cf # cursor |
|
| 70 | + | __put_template_custom Pm 2e3436 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3465a4" blue |
|
| 86 | + | set -gx fish_color_quote "4e9a06" green |
|
| 87 | + | set -gx fish_color_redirection "c4a000" yellow |
|
| 88 | + | set -gx fish_color_end "06989a" cyan |
|
| 89 | + | set -gx fish_color_error "cc0000" red |
|
| 90 | + | set -gx fish_color_param "ad7fa8" cyan |
|
| 91 | + | set -gx fish_color_comment "555753" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d3d7cf" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c4a000" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "06989a" cyan |
|
| 97 | + | set -gx fish_color_escape "06989a" cyan |
|
| 98 | + | set -gx fish_color_cwd "4e9a06" green |
|
| 99 | + | set -gx fish_color_cwd_root "cc0000" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "555753" brblack |
|
| 102 | + | set -gx fish_color_user "4e9a06" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c4a000" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d3d7cf" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "eeeeec" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2e" "34" "36" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background tango |
|
| 113 | + | set -U base16_fish_theme tango |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # tender scheme by Jacobo Tabernero (https://github/com/jacoborus/tender.vim) |
|
| 4 | + | ||
| 5 | + | function base16-tender -d "base16 tender theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "28/28/28" # Base 00 - Black |
|
| 11 | + | set color01 "f4/37/53" # Base 08 - Red |
|
| 12 | + | set color02 "c9/d0/5c" # Base 0B - Green |
|
| 13 | + | set color03 "ff/c2/4b" # Base 0A - Yellow |
|
| 14 | + | set color04 "b3/de/ef" # Base 0D - Blue |
|
| 15 | + | set color05 "d3/b9/87" # Base 0E - Magenta |
|
| 16 | + | set color06 "73/ce/f4" # Base 0C - Cyan |
|
| 17 | + | set color07 "ee/ee/ee" # Base 05 - White |
|
| 18 | + | set color08 "4c/4c/4c" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fe/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "dc/96/56" # Base 09 |
|
| 27 | + | set color17 "a1/69/46" # Base 0F |
|
| 28 | + | set color18 "38/38/38" # Base 01 |
|
| 29 | + | set color19 "48/48/48" # Base 02 |
|
| 30 | + | set color20 "b8/b8/b8" # Base 04 |
|
| 31 | + | set color21 "e8/e8/e8" # Base 06 |
|
| 32 | + | set color_foreground "ee/ee/ee" # Base 05 |
|
| 33 | + | set color_background "28/28/28" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg eeeeee # foreground |
|
| 65 | + | __put_template_custom Ph 282828 # background |
|
| 66 | + | __put_template_custom Pi eeeeee # bold color |
|
| 67 | + | __put_template_custom Pj 484848 # selection color |
|
| 68 | + | __put_template_custom Pk eeeeee # selected text color |
|
| 69 | + | __put_template_custom Pl eeeeee # cursor |
|
| 70 | + | __put_template_custom Pm 282828 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "b3deef" blue |
|
| 86 | + | set -gx fish_color_quote "c9d05c" green |
|
| 87 | + | set -gx fish_color_redirection "ffc24b" yellow |
|
| 88 | + | set -gx fish_color_end "73cef4" cyan |
|
| 89 | + | set -gx fish_color_error "f43753" red |
|
| 90 | + | set -gx fish_color_param "e8e8e8" cyan |
|
| 91 | + | set -gx fish_color_comment "4c4c4c" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "eeeeee" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffc24b" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "73cef4" cyan |
|
| 97 | + | set -gx fish_color_escape "73cef4" cyan |
|
| 98 | + | set -gx fish_color_cwd "c9d05c" green |
|
| 99 | + | set -gx fish_color_cwd_root "f43753" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "4c4c4c" brblack |
|
| 102 | + | set -gx fish_color_user "c9d05c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffc24b" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "eeeeee" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "feffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "28" "28" "28" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background tender |
|
| 113 | + | set -U base16_fish_theme tender |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Tomorrow Night scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-tomorrow-night-eighties -d "base16 Tomorrow Night theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2d/2d/2d" # Base 00 - Black |
|
| 11 | + | set color01 "f2/77/7a" # Base 08 - Red |
|
| 12 | + | set color02 "99/cc/99" # Base 0B - Green |
|
| 13 | + | set color03 "ff/cc/66" # Base 0A - Yellow |
|
| 14 | + | set color04 "66/99/cc" # Base 0D - Blue |
|
| 15 | + | set color05 "cc/99/cc" # Base 0E - Magenta |
|
| 16 | + | set color06 "66/cc/cc" # Base 0C - Cyan |
|
| 17 | + | set color07 "cc/cc/cc" # Base 05 - White |
|
| 18 | + | set color08 "99/99/99" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "f9/91/57" # Base 09 |
|
| 27 | + | set color17 "a3/68/5a" # Base 0F |
|
| 28 | + | set color18 "39/39/39" # Base 01 |
|
| 29 | + | set color19 "51/51/51" # Base 02 |
|
| 30 | + | set color20 "b4/b7/b4" # Base 04 |
|
| 31 | + | set color21 "e0/e0/e0" # Base 06 |
|
| 32 | + | set color_foreground "cc/cc/cc" # Base 05 |
|
| 33 | + | set color_background "2d/2d/2d" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg cccccc # foreground |
|
| 65 | + | __put_template_custom Ph 2d2d2d # background |
|
| 66 | + | __put_template_custom Pi cccccc # bold color |
|
| 67 | + | __put_template_custom Pj 515151 # selection color |
|
| 68 | + | __put_template_custom Pk cccccc # selected text color |
|
| 69 | + | __put_template_custom Pl cccccc # cursor |
|
| 70 | + | __put_template_custom Pm 2d2d2d # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "6699cc" blue |
|
| 86 | + | set -gx fish_color_quote "99cc99" green |
|
| 87 | + | set -gx fish_color_redirection "ffcc66" yellow |
|
| 88 | + | set -gx fish_color_end "66cccc" cyan |
|
| 89 | + | set -gx fish_color_error "f2777a" red |
|
| 90 | + | set -gx fish_color_param "e0e0e0" cyan |
|
| 91 | + | set -gx fish_color_comment "999999" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "cccccc" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffcc66" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "66cccc" cyan |
|
| 97 | + | set -gx fish_color_escape "66cccc" cyan |
|
| 98 | + | set -gx fish_color_cwd "99cc99" green |
|
| 99 | + | set -gx fish_color_cwd_root "f2777a" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "999999" brblack |
|
| 102 | + | set -gx fish_color_user "99cc99" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffcc66" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "cccccc" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2d" "2d" "2d" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background tomorrow-night-eighties |
|
| 113 | + | set -U base16_fish_theme tomorrow-night-eighties |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Tomorrow Night scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-tomorrow-night -d "base16 Tomorrow Night theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1d/1f/21" # Base 00 - Black |
|
| 11 | + | set color01 "cc/66/66" # Base 08 - Red |
|
| 12 | + | set color02 "b5/bd/68" # Base 0B - Green |
|
| 13 | + | set color03 "f0/c6/74" # Base 0A - Yellow |
|
| 14 | + | set color04 "81/a2/be" # Base 0D - Blue |
|
| 15 | + | set color05 "b2/94/bb" # Base 0E - Magenta |
|
| 16 | + | set color06 "8a/be/b7" # Base 0C - Cyan |
|
| 17 | + | set color07 "c5/c8/c6" # Base 05 - White |
|
| 18 | + | set color08 "96/98/96" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "de/93/5f" # Base 09 |
|
| 27 | + | set color17 "a3/68/5a" # Base 0F |
|
| 28 | + | set color18 "28/2a/2e" # Base 01 |
|
| 29 | + | set color19 "37/3b/41" # Base 02 |
|
| 30 | + | set color20 "b4/b7/b4" # Base 04 |
|
| 31 | + | set color21 "e0/e0/e0" # Base 06 |
|
| 32 | + | set color_foreground "c5/c8/c6" # Base 05 |
|
| 33 | + | set color_background "1d/1f/21" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c5c8c6 # foreground |
|
| 65 | + | __put_template_custom Ph 1d1f21 # background |
|
| 66 | + | __put_template_custom Pi c5c8c6 # bold color |
|
| 67 | + | __put_template_custom Pj 373b41 # selection color |
|
| 68 | + | __put_template_custom Pk c5c8c6 # selected text color |
|
| 69 | + | __put_template_custom Pl c5c8c6 # cursor |
|
| 70 | + | __put_template_custom Pm 1d1f21 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "81a2be" blue |
|
| 86 | + | set -gx fish_color_quote "b5bd68" green |
|
| 87 | + | set -gx fish_color_redirection "f0c674" yellow |
|
| 88 | + | set -gx fish_color_end "8abeb7" cyan |
|
| 89 | + | set -gx fish_color_error "cc6666" red |
|
| 90 | + | set -gx fish_color_param "e0e0e0" cyan |
|
| 91 | + | set -gx fish_color_comment "969896" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c5c8c6" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f0c674" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "8abeb7" cyan |
|
| 97 | + | set -gx fish_color_escape "8abeb7" cyan |
|
| 98 | + | set -gx fish_color_cwd "b5bd68" green |
|
| 99 | + | set -gx fish_color_cwd_root "cc6666" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "969896" brblack |
|
| 102 | + | set -gx fish_color_user "b5bd68" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f0c674" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c5c8c6" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1d" "1f" "21" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background tomorrow-night |
|
| 113 | + | set -U base16_fish_theme tomorrow-night |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Tomorrow scheme by Chris Kempson (http://chriskempson.com) |
|
| 4 | + | ||
| 5 | + | function base16-tomorrow -d "base16 Tomorrow theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "ff/ff/ff" # Base 00 - Black |
|
| 11 | + | set color01 "c8/28/29" # Base 08 - Red |
|
| 12 | + | set color02 "71/8c/00" # Base 0B - Green |
|
| 13 | + | set color03 "ea/b7/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "42/71/ae" # Base 0D - Blue |
|
| 15 | + | set color05 "89/59/a8" # Base 0E - Magenta |
|
| 16 | + | set color06 "3e/99/9f" # Base 0C - Cyan |
|
| 17 | + | set color07 "4d/4d/4c" # Base 05 - White |
|
| 18 | + | set color08 "8e/90/8c" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "1d/1f/21" # Base 07 - Bright White |
|
| 26 | + | set color16 "f5/87/1f" # Base 09 |
|
| 27 | + | set color17 "a3/68/5a" # Base 0F |
|
| 28 | + | set color18 "e0/e0/e0" # Base 01 |
|
| 29 | + | set color19 "d6/d6/d6" # Base 02 |
|
| 30 | + | set color20 "96/98/96" # Base 04 |
|
| 31 | + | set color21 "28/2a/2e" # Base 06 |
|
| 32 | + | set color_foreground "4d/4d/4c" # Base 05 |
|
| 33 | + | set color_background "ff/ff/ff" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 4d4d4c # foreground |
|
| 65 | + | __put_template_custom Ph ffffff # background |
|
| 66 | + | __put_template_custom Pi 4d4d4c # bold color |
|
| 67 | + | __put_template_custom Pj d6d6d6 # selection color |
|
| 68 | + | __put_template_custom Pk 4d4d4c # selected text color |
|
| 69 | + | __put_template_custom Pl 4d4d4c # cursor |
|
| 70 | + | __put_template_custom Pm ffffff # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "4271ae" blue |
|
| 86 | + | set -gx fish_color_quote "718c00" green |
|
| 87 | + | set -gx fish_color_redirection "eab700" yellow |
|
| 88 | + | set -gx fish_color_end "3e999f" cyan |
|
| 89 | + | set -gx fish_color_error "c82829" red |
|
| 90 | + | set -gx fish_color_param "282a2e" cyan |
|
| 91 | + | set -gx fish_color_comment "8e908c" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "4d4d4c" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "eab700" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "3e999f" cyan |
|
| 97 | + | set -gx fish_color_escape "3e999f" cyan |
|
| 98 | + | set -gx fish_color_cwd "718c00" green |
|
| 99 | + | set -gx fish_color_cwd_root "c82829" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "8e908c" brblack |
|
| 102 | + | set -gx fish_color_user "718c00" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "eab700" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "4d4d4c" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "1d1f21" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "ff" "ff" "ff" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background tomorrow |
|
| 113 | + | set -U base16_fish_theme tomorrow |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # London Tube scheme by Jan T. Sott |
|
| 4 | + | ||
| 5 | + | function base16-tube -d "base16 London Tube theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "23/1f/20" # Base 00 - Black |
|
| 11 | + | set color01 "ee/2e/24" # Base 08 - Red |
|
| 12 | + | set color02 "00/85/3e" # Base 0B - Green |
|
| 13 | + | set color03 "ff/d2/04" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/9d/dc" # Base 0D - Blue |
|
| 15 | + | set color05 "98/00/5d" # Base 0E - Magenta |
|
| 16 | + | set color06 "85/ce/bc" # Base 0C - Cyan |
|
| 17 | + | set color07 "d9/d8/d8" # Base 05 - White |
|
| 18 | + | set color08 "73/71/71" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "f3/86/a1" # Base 09 |
|
| 27 | + | set color17 "b0/61/10" # Base 0F |
|
| 28 | + | set color18 "1c/3f/95" # Base 01 |
|
| 29 | + | set color19 "5a/57/58" # Base 02 |
|
| 30 | + | set color20 "95/9c/a1" # Base 04 |
|
| 31 | + | set color21 "e7/e7/e8" # Base 06 |
|
| 32 | + | set color_foreground "d9/d8/d8" # Base 05 |
|
| 33 | + | set color_background "23/1f/20" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg d9d8d8 # foreground |
|
| 65 | + | __put_template_custom Ph 231f20 # background |
|
| 66 | + | __put_template_custom Pi d9d8d8 # bold color |
|
| 67 | + | __put_template_custom Pj 5a5758 # selection color |
|
| 68 | + | __put_template_custom Pk d9d8d8 # selected text color |
|
| 69 | + | __put_template_custom Pl d9d8d8 # cursor |
|
| 70 | + | __put_template_custom Pm 231f20 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "009ddc" blue |
|
| 86 | + | set -gx fish_color_quote "00853e" green |
|
| 87 | + | set -gx fish_color_redirection "ffd204" yellow |
|
| 88 | + | set -gx fish_color_end "85cebc" cyan |
|
| 89 | + | set -gx fish_color_error "ee2e24" red |
|
| 90 | + | set -gx fish_color_param "e7e7e8" cyan |
|
| 91 | + | set -gx fish_color_comment "737171" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "d9d8d8" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffd204" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "85cebc" cyan |
|
| 97 | + | set -gx fish_color_escape "85cebc" cyan |
|
| 98 | + | set -gx fish_color_cwd "00853e" green |
|
| 99 | + | set -gx fish_color_cwd_root "ee2e24" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "737171" brblack |
|
| 102 | + | set -gx fish_color_user "00853e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffd204" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "d9d8d8" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "23" "1f" "20" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background tube |
|
| 113 | + | set -U base16_fish_theme tube |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Twilight scheme by David Hart (https://github.com/hartbit) |
|
| 4 | + | ||
| 5 | + | function base16-twilight -d "base16 Twilight theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "1e/1e/1e" # Base 00 - Black |
|
| 11 | + | set color01 "cf/6a/4c" # Base 08 - Red |
|
| 12 | + | set color02 "8f/9d/6a" # Base 0B - Green |
|
| 13 | + | set color03 "f9/ee/98" # Base 0A - Yellow |
|
| 14 | + | set color04 "75/87/a6" # Base 0D - Blue |
|
| 15 | + | set color05 "9b/85/9d" # Base 0E - Magenta |
|
| 16 | + | set color06 "af/c4/db" # Base 0C - Cyan |
|
| 17 | + | set color07 "a7/a7/a7" # Base 05 - White |
|
| 18 | + | set color08 "5f/5a/60" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "cd/a8/69" # Base 09 |
|
| 27 | + | set color17 "9b/70/3f" # Base 0F |
|
| 28 | + | set color18 "32/35/37" # Base 01 |
|
| 29 | + | set color19 "46/4b/50" # Base 02 |
|
| 30 | + | set color20 "83/81/84" # Base 04 |
|
| 31 | + | set color21 "c3/c3/c3" # Base 06 |
|
| 32 | + | set color_foreground "a7/a7/a7" # Base 05 |
|
| 33 | + | set color_background "1e/1e/1e" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a7a7a7 # foreground |
|
| 65 | + | __put_template_custom Ph 1e1e1e # background |
|
| 66 | + | __put_template_custom Pi a7a7a7 # bold color |
|
| 67 | + | __put_template_custom Pj 464b50 # selection color |
|
| 68 | + | __put_template_custom Pk a7a7a7 # selected text color |
|
| 69 | + | __put_template_custom Pl a7a7a7 # cursor |
|
| 70 | + | __put_template_custom Pm 1e1e1e # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "7587a6" blue |
|
| 86 | + | set -gx fish_color_quote "8f9d6a" green |
|
| 87 | + | set -gx fish_color_redirection "f9ee98" yellow |
|
| 88 | + | set -gx fish_color_end "afc4db" cyan |
|
| 89 | + | set -gx fish_color_error "cf6a4c" red |
|
| 90 | + | set -gx fish_color_param "c3c3c3" cyan |
|
| 91 | + | set -gx fish_color_comment "5f5a60" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a7a7a7" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f9ee98" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "afc4db" cyan |
|
| 97 | + | set -gx fish_color_escape "afc4db" cyan |
|
| 98 | + | set -gx fish_color_cwd "8f9d6a" green |
|
| 99 | + | set -gx fish_color_cwd_root "cf6a4c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "5f5a60" brblack |
|
| 102 | + | set -gx fish_color_user "8f9d6a" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f9ee98" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a7a7a7" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "1e" "1e" "1e" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background twilight |
|
| 113 | + | set -U base16_fish_theme twilight |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Unikitty Dark scheme by Josh W Lewis (@joshwlewis) |
|
| 4 | + | ||
| 5 | + | function base16-unikitty-dark -d "base16 Unikitty Dark theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "2e/2a/31" # Base 00 - Black |
|
| 11 | + | set color01 "d8/13/7f" # Base 08 - Red |
|
| 12 | + | set color02 "17/ad/98" # Base 0B - Green |
|
| 13 | + | set color03 "dc/8a/0e" # Base 0A - Yellow |
|
| 14 | + | set color04 "79/6a/f5" # Base 0D - Blue |
|
| 15 | + | set color05 "bb/60/ea" # Base 0E - Magenta |
|
| 16 | + | set color06 "14/9b/da" # Base 0C - Cyan |
|
| 17 | + | set color07 "bc/ba/be" # Base 05 - White |
|
| 18 | + | set color08 "83/80/85" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f5/f4/f7" # Base 07 - Bright White |
|
| 26 | + | set color16 "d6/54/07" # Base 09 |
|
| 27 | + | set color17 "c7/20/ca" # Base 0F |
|
| 28 | + | set color18 "4a/46/4d" # Base 01 |
|
| 29 | + | set color19 "66/63/69" # Base 02 |
|
| 30 | + | set color20 "9f/9d/a2" # Base 04 |
|
| 31 | + | set color21 "d8/d7/da" # Base 06 |
|
| 32 | + | set color_foreground "bc/ba/be" # Base 05 |
|
| 33 | + | set color_background "2e/2a/31" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg bcbabe # foreground |
|
| 65 | + | __put_template_custom Ph 2e2a31 # background |
|
| 66 | + | __put_template_custom Pi bcbabe # bold color |
|
| 67 | + | __put_template_custom Pj 666369 # selection color |
|
| 68 | + | __put_template_custom Pk bcbabe # selected text color |
|
| 69 | + | __put_template_custom Pl bcbabe # cursor |
|
| 70 | + | __put_template_custom Pm 2e2a31 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "796af5" blue |
|
| 86 | + | set -gx fish_color_quote "17ad98" green |
|
| 87 | + | set -gx fish_color_redirection "dc8a0e" yellow |
|
| 88 | + | set -gx fish_color_end "149bda" cyan |
|
| 89 | + | set -gx fish_color_error "d8137f" red |
|
| 90 | + | set -gx fish_color_param "d8d7da" cyan |
|
| 91 | + | set -gx fish_color_comment "838085" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "bcbabe" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "dc8a0e" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "149bda" cyan |
|
| 97 | + | set -gx fish_color_escape "149bda" cyan |
|
| 98 | + | set -gx fish_color_cwd "17ad98" green |
|
| 99 | + | set -gx fish_color_cwd_root "d8137f" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "838085" brblack |
|
| 102 | + | set -gx fish_color_user "17ad98" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "dc8a0e" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "bcbabe" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f5f4f7" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "2e" "2a" "31" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background unikitty-dark |
|
| 113 | + | set -U base16_fish_theme unikitty-dark |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Unikitty Light scheme by Josh W Lewis (@joshwlewis) |
|
| 4 | + | ||
| 5 | + | function base16-unikitty-light -d "base16 Unikitty Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "ff/ff/ff" # Base 00 - Black |
|
| 11 | + | set color01 "d8/13/7f" # Base 08 - Red |
|
| 12 | + | set color02 "17/ad/98" # Base 0B - Green |
|
| 13 | + | set color03 "dc/8a/0e" # Base 0A - Yellow |
|
| 14 | + | set color04 "77/5d/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "aa/17/e6" # Base 0E - Magenta |
|
| 16 | + | set color06 "14/9b/da" # Base 0C - Cyan |
|
| 17 | + | set color07 "6c/69/6e" # Base 05 - White |
|
| 18 | + | set color08 "a7/a5/a8" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "32/2d/34" # Base 07 - Bright White |
|
| 26 | + | set color16 "d6/54/07" # Base 09 |
|
| 27 | + | set color17 "e0/13/d0" # Base 0F |
|
| 28 | + | set color18 "e1/e1/e2" # Base 01 |
|
| 29 | + | set color19 "c4/c3/c5" # Base 02 |
|
| 30 | + | set color20 "89/87/8b" # Base 04 |
|
| 31 | + | set color21 "4f/4b/51" # Base 06 |
|
| 32 | + | set color_foreground "6c/69/6e" # Base 05 |
|
| 33 | + | set color_background "ff/ff/ff" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 6c696e # foreground |
|
| 65 | + | __put_template_custom Ph ffffff # background |
|
| 66 | + | __put_template_custom Pi 6c696e # bold color |
|
| 67 | + | __put_template_custom Pj c4c3c5 # selection color |
|
| 68 | + | __put_template_custom Pk 6c696e # selected text color |
|
| 69 | + | __put_template_custom Pl 6c696e # cursor |
|
| 70 | + | __put_template_custom Pm ffffff # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "775dff" blue |
|
| 86 | + | set -gx fish_color_quote "17ad98" green |
|
| 87 | + | set -gx fish_color_redirection "dc8a0e" yellow |
|
| 88 | + | set -gx fish_color_end "149bda" cyan |
|
| 89 | + | set -gx fish_color_error "d8137f" red |
|
| 90 | + | set -gx fish_color_param "4f4b51" cyan |
|
| 91 | + | set -gx fish_color_comment "a7a5a8" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "6c696e" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "dc8a0e" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "149bda" cyan |
|
| 97 | + | set -gx fish_color_escape "149bda" cyan |
|
| 98 | + | set -gx fish_color_cwd "17ad98" green |
|
| 99 | + | set -gx fish_color_cwd_root "d8137f" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "a7a5a8" brblack |
|
| 102 | + | set -gx fish_color_user "17ad98" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "dc8a0e" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "6c696e" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "322d34" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "ff" "ff" "ff" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background unikitty-light |
|
| 113 | + | set -U base16_fish_theme unikitty-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # vulcan scheme by Andrey Varfolomeev |
|
| 4 | + | ||
| 5 | + | function base16-vulcan -d "base16 vulcan theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "04/15/23" # Base 00 - Black |
|
| 11 | + | set color01 "81/85/91" # Base 08 - Red |
|
| 12 | + | set color02 "97/7d/7c" # Base 0B - Green |
|
| 13 | + | set color03 "ad/b4/b9" # Base 0A - Yellow |
|
| 14 | + | set color04 "97/7d/7c" # Base 0D - Blue |
|
| 15 | + | set color05 "91/98/a3" # Base 0E - Magenta |
|
| 16 | + | set color06 "97/7d/7c" # Base 0C - Cyan |
|
| 17 | + | set color07 "5b/77/8c" # Base 05 - White |
|
| 18 | + | set color08 "7a/57/59" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "21/4d/68" # Base 07 - Bright White |
|
| 26 | + | set color16 "91/98/a3" # Base 09 |
|
| 27 | + | set color17 "97/7d/7c" # Base 0F |
|
| 28 | + | set color18 "12/23/39" # Base 01 |
|
| 29 | + | set color19 "00/35/52" # Base 02 |
|
| 30 | + | set color20 "6b/69/77" # Base 04 |
|
| 31 | + | set color21 "33/32/38" # Base 06 |
|
| 32 | + | set color_foreground "5b/77/8c" # Base 05 |
|
| 33 | + | set color_background "04/15/23" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 5b778c # foreground |
|
| 65 | + | __put_template_custom Ph 041523 # background |
|
| 66 | + | __put_template_custom Pi 5b778c # bold color |
|
| 67 | + | __put_template_custom Pj 003552 # selection color |
|
| 68 | + | __put_template_custom Pk 5b778c # selected text color |
|
| 69 | + | __put_template_custom Pl 5b778c # cursor |
|
| 70 | + | __put_template_custom Pm 041523 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "977d7c" blue |
|
| 86 | + | set -gx fish_color_quote "977d7c" green |
|
| 87 | + | set -gx fish_color_redirection "adb4b9" yellow |
|
| 88 | + | set -gx fish_color_end "977d7c" cyan |
|
| 89 | + | set -gx fish_color_error "818591" red |
|
| 90 | + | set -gx fish_color_param "333238" cyan |
|
| 91 | + | set -gx fish_color_comment "7a5759" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "5b778c" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "adb4b9" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "977d7c" cyan |
|
| 97 | + | set -gx fish_color_escape "977d7c" cyan |
|
| 98 | + | set -gx fish_color_cwd "977d7c" green |
|
| 99 | + | set -gx fish_color_cwd_root "818591" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "7a5759" brblack |
|
| 102 | + | set -gx fish_color_user "977d7c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "adb4b9" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "5b778c" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "214d68" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "04" "15" "23" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background vulcan |
|
| 113 | + | set -U base16_fish_theme vulcan |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Windows 10 Light scheme by Fergus Collins (https://github.com/C-Fergus) |
|
| 4 | + | ||
| 5 | + | function base16-windows-10-light -d "base16 Windows 10 Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "f2/f2/f2" # Base 00 - Black |
|
| 11 | + | set color01 "c5/0f/1f" # Base 08 - Red |
|
| 12 | + | set color02 "13/a1/0e" # Base 0B - Green |
|
| 13 | + | set color03 "c1/9c/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/37/da" # Base 0D - Blue |
|
| 15 | + | set color05 "88/17/98" # Base 0E - Magenta |
|
| 16 | + | set color06 "3a/96/dd" # Base 0C - Cyan |
|
| 17 | + | set color07 "76/76/76" # Base 05 - White |
|
| 18 | + | set color08 "cc/cc/cc" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "0c/0c/0c" # Base 07 - Bright White |
|
| 26 | + | set color16 "f9/f1/a5" # Base 09 |
|
| 27 | + | set color17 "16/c6/0c" # Base 0F |
|
| 28 | + | set color18 "e5/e5/e5" # Base 01 |
|
| 29 | + | set color19 "d9/d9/d9" # Base 02 |
|
| 30 | + | set color20 "ab/ab/ab" # Base 04 |
|
| 31 | + | set color21 "41/41/41" # Base 06 |
|
| 32 | + | set color_foreground "76/76/76" # Base 05 |
|
| 33 | + | set color_background "f2/f2/f2" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 767676 # foreground |
|
| 65 | + | __put_template_custom Ph f2f2f2 # background |
|
| 66 | + | __put_template_custom Pi 767676 # bold color |
|
| 67 | + | __put_template_custom Pj d9d9d9 # selection color |
|
| 68 | + | __put_template_custom Pk 767676 # selected text color |
|
| 69 | + | __put_template_custom Pl 767676 # cursor |
|
| 70 | + | __put_template_custom Pm f2f2f2 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0037da" blue |
|
| 86 | + | set -gx fish_color_quote "13a10e" green |
|
| 87 | + | set -gx fish_color_redirection "c19c00" yellow |
|
| 88 | + | set -gx fish_color_end "3a96dd" cyan |
|
| 89 | + | set -gx fish_color_error "c50f1f" red |
|
| 90 | + | set -gx fish_color_param "414141" cyan |
|
| 91 | + | set -gx fish_color_comment "cccccc" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "767676" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "c19c00" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "3a96dd" cyan |
|
| 97 | + | set -gx fish_color_escape "3a96dd" cyan |
|
| 98 | + | set -gx fish_color_cwd "13a10e" green |
|
| 99 | + | set -gx fish_color_cwd_root "c50f1f" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "cccccc" brblack |
|
| 102 | + | set -gx fish_color_user "13a10e" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "c19c00" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "767676" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "0c0c0c" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "f2" "f2" "f2" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background windows-10-light |
|
| 113 | + | set -U base16_fish_theme windows-10-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Windows 10 scheme by Fergus Collins (https://github.com/C-Fergus) |
|
| 4 | + | ||
| 5 | + | function base16-windows-10 -d "base16 Windows 10 theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "0c/0c/0c" # Base 00 - Black |
|
| 11 | + | set color01 "e7/48/56" # Base 08 - Red |
|
| 12 | + | set color02 "16/c6/0c" # Base 0B - Green |
|
| 13 | + | set color03 "f9/f1/a5" # Base 0A - Yellow |
|
| 14 | + | set color04 "3b/78/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "b4/00/9e" # Base 0E - Magenta |
|
| 16 | + | set color06 "61/d6/d6" # Base 0C - Cyan |
|
| 17 | + | set color07 "cc/cc/cc" # Base 05 - White |
|
| 18 | + | set color08 "76/76/76" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "f2/f2/f2" # Base 07 - Bright White |
|
| 26 | + | set color16 "c1/9c/00" # Base 09 |
|
| 27 | + | set color17 "13/a1/0e" # Base 0F |
|
| 28 | + | set color18 "2f/2f/2f" # Base 01 |
|
| 29 | + | set color19 "53/53/53" # Base 02 |
|
| 30 | + | set color20 "b9/b9/b9" # Base 04 |
|
| 31 | + | set color21 "df/df/df" # Base 06 |
|
| 32 | + | set color_foreground "cc/cc/cc" # Base 05 |
|
| 33 | + | set color_background "0c/0c/0c" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg cccccc # foreground |
|
| 65 | + | __put_template_custom Ph 0c0c0c # background |
|
| 66 | + | __put_template_custom Pi cccccc # bold color |
|
| 67 | + | __put_template_custom Pj 535353 # selection color |
|
| 68 | + | __put_template_custom Pk cccccc # selected text color |
|
| 69 | + | __put_template_custom Pl cccccc # cursor |
|
| 70 | + | __put_template_custom Pm 0c0c0c # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "3b78ff" blue |
|
| 86 | + | set -gx fish_color_quote "16c60c" green |
|
| 87 | + | set -gx fish_color_redirection "f9f1a5" yellow |
|
| 88 | + | set -gx fish_color_end "61d6d6" cyan |
|
| 89 | + | set -gx fish_color_error "e74856" red |
|
| 90 | + | set -gx fish_color_param "dfdfdf" cyan |
|
| 91 | + | set -gx fish_color_comment "767676" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "cccccc" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "f9f1a5" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "61d6d6" cyan |
|
| 97 | + | set -gx fish_color_escape "61d6d6" cyan |
|
| 98 | + | set -gx fish_color_cwd "16c60c" green |
|
| 99 | + | set -gx fish_color_cwd_root "e74856" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "767676" brblack |
|
| 102 | + | set -gx fish_color_user "16c60c" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "f9f1a5" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "cccccc" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "f2f2f2" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "0c" "0c" "0c" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background windows-10 |
|
| 113 | + | set -U base16_fish_theme windows-10 |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Windows 95 Light scheme by Fergus Collins (https://github.com/C-Fergus) |
|
| 4 | + | ||
| 5 | + | function base16-windows-95-light -d "base16 Windows 95 Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fc/fc/fc" # Base 00 - Black |
|
| 11 | + | set color01 "a8/00/00" # Base 08 - Red |
|
| 12 | + | set color02 "00/a8/00" # Base 0B - Green |
|
| 13 | + | set color03 "a8/54/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/00/a8" # Base 0D - Blue |
|
| 15 | + | set color05 "a8/00/a8" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/a8/a8" # Base 0C - Cyan |
|
| 17 | + | set color07 "54/54/54" # Base 05 - White |
|
| 18 | + | set color08 "a8/a8/a8" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "00/00/00" # Base 07 - Bright White |
|
| 26 | + | set color16 "fc/fc/54" # Base 09 |
|
| 27 | + | set color17 "54/fc/54" # Base 0F |
|
| 28 | + | set color18 "e0/e0/e0" # Base 01 |
|
| 29 | + | set color19 "c4/c4/c4" # Base 02 |
|
| 30 | + | set color20 "7e/7e/7e" # Base 04 |
|
| 31 | + | set color21 "2a/2a/2a" # Base 06 |
|
| 32 | + | set color_foreground "54/54/54" # Base 05 |
|
| 33 | + | set color_background "fc/fc/fc" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 545454 # foreground |
|
| 65 | + | __put_template_custom Ph fcfcfc # background |
|
| 66 | + | __put_template_custom Pi 545454 # bold color |
|
| 67 | + | __put_template_custom Pj c4c4c4 # selection color |
|
| 68 | + | __put_template_custom Pk 545454 # selected text color |
|
| 69 | + | __put_template_custom Pl 545454 # cursor |
|
| 70 | + | __put_template_custom Pm fcfcfc # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0000a8" blue |
|
| 86 | + | set -gx fish_color_quote "00a800" green |
|
| 87 | + | set -gx fish_color_redirection "a85400" yellow |
|
| 88 | + | set -gx fish_color_end "00a8a8" cyan |
|
| 89 | + | set -gx fish_color_error "a80000" red |
|
| 90 | + | set -gx fish_color_param "2a2a2a" cyan |
|
| 91 | + | set -gx fish_color_comment "a8a8a8" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "545454" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "a85400" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "00a8a8" cyan |
|
| 97 | + | set -gx fish_color_escape "00a8a8" cyan |
|
| 98 | + | set -gx fish_color_cwd "00a800" green |
|
| 99 | + | set -gx fish_color_cwd_root "a80000" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "a8a8a8" brblack |
|
| 102 | + | set -gx fish_color_user "00a800" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "a85400" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "545454" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "000000" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fc" "fc" "fc" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background windows-95-light |
|
| 113 | + | set -U base16_fish_theme windows-95-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Windows 95 scheme by Fergus Collins (https://github.com/C-Fergus) |
|
| 4 | + | ||
| 5 | + | function base16-windows-95 -d "base16 Windows 95 theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "fc/54/54" # Base 08 - Red |
|
| 12 | + | set color02 "54/fc/54" # Base 0B - Green |
|
| 13 | + | set color03 "fc/fc/54" # Base 0A - Yellow |
|
| 14 | + | set color04 "54/54/fc" # Base 0D - Blue |
|
| 15 | + | set color05 "fc/54/fc" # Base 0E - Magenta |
|
| 16 | + | set color06 "54/fc/fc" # Base 0C - Cyan |
|
| 17 | + | set color07 "a8/a8/a8" # Base 05 - White |
|
| 18 | + | set color08 "54/54/54" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fc/fc/fc" # Base 07 - Bright White |
|
| 26 | + | set color16 "a8/54/00" # Base 09 |
|
| 27 | + | set color17 "00/a8/00" # Base 0F |
|
| 28 | + | set color18 "1c/1c/1c" # Base 01 |
|
| 29 | + | set color19 "38/38/38" # Base 02 |
|
| 30 | + | set color20 "7e/7e/7e" # Base 04 |
|
| 31 | + | set color21 "d2/d2/d2" # Base 06 |
|
| 32 | + | set color_foreground "a8/a8/a8" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg a8a8a8 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi a8a8a8 # bold color |
|
| 67 | + | __put_template_custom Pj 383838 # selection color |
|
| 68 | + | __put_template_custom Pk a8a8a8 # selected text color |
|
| 69 | + | __put_template_custom Pl a8a8a8 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "5454fc" blue |
|
| 86 | + | set -gx fish_color_quote "54fc54" green |
|
| 87 | + | set -gx fish_color_redirection "fcfc54" yellow |
|
| 88 | + | set -gx fish_color_end "54fcfc" cyan |
|
| 89 | + | set -gx fish_color_error "fc5454" red |
|
| 90 | + | set -gx fish_color_param "d2d2d2" cyan |
|
| 91 | + | set -gx fish_color_comment "545454" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "a8a8a8" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fcfc54" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "54fcfc" cyan |
|
| 97 | + | set -gx fish_color_escape "54fcfc" cyan |
|
| 98 | + | set -gx fish_color_cwd "54fc54" green |
|
| 99 | + | set -gx fish_color_cwd_root "fc5454" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "545454" brblack |
|
| 102 | + | set -gx fish_color_user "54fc54" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fcfc54" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "a8a8a8" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fcfcfc" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background windows-95 |
|
| 113 | + | set -U base16_fish_theme windows-95 |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Windows High Contrast Light scheme by Fergus Collins (https://github.com/C-Fergus) |
|
| 4 | + | ||
| 5 | + | function base16-windows-highcontrast-light -d "base16 Windows High Contrast Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "fc/fc/fc" # Base 00 - Black |
|
| 11 | + | set color01 "80/00/00" # Base 08 - Red |
|
| 12 | + | set color02 "00/80/00" # Base 0B - Green |
|
| 13 | + | set color03 "80/80/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/00/80" # Base 0D - Blue |
|
| 15 | + | set color05 "80/00/80" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/80/80" # Base 0C - Cyan |
|
| 17 | + | set color07 "54/54/54" # Base 05 - White |
|
| 18 | + | set color08 "c0/c0/c0" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "00/00/00" # Base 07 - Bright White |
|
| 26 | + | set color16 "fc/fc/54" # Base 09 |
|
| 27 | + | set color17 "54/fc/54" # Base 0F |
|
| 28 | + | set color18 "e8/e8/e8" # Base 01 |
|
| 29 | + | set color19 "d4/d4/d4" # Base 02 |
|
| 30 | + | set color20 "7e/7e/7e" # Base 04 |
|
| 31 | + | set color21 "2a/2a/2a" # Base 06 |
|
| 32 | + | set color_foreground "54/54/54" # Base 05 |
|
| 33 | + | set color_background "fc/fc/fc" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 545454 # foreground |
|
| 65 | + | __put_template_custom Ph fcfcfc # background |
|
| 66 | + | __put_template_custom Pi 545454 # bold color |
|
| 67 | + | __put_template_custom Pj d4d4d4 # selection color |
|
| 68 | + | __put_template_custom Pk 545454 # selected text color |
|
| 69 | + | __put_template_custom Pl 545454 # cursor |
|
| 70 | + | __put_template_custom Pm fcfcfc # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "000080" blue |
|
| 86 | + | set -gx fish_color_quote "008000" green |
|
| 87 | + | set -gx fish_color_redirection "808000" yellow |
|
| 88 | + | set -gx fish_color_end "008080" cyan |
|
| 89 | + | set -gx fish_color_error "800000" red |
|
| 90 | + | set -gx fish_color_param "2a2a2a" cyan |
|
| 91 | + | set -gx fish_color_comment "c0c0c0" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "545454" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "808000" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "008080" cyan |
|
| 97 | + | set -gx fish_color_escape "008080" cyan |
|
| 98 | + | set -gx fish_color_cwd "008000" green |
|
| 99 | + | set -gx fish_color_cwd_root "800000" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "c0c0c0" brblack |
|
| 102 | + | set -gx fish_color_user "008000" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "808000" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "545454" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "000000" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "fc" "fc" "fc" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background windows-highcontrast-light |
|
| 113 | + | set -U base16_fish_theme windows-highcontrast-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Windows High Contrast scheme by Fergus Collins (https://github.com/C-Fergus) |
|
| 4 | + | ||
| 5 | + | function base16-windows-highcontrast -d "base16 Windows High Contrast theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "fc/54/54" # Base 08 - Red |
|
| 12 | + | set color02 "54/fc/54" # Base 0B - Green |
|
| 13 | + | set color03 "fc/fc/54" # Base 0A - Yellow |
|
| 14 | + | set color04 "54/54/fc" # Base 0D - Blue |
|
| 15 | + | set color05 "fc/54/fc" # Base 0E - Magenta |
|
| 16 | + | set color06 "54/fc/fc" # Base 0C - Cyan |
|
| 17 | + | set color07 "c0/c0/c0" # Base 05 - White |
|
| 18 | + | set color08 "54/54/54" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "fc/fc/fc" # Base 07 - Bright White |
|
| 26 | + | set color16 "80/80/00" # Base 09 |
|
| 27 | + | set color17 "00/80/00" # Base 0F |
|
| 28 | + | set color18 "1c/1c/1c" # Base 01 |
|
| 29 | + | set color19 "38/38/38" # Base 02 |
|
| 30 | + | set color20 "a2/a2/a2" # Base 04 |
|
| 31 | + | set color21 "de/de/de" # Base 06 |
|
| 32 | + | set color_foreground "c0/c0/c0" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c0c0c0 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c0c0c0 # bold color |
|
| 67 | + | __put_template_custom Pj 383838 # selection color |
|
| 68 | + | __put_template_custom Pk c0c0c0 # selected text color |
|
| 69 | + | __put_template_custom Pl c0c0c0 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "5454fc" blue |
|
| 86 | + | set -gx fish_color_quote "54fc54" green |
|
| 87 | + | set -gx fish_color_redirection "fcfc54" yellow |
|
| 88 | + | set -gx fish_color_end "54fcfc" cyan |
|
| 89 | + | set -gx fish_color_error "fc5454" red |
|
| 90 | + | set -gx fish_color_param "dedede" cyan |
|
| 91 | + | set -gx fish_color_comment "545454" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c0c0c0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "fcfc54" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "54fcfc" cyan |
|
| 97 | + | set -gx fish_color_escape "54fcfc" cyan |
|
| 98 | + | set -gx fish_color_cwd "54fc54" green |
|
| 99 | + | set -gx fish_color_cwd_root "fc5454" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "545454" brblack |
|
| 102 | + | set -gx fish_color_user "54fc54" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "fcfc54" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c0c0c0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "fcfcfc" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background windows-highcontrast |
|
| 113 | + | set -U base16_fish_theme windows-highcontrast |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Windows NT Light scheme by Fergus Collins (https://github.com/C-Fergus) |
|
| 4 | + | ||
| 5 | + | function base16-windows-nt-light -d "base16 Windows NT Light theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "ff/ff/ff" # Base 00 - Black |
|
| 11 | + | set color01 "80/00/00" # Base 08 - Red |
|
| 12 | + | set color02 "00/80/00" # Base 0B - Green |
|
| 13 | + | set color03 "80/80/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/00/80" # Base 0D - Blue |
|
| 15 | + | set color05 "80/00/80" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/80/80" # Base 0C - Cyan |
|
| 17 | + | set color07 "80/80/80" # Base 05 - White |
|
| 18 | + | set color08 "c0/c0/c0" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "00/00/00" # Base 07 - Bright White |
|
| 26 | + | set color16 "ff/ff/00" # Base 09 |
|
| 27 | + | set color17 "00/ff/00" # Base 0F |
|
| 28 | + | set color18 "ea/ea/ea" # Base 01 |
|
| 29 | + | set color19 "d5/d5/d5" # Base 02 |
|
| 30 | + | set color20 "a0/a0/a0" # Base 04 |
|
| 31 | + | set color21 "40/40/40" # Base 06 |
|
| 32 | + | set color_foreground "80/80/80" # Base 05 |
|
| 33 | + | set color_background "ff/ff/ff" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 808080 # foreground |
|
| 65 | + | __put_template_custom Ph ffffff # background |
|
| 66 | + | __put_template_custom Pi 808080 # bold color |
|
| 67 | + | __put_template_custom Pj d5d5d5 # selection color |
|
| 68 | + | __put_template_custom Pk 808080 # selected text color |
|
| 69 | + | __put_template_custom Pl 808080 # cursor |
|
| 70 | + | __put_template_custom Pm ffffff # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "000080" blue |
|
| 86 | + | set -gx fish_color_quote "008000" green |
|
| 87 | + | set -gx fish_color_redirection "808000" yellow |
|
| 88 | + | set -gx fish_color_end "008080" cyan |
|
| 89 | + | set -gx fish_color_error "800000" red |
|
| 90 | + | set -gx fish_color_param "404040" cyan |
|
| 91 | + | set -gx fish_color_comment "c0c0c0" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "808080" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "808000" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "008080" cyan |
|
| 97 | + | set -gx fish_color_escape "008080" cyan |
|
| 98 | + | set -gx fish_color_cwd "008000" green |
|
| 99 | + | set -gx fish_color_cwd_root "800000" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "c0c0c0" brblack |
|
| 102 | + | set -gx fish_color_user "008000" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "808000" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "808080" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "000000" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "ff" "ff" "ff" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background windows-nt-light |
|
| 113 | + | set -U base16_fish_theme windows-nt-light |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Windows NT scheme by Fergus Collins (https://github.com/C-Fergus) |
|
| 4 | + | ||
| 5 | + | function base16-windows-nt -d "base16 Windows NT theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "00/00/00" # Base 00 - Black |
|
| 11 | + | set color01 "ff/00/00" # Base 08 - Red |
|
| 12 | + | set color02 "00/ff/00" # Base 0B - Green |
|
| 13 | + | set color03 "ff/ff/00" # Base 0A - Yellow |
|
| 14 | + | set color04 "00/00/ff" # Base 0D - Blue |
|
| 15 | + | set color05 "ff/00/ff" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/ff/ff" # Base 0C - Cyan |
|
| 17 | + | set color07 "c0/c0/c0" # Base 05 - White |
|
| 18 | + | set color08 "80/80/80" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "80/80/00" # Base 09 |
|
| 27 | + | set color17 "00/80/00" # Base 0F |
|
| 28 | + | set color18 "2a/2a/2a" # Base 01 |
|
| 29 | + | set color19 "55/55/55" # Base 02 |
|
| 30 | + | set color20 "a1/a1/a1" # Base 04 |
|
| 31 | + | set color21 "e0/e0/e0" # Base 06 |
|
| 32 | + | set color_foreground "c0/c0/c0" # Base 05 |
|
| 33 | + | set color_background "00/00/00" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg c0c0c0 # foreground |
|
| 65 | + | __put_template_custom Ph 000000 # background |
|
| 66 | + | __put_template_custom Pi c0c0c0 # bold color |
|
| 67 | + | __put_template_custom Pj 555555 # selection color |
|
| 68 | + | __put_template_custom Pk c0c0c0 # selected text color |
|
| 69 | + | __put_template_custom Pl c0c0c0 # cursor |
|
| 70 | + | __put_template_custom Pm 000000 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "0000ff" blue |
|
| 86 | + | set -gx fish_color_quote "00ff00" green |
|
| 87 | + | set -gx fish_color_redirection "ffff00" yellow |
|
| 88 | + | set -gx fish_color_end "00ffff" cyan |
|
| 89 | + | set -gx fish_color_error "ff0000" red |
|
| 90 | + | set -gx fish_color_param "e0e0e0" cyan |
|
| 91 | + | set -gx fish_color_comment "808080" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "c0c0c0" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "ffff00" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "00ffff" cyan |
|
| 97 | + | set -gx fish_color_escape "00ffff" cyan |
|
| 98 | + | set -gx fish_color_cwd "00ff00" green |
|
| 99 | + | set -gx fish_color_cwd_root "ff0000" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "808080" brblack |
|
| 102 | + | set -gx fish_color_user "00ff00" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "ffff00" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "c0c0c0" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "00" "00" "00" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background windows-nt |
|
| 113 | + | set -U base16_fish_theme windows-nt |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Woodland scheme by Jay Cornwall (https://jcornwall.com) |
|
| 4 | + | ||
| 5 | + | function base16-woodland -d "base16 Woodland theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "23/1e/18" # Base 00 - Black |
|
| 11 | + | set color01 "d3/5c/5c" # Base 08 - Red |
|
| 12 | + | set color02 "b7/ba/53" # Base 0B - Green |
|
| 13 | + | set color03 "e0/ac/16" # Base 0A - Yellow |
|
| 14 | + | set color04 "88/a4/d3" # Base 0D - Blue |
|
| 15 | + | set color05 "bb/90/e2" # Base 0E - Magenta |
|
| 16 | + | set color06 "6e/b9/58" # Base 0C - Cyan |
|
| 17 | + | set color07 "ca/bc/b1" # Base 05 - White |
|
| 18 | + | set color08 "9d/8b/70" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "e4/d4/c8" # Base 07 - Bright White |
|
| 26 | + | set color16 "ca/7f/32" # Base 09 |
|
| 27 | + | set color17 "b4/93/68" # Base 0F |
|
| 28 | + | set color18 "30/2b/25" # Base 01 |
|
| 29 | + | set color19 "48/41/3a" # Base 02 |
|
| 30 | + | set color20 "b4/a4/90" # Base 04 |
|
| 31 | + | set color21 "d7/c8/bc" # Base 06 |
|
| 32 | + | set color_foreground "ca/bc/b1" # Base 05 |
|
| 33 | + | set color_background "23/1e/18" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg cabcb1 # foreground |
|
| 65 | + | __put_template_custom Ph 231e18 # background |
|
| 66 | + | __put_template_custom Pi cabcb1 # bold color |
|
| 67 | + | __put_template_custom Pj 48413a # selection color |
|
| 68 | + | __put_template_custom Pk cabcb1 # selected text color |
|
| 69 | + | __put_template_custom Pl cabcb1 # cursor |
|
| 70 | + | __put_template_custom Pm 231e18 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "88a4d3" blue |
|
| 86 | + | set -gx fish_color_quote "b7ba53" green |
|
| 87 | + | set -gx fish_color_redirection "e0ac16" yellow |
|
| 88 | + | set -gx fish_color_end "6eb958" cyan |
|
| 89 | + | set -gx fish_color_error "d35c5c" red |
|
| 90 | + | set -gx fish_color_param "d7c8bc" cyan |
|
| 91 | + | set -gx fish_color_comment "9d8b70" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "cabcb1" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "e0ac16" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "6eb958" cyan |
|
| 97 | + | set -gx fish_color_escape "6eb958" cyan |
|
| 98 | + | set -gx fish_color_cwd "b7ba53" green |
|
| 99 | + | set -gx fish_color_cwd_root "d35c5c" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "9d8b70" brblack |
|
| 102 | + | set -gx fish_color_user "b7ba53" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "e0ac16" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "cabcb1" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "e4d4c8" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "23" "1e" "18" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background woodland |
|
| 113 | + | set -U base16_fish_theme woodland |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # XCode Dusk scheme by Elsa Gonsiorowski (https://github.com/gonsie) |
|
| 4 | + | ||
| 5 | + | function base16-xcode-dusk -d "base16 XCode Dusk theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "28/2b/35" # Base 00 - Black |
|
| 11 | + | set color01 "b2/18/89" # Base 08 - Red |
|
| 12 | + | set color02 "df/00/02" # Base 0B - Green |
|
| 13 | + | set color03 "43/82/88" # Base 0A - Yellow |
|
| 14 | + | set color04 "79/0e/ad" # Base 0D - Blue |
|
| 15 | + | set color05 "b2/18/89" # Base 0E - Magenta |
|
| 16 | + | set color06 "00/a0/be" # Base 0C - Cyan |
|
| 17 | + | set color07 "93/95/99" # Base 05 - White |
|
| 18 | + | set color08 "68/6a/71" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "be/bf/c2" # Base 07 - Bright White |
|
| 26 | + | set color16 "78/6d/c5" # Base 09 |
|
| 27 | + | set color17 "c7/7c/48" # Base 0F |
|
| 28 | + | set color18 "3d/40/48" # Base 01 |
|
| 29 | + | set color19 "53/55/5d" # Base 02 |
|
| 30 | + | set color20 "7e/80/86" # Base 04 |
|
| 31 | + | set color21 "a9/aa/ae" # Base 06 |
|
| 32 | + | set color_foreground "93/95/99" # Base 05 |
|
| 33 | + | set color_background "28/2b/35" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg 939599 # foreground |
|
| 65 | + | __put_template_custom Ph 282b35 # background |
|
| 66 | + | __put_template_custom Pi 939599 # bold color |
|
| 67 | + | __put_template_custom Pj 53555d # selection color |
|
| 68 | + | __put_template_custom Pk 939599 # selected text color |
|
| 69 | + | __put_template_custom Pl 939599 # cursor |
|
| 70 | + | __put_template_custom Pm 282b35 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "790ead" blue |
|
| 86 | + | set -gx fish_color_quote "df0002" green |
|
| 87 | + | set -gx fish_color_redirection "438288" yellow |
|
| 88 | + | set -gx fish_color_end "00a0be" cyan |
|
| 89 | + | set -gx fish_color_error "b21889" red |
|
| 90 | + | set -gx fish_color_param "a9aaae" cyan |
|
| 91 | + | set -gx fish_color_comment "686a71" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "939599" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "438288" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "00a0be" cyan |
|
| 97 | + | set -gx fish_color_escape "00a0be" cyan |
|
| 98 | + | set -gx fish_color_cwd "df0002" green |
|
| 99 | + | set -gx fish_color_cwd_root "b21889" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "686a71" brblack |
|
| 102 | + | set -gx fish_color_user "df0002" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "438288" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "939599" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "bebfc2" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "28" "2b" "35" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background xcode-dusk |
|
| 113 | + | set -U base16_fish_theme xcode-dusk |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | # base16-fish-shell (https://github.com/FabioAntunes/base16-fish-shell) |
|
| 2 | + | # Inspired by base16-shell (https://github.com/chriskempson/base16-shell) |
|
| 3 | + | # Zenburn scheme by elnawe |
|
| 4 | + | ||
| 5 | + | function base16-zenburn -d "base16 Zenburn theme" |
|
| 6 | + | set options (fish_opt --short=t --long=test) |
|
| 7 | + | argparse $options -- $argv |
|
| 8 | + | ||
| 9 | + | # colors |
|
| 10 | + | set color00 "38/38/38" # Base 00 - Black |
|
| 11 | + | set color01 "dc/a3/a3" # Base 08 - Red |
|
| 12 | + | set color02 "5f/7f/5f" # Base 0B - Green |
|
| 13 | + | set color03 "e0/cf/9f" # Base 0A - Yellow |
|
| 14 | + | set color04 "7c/b8/bb" # Base 0D - Blue |
|
| 15 | + | set color05 "dc/8c/c3" # Base 0E - Magenta |
|
| 16 | + | set color06 "93/e0/e3" # Base 0C - Cyan |
|
| 17 | + | set color07 "dc/dc/cc" # Base 05 - White |
|
| 18 | + | set color08 "6f/6f/6f" # Base 03 - Bright Black |
|
| 19 | + | set color09 $color01 # Base 08 - Bright Red |
|
| 20 | + | set color10 $color02 # Base 0B - Bright Green |
|
| 21 | + | set color11 $color03 # Base 0A - Bright Yellow |
|
| 22 | + | set color12 $color04 # Base 0D - Bright Blue |
|
| 23 | + | set color13 $color05 # Base 0E - Bright Magenta |
|
| 24 | + | set color14 $color06 # Base 0C - Bright Cyan |
|
| 25 | + | set color15 "ff/ff/ff" # Base 07 - Bright White |
|
| 26 | + | set color16 "df/af/8f" # Base 09 |
|
| 27 | + | set color17 "00/00/00" # Base 0F |
|
| 28 | + | set color18 "40/40/40" # Base 01 |
|
| 29 | + | set color19 "60/60/60" # Base 02 |
|
| 30 | + | set color20 "80/80/80" # Base 04 |
|
| 31 | + | set color21 "c0/c0/c0" # Base 06 |
|
| 32 | + | set color_foreground "dc/dc/cc" # Base 05 |
|
| 33 | + | set color_background "38/38/38" # Base 00 |
|
| 34 | + | ||
| 35 | + | # 16 color space |
|
| 36 | + | __put_template 0 $color00 |
|
| 37 | + | __put_template 1 $color01 |
|
| 38 | + | __put_template 2 $color02 |
|
| 39 | + | __put_template 3 $color03 |
|
| 40 | + | __put_template 4 $color04 |
|
| 41 | + | __put_template 5 $color05 |
|
| 42 | + | __put_template 6 $color06 |
|
| 43 | + | __put_template 7 $color07 |
|
| 44 | + | __put_template 8 $color08 |
|
| 45 | + | __put_template 9 $color09 |
|
| 46 | + | __put_template 10 $color10 |
|
| 47 | + | __put_template 11 $color11 |
|
| 48 | + | __put_template 12 $color12 |
|
| 49 | + | __put_template 13 $color13 |
|
| 50 | + | __put_template 14 $color14 |
|
| 51 | + | __put_template 15 $color15 |
|
| 52 | + | ||
| 53 | + | # 256 color space |
|
| 54 | + | __put_template 16 $color16 |
|
| 55 | + | __put_template 17 $color17 |
|
| 56 | + | __put_template 18 $color18 |
|
| 57 | + | __put_template 19 $color19 |
|
| 58 | + | __put_template 20 $color20 |
|
| 59 | + | __put_template 21 $color21 |
|
| 60 | + | ||
| 61 | + | # foreground / background / cursor color |
|
| 62 | + | if test -n "$ITERM_SESSION_ID" |
|
| 63 | + | # iTerm2 proprietary escape codes |
|
| 64 | + | __put_template_custom Pg dcdccc # foreground |
|
| 65 | + | __put_template_custom Ph 383838 # background |
|
| 66 | + | __put_template_custom Pi dcdccc # bold color |
|
| 67 | + | __put_template_custom Pj 606060 # selection color |
|
| 68 | + | __put_template_custom Pk dcdccc # selected text color |
|
| 69 | + | __put_template_custom Pl dcdccc # cursor |
|
| 70 | + | __put_template_custom Pm 383838 # cursor text |
|
| 71 | + | ||
| 72 | + | else |
|
| 73 | + | __put_template_var 10 $color_foreground |
|
| 74 | + | if test "$BASE16_SHELL_SET_BACKGROUND" != false |
|
| 75 | + | __put_template_var 11 $color_background |
|
| 76 | + | if string match -q -- '*rxvt*' $TERM |
|
| 77 | + | __put_template_var 708 $color_background # internal border (rxvt) |
|
| 78 | + | end |
|
| 79 | + | end |
|
| 80 | + | __put_template_custom 12 ";7" # cursor (reverse video) |
|
| 81 | + | end |
|
| 82 | + | ||
| 83 | + | if test -z $base16_fish_shell_disable_prompt_colors |
|
| 84 | + | set -gx fish_color_normal normal |
|
| 85 | + | set -gx fish_color_command "7cb8bb" blue |
|
| 86 | + | set -gx fish_color_quote "5f7f5f" green |
|
| 87 | + | set -gx fish_color_redirection "e0cf9f" yellow |
|
| 88 | + | set -gx fish_color_end "93e0e3" cyan |
|
| 89 | + | set -gx fish_color_error "dca3a3" red |
|
| 90 | + | set -gx fish_color_param "c0c0c0" cyan |
|
| 91 | + | set -gx fish_color_comment "6f6f6f" brblack |
|
| 92 | + | set -gx fish_color_match --background=brblue |
|
| 93 | + | set -gx fish_color_selection "dcdccc" white --bold --background=brblack |
|
| 94 | + | set -gx fish_color_search_match "e0cf9f" bryellow --background=brblack |
|
| 95 | + | set -gx fish_color_history_current --bold |
|
| 96 | + | set -gx fish_color_operator "93e0e3" cyan |
|
| 97 | + | set -gx fish_color_escape "93e0e3" cyan |
|
| 98 | + | set -gx fish_color_cwd "5f7f5f" green |
|
| 99 | + | set -gx fish_color_cwd_root "dca3a3" red |
|
| 100 | + | set -gx fish_color_valid_path --underline |
|
| 101 | + | set -gx fish_color_autosuggestion "6f6f6f" brblack |
|
| 102 | + | set -gx fish_color_user "5f7f5f" brgreen |
|
| 103 | + | set -gx fish_color_host normal |
|
| 104 | + | set -gx fish_color_cancel -r |
|
| 105 | + | set -gx fish_pager_color_completion normal |
|
| 106 | + | set -gx fish_pager_color_description "e0cf9f" yellow |
|
| 107 | + | set -gx fish_pager_color_prefix "dcdccc" white --bold --underline |
|
| 108 | + | set -gx fish_pager_color_progress "ffffff" brwhite --background=cyan |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | __base16_fish_shell_set_background "38" "38" "38" |
|
| 112 | + | __base16_fish_shell_create_vimrc_background zenburn |
|
| 113 | + | set -U base16_fish_theme zenburn |
|
| 114 | + | ||
| 115 | + | if test -n "$_flag_t" |
|
| 116 | + | set base16_colors_hex |
|
| 117 | + | set padded_seq_values (seq -w 0 21) |
|
| 118 | + | for seq_value in $padded_seq_values |
|
| 119 | + | set -l color "color$seq_value" |
|
| 120 | + | set base16_colors_hex $base16_colors_hex (string replace -a / "" $$color) |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | __base16_fish_shell_color_test $base16_colors_hex |
|
| 124 | + | end |
|
| 125 | + | end |
| 1 | + | function fisher --argument-names cmd --description "A plugin manager for Fish" |
|
| 2 | + | set --query fisher_path || set --local fisher_path $__fish_config_dir |
|
| 3 | + | set --local fisher_version 4.4.4 |
|
| 4 | + | set --local fish_plugins $__fish_config_dir/fish_plugins |
|
| 5 | + | ||
| 6 | + | switch "$cmd" |
|
| 7 | + | case -v --version |
|
| 8 | + | echo "fisher, version $fisher_version" |
|
| 9 | + | case "" -h --help |
|
| 10 | + | echo "Usage: fisher install <plugins...> Install plugins" |
|
| 11 | + | echo " fisher remove <plugins...> Remove installed plugins" |
|
| 12 | + | echo " fisher update <plugins...> Update installed plugins" |
|
| 13 | + | echo " fisher update Update all installed plugins" |
|
| 14 | + | echo " fisher list [<regex>] List installed plugins matching regex" |
|
| 15 | + | echo "Options:" |
|
| 16 | + | echo " -v, --version Print version" |
|
| 17 | + | echo " -h, --help Print this help message" |
|
| 18 | + | echo "Variables:" |
|
| 19 | + | echo " \$fisher_path Plugin installation path. Default: $__fish_config_dir" | string replace --regex -- $HOME \~ |
|
| 20 | + | case ls list |
|
| 21 | + | string match --entire --regex -- "$argv[2]" $_fisher_plugins |
|
| 22 | + | case install update remove |
|
| 23 | + | isatty || read --local --null --array stdin && set --append argv $stdin |
|
| 24 | + | ||
| 25 | + | set --local install_plugins |
|
| 26 | + | set --local update_plugins |
|
| 27 | + | set --local remove_plugins |
|
| 28 | + | set --local arg_plugins $argv[2..-1] |
|
| 29 | + | set --local old_plugins $_fisher_plugins |
|
| 30 | + | set --local new_plugins |
|
| 31 | + | ||
| 32 | + | test -e $fish_plugins && set --local file_plugins (string match --regex -- '^[^\s]+$' <$fish_plugins) |
|
| 33 | + | ||
| 34 | + | if ! set --query argv[2] |
|
| 35 | + | if test "$cmd" != update |
|
| 36 | + | echo "fisher: Not enough arguments for command: \"$cmd\"" >&2 && return 1 |
|
| 37 | + | else if ! set --query file_plugins |
|
| 38 | + | echo "fisher: \"$fish_plugins\" file not found: \"$cmd\"" >&2 && return 1 |
|
| 39 | + | end |
|
| 40 | + | set arg_plugins $file_plugins |
|
| 41 | + | end |
|
| 42 | + | ||
| 43 | + | for plugin in $arg_plugins |
|
| 44 | + | set plugin (test -e "$plugin" && realpath $plugin || string lower -- $plugin) |
|
| 45 | + | contains -- "$plugin" $new_plugins || set --append new_plugins $plugin |
|
| 46 | + | end |
|
| 47 | + | ||
| 48 | + | if set --query argv[2] |
|
| 49 | + | for plugin in $new_plugins |
|
| 50 | + | if contains -- "$plugin" $old_plugins |
|
| 51 | + | test "$cmd" = remove && |
|
| 52 | + | set --append remove_plugins $plugin || |
|
| 53 | + | set --append update_plugins $plugin |
|
| 54 | + | else if test "$cmd" = install |
|
| 55 | + | set --append install_plugins $plugin |
|
| 56 | + | else |
|
| 57 | + | echo "fisher: Plugin not installed: \"$plugin\"" >&2 && return 1 |
|
| 58 | + | end |
|
| 59 | + | end |
|
| 60 | + | else |
|
| 61 | + | for plugin in $new_plugins |
|
| 62 | + | contains -- "$plugin" $old_plugins && |
|
| 63 | + | set --append update_plugins $plugin || |
|
| 64 | + | set --append install_plugins $plugin |
|
| 65 | + | end |
|
| 66 | + | ||
| 67 | + | for plugin in $old_plugins |
|
| 68 | + | contains -- "$plugin" $new_plugins || set --append remove_plugins $plugin |
|
| 69 | + | end |
|
| 70 | + | end |
|
| 71 | + | ||
| 72 | + | set --local pid_list |
|
| 73 | + | set --local source_plugins |
|
| 74 | + | set --local fetch_plugins $update_plugins $install_plugins |
|
| 75 | + | set --local fish_path (status fish-path) |
|
| 76 | + | ||
| 77 | + | echo (set_color --bold)fisher $cmd version $fisher_version(set_color normal) |
|
| 78 | + | ||
| 79 | + | for plugin in $fetch_plugins |
|
| 80 | + | set --local source (command mktemp -d) |
|
| 81 | + | set --append source_plugins $source |
|
| 82 | + | ||
| 83 | + | command mkdir -p $source/{completions,conf.d,themes,functions} |
|
| 84 | + | ||
| 85 | + | $fish_path --command " |
|
| 86 | + | if test -e $plugin |
|
| 87 | + | command cp -Rf $plugin/* $source |
|
| 88 | + | else |
|
| 89 | + | set temp (command mktemp -d) |
|
| 90 | + | set repo (string split -- \@ $plugin) || set repo[2] HEAD |
|
| 91 | + | ||
| 92 | + | if set path (string replace --regex -- '^(https://)?gitlab.com/' '' \$repo[1]) |
|
| 93 | + | set name (string split -- / \$path)[-1] |
|
| 94 | + | set url https://gitlab.com/\$path/-/archive/\$repo[2]/\$name-\$repo[2].tar.gz |
|
| 95 | + | else |
|
| 96 | + | set url https://api.github.com/repos/\$repo[1]/tarball/\$repo[2] |
|
| 97 | + | end |
|
| 98 | + | ||
| 99 | + | echo Fetching (set_color --underline)\$url(set_color normal) |
|
| 100 | + | ||
| 101 | + | if command curl -q --silent -L \$url | command tar -xzC \$temp -f - 2>/dev/null |
|
| 102 | + | command cp -Rf \$temp/*/* $source |
|
| 103 | + | else |
|
| 104 | + | echo fisher: Invalid plugin name or host unavailable: \\\"$plugin\\\" >&2 |
|
| 105 | + | command rm -rf $source |
|
| 106 | + | end |
|
| 107 | + | ||
| 108 | + | command rm -rf \$temp |
|
| 109 | + | end |
|
| 110 | + | ||
| 111 | + | set files $source/* && string match --quiet --regex -- .+\.fish\\\$ \$files |
|
| 112 | + | " & |
|
| 113 | + | ||
| 114 | + | set --append pid_list (jobs --last --pid) |
|
| 115 | + | end |
|
| 116 | + | ||
| 117 | + | wait $pid_list 2>/dev/null |
|
| 118 | + | ||
| 119 | + | for plugin in $fetch_plugins |
|
| 120 | + | if set --local source $source_plugins[(contains --index -- "$plugin" $fetch_plugins)] && test ! -e $source |
|
| 121 | + | if set --local index (contains --index -- "$plugin" $install_plugins) |
|
| 122 | + | set --erase install_plugins[$index] |
|
| 123 | + | else |
|
| 124 | + | set --erase update_plugins[(contains --index -- "$plugin" $update_plugins)] |
|
| 125 | + | end |
|
| 126 | + | end |
|
| 127 | + | end |
|
| 128 | + | ||
| 129 | + | for plugin in $update_plugins $remove_plugins |
|
| 130 | + | if set --local index (contains --index -- "$plugin" $_fisher_plugins) |
|
| 131 | + | set --local plugin_files_var _fisher_(string escape --style=var -- $plugin)_files |
|
| 132 | + | ||
| 133 | + | if contains -- "$plugin" $remove_plugins |
|
| 134 | + | for name in (string replace --filter --regex -- '.+/conf\.d/([^/]+)\.fish$' '$1' $$plugin_files_var) |
|
| 135 | + | emit {$name}_uninstall |
|
| 136 | + | end |
|
| 137 | + | printf "%s\n" Removing\ (set_color red --bold)$plugin(set_color normal) " "$$plugin_files_var | string replace -- \~ ~ |
|
| 138 | + | set --erase _fisher_plugins[$index] |
|
| 139 | + | end |
|
| 140 | + | ||
| 141 | + | command rm -rf (string replace -- \~ ~ $$plugin_files_var) |
|
| 142 | + | ||
| 143 | + | functions --erase (string replace --filter --regex -- '.+/functions/([^/]+)\.fish$' '$1' $$plugin_files_var) |
|
| 144 | + | ||
| 145 | + | for name in (string replace --filter --regex -- '.+/completions/([^/]+)\.fish$' '$1' $$plugin_files_var) |
|
| 146 | + | complete --erase --command $name |
|
| 147 | + | end |
|
| 148 | + | ||
| 149 | + | set --erase $plugin_files_var |
|
| 150 | + | end |
|
| 151 | + | end |
|
| 152 | + | ||
| 153 | + | if set --query update_plugins[1] || set --query install_plugins[1] |
|
| 154 | + | command mkdir -p $fisher_path/{functions,themes,conf.d,completions} |
|
| 155 | + | end |
|
| 156 | + | ||
| 157 | + | for plugin in $update_plugins $install_plugins |
|
| 158 | + | set --local source $source_plugins[(contains --index -- "$plugin" $fetch_plugins)] |
|
| 159 | + | set --local files $source/{functions,themes,conf.d,completions}/* |
|
| 160 | + | ||
| 161 | + | if set --local index (contains --index -- $plugin $install_plugins) |
|
| 162 | + | set --local user_files $fisher_path/{functions,themes,conf.d,completions}/* |
|
| 163 | + | set --local conflict_files |
|
| 164 | + | ||
| 165 | + | for file in (string replace -- $source/ $fisher_path/ $files) |
|
| 166 | + | contains -- $file $user_files && set --append conflict_files $file |
|
| 167 | + | end |
|
| 168 | + | ||
| 169 | + | if set --query conflict_files[1] && set --erase install_plugins[$index] |
|
| 170 | + | echo -s "fisher: Cannot install \"$plugin\": please remove or move conflicting files first:" \n" "$conflict_files >&2 |
|
| 171 | + | continue |
|
| 172 | + | end |
|
| 173 | + | end |
|
| 174 | + | ||
| 175 | + | for file in (string replace -- $source/ "" $files) |
|
| 176 | + | command cp -RLf $source/$file $fisher_path/$file |
|
| 177 | + | end |
|
| 178 | + | ||
| 179 | + | set --local plugin_files_var _fisher_(string escape --style=var -- $plugin)_files |
|
| 180 | + | ||
| 181 | + | set --query files[1] && set --universal $plugin_files_var (string replace -- $source $fisher_path $files | string replace -- ~ \~) |
|
| 182 | + | ||
| 183 | + | contains -- $plugin $_fisher_plugins || set --universal --append _fisher_plugins $plugin |
|
| 184 | + | contains -- $plugin $install_plugins && set --local event install || set --local event update |
|
| 185 | + | ||
| 186 | + | printf "%s\n" Installing\ (set_color --bold)$plugin(set_color normal) " "$$plugin_files_var | string replace -- \~ ~ |
|
| 187 | + | ||
| 188 | + | for file in (string match --regex -- '.+/[^/]+\.fish$' $$plugin_files_var | string replace -- \~ ~) |
|
| 189 | + | source $file |
|
| 190 | + | if set --local name (string replace --regex -- '.+conf\.d/([^/]+)\.fish$' '$1' $file) |
|
| 191 | + | emit {$name}_$event |
|
| 192 | + | end |
|
| 193 | + | end |
|
| 194 | + | end |
|
| 195 | + | ||
| 196 | + | command rm -rf $source_plugins |
|
| 197 | + | ||
| 198 | + | if set --query _fisher_plugins[1] |
|
| 199 | + | set --local commit_plugins |
|
| 200 | + | ||
| 201 | + | for plugin in $file_plugins |
|
| 202 | + | contains -- (string lower -- $plugin) (string lower -- $_fisher_plugins) && set --append commit_plugins $plugin |
|
| 203 | + | end |
|
| 204 | + | ||
| 205 | + | for plugin in $_fisher_plugins |
|
| 206 | + | contains -- (string lower -- $plugin) (string lower -- $commit_plugins) || set --append commit_plugins $plugin |
|
| 207 | + | end |
|
| 208 | + | ||
| 209 | + | printf "%s\n" $commit_plugins >$fish_plugins |
|
| 210 | + | else |
|
| 211 | + | set --erase _fisher_plugins |
|
| 212 | + | command rm -f $fish_plugins |
|
| 213 | + | end |
|
| 214 | + | ||
| 215 | + | set --local total (count $install_plugins) (count $update_plugins) (count $remove_plugins) |
|
| 216 | + | ||
| 217 | + | test "$total" != "0 0 0" && echo (string join ", " ( |
|
| 218 | + | test $total[1] = 0 || echo "Installed $total[1]") ( |
|
| 219 | + | test $total[2] = 0 || echo "Updated $total[2]") ( |
|
| 220 | + | test $total[3] = 0 || echo "Removed $total[3]") |
|
| 221 | + | ) plugin/s |
|
| 222 | + | case \* |
|
| 223 | + | echo "fisher: Unknown command: \"$cmd\"" >&2 && return 1 |
|
| 224 | + | end |
|
| 225 | + | end |
|
| 226 | + | ||
| 227 | + | if ! set --query _fisher_upgraded_to_4_4 |
|
| 228 | + | set --universal _fisher_upgraded_to_4_4 |
|
| 229 | + | if functions --query _fisher_list |
|
| 230 | + | set --query XDG_DATA_HOME[1] || set --local XDG_DATA_HOME ~/.local/share |
|
| 231 | + | command rm -rf $XDG_DATA_HOME/fisher |
|
| 232 | + | functions --erase _fisher_{list,plugin_parse} |
|
| 233 | + | fisher update >/dev/null 2>/dev/null |
|
| 234 | + | else |
|
| 235 | + | for var in (set --names | string match --entire --regex '^_fisher_.+_files$') |
|
| 236 | + | set $var (string replace -- ~ \~ $$var) |
|
| 237 | + | end |
|
| 238 | + | functions --erase _fisher_fish_postexec |
|
| 239 | + | end |
|
| 240 | + | end |
| 1 | + | function nvm --description "Node version manager" |
|
| 2 | + | for silent in --silent -s |
|
| 3 | + | if set --local index (contains --index -- $silent $argv) |
|
| 4 | + | set --erase argv[$index] && break |
|
| 5 | + | end |
|
| 6 | + | set --erase silent |
|
| 7 | + | end |
|
| 8 | + | ||
| 9 | + | set --local cmd $argv[1] |
|
| 10 | + | set --local ver $argv[2] |
|
| 11 | + | ||
| 12 | + | if set --query silent && ! set --query cmd[1] |
|
| 13 | + | echo "nvm: Version number not specified (see nvm -h for usage)" >&2 |
|
| 14 | + | return 1 |
|
| 15 | + | end |
|
| 16 | + | ||
| 17 | + | if ! set --query ver[1] && contains -- "$cmd" install use |
|
| 18 | + | for file in .nvmrc .node-version |
|
| 19 | + | set file (_nvm_find_up $PWD $file) && read ver <$file && break |
|
| 20 | + | end |
|
| 21 | + | ||
| 22 | + | if ! set --query ver[1] |
|
| 23 | + | echo "nvm: Invalid version or missing \".nvmrc\" file" >&2 |
|
| 24 | + | return 1 |
|
| 25 | + | end |
|
| 26 | + | end |
|
| 27 | + | ||
| 28 | + | set --local their_version $ver |
|
| 29 | + | ||
| 30 | + | switch "$cmd" |
|
| 31 | + | case -v --version |
|
| 32 | + | echo "nvm, version 2.2.13" |
|
| 33 | + | case "" -h --help |
|
| 34 | + | echo "Usage: nvm install <version> Download and activate the specified Node version" |
|
| 35 | + | echo " nvm install Install the version specified in the nearest .nvmrc file" |
|
| 36 | + | echo " nvm use <version> Activate the specified Node version in the current shell" |
|
| 37 | + | echo " nvm use Activate the version specified in the nearest .nvmrc file" |
|
| 38 | + | echo " nvm list List installed Node versions" |
|
| 39 | + | echo " nvm list-remote List available Node versions to install" |
|
| 40 | + | echo " nvm list-remote <regex> List Node versions matching a given regex pattern" |
|
| 41 | + | echo " nvm current Print the currently-active Node version" |
|
| 42 | + | echo " nvm uninstall <version> Uninstall the specified Node version" |
|
| 43 | + | echo "Options:" |
|
| 44 | + | echo " -s, --silent Suppress standard output" |
|
| 45 | + | echo " -v, --version Print the version of nvm" |
|
| 46 | + | echo " -h, --help Print this help message" |
|
| 47 | + | echo "Variables:" |
|
| 48 | + | echo " nvm_arch Override architecture, e.g. x64-musl" |
|
| 49 | + | echo " nvm_mirror Use a mirror for downloading Node binaries" |
|
| 50 | + | echo " nvm_default_version Set the default version for new shells" |
|
| 51 | + | echo " nvm_default_packages Install a list of packages every time a Node version is installed" |
|
| 52 | + | echo "Examples:" |
|
| 53 | + | echo " nvm install latest Install the latest version of Node" |
|
| 54 | + | echo " nvm use 14.15.1 Use Node version 14.15.1" |
|
| 55 | + | echo " nvm use system Activate the system's Node version" |
|
| 56 | + | ||
| 57 | + | case install |
|
| 58 | + | _nvm_index_update |
|
| 59 | + | ||
| 60 | + | string match --entire --regex -- (_nvm_version_match $ver) <$nvm_data/.index | read ver alias |
|
| 61 | + | ||
| 62 | + | if ! set --query ver[1] |
|
| 63 | + | echo "nvm: Invalid version number or alias: \"$their_version\"" >&2 |
|
| 64 | + | return 1 |
|
| 65 | + | end |
|
| 66 | + | ||
| 67 | + | if test ! -e $nvm_data/$ver |
|
| 68 | + | set --local os (command uname -s | string lower) |
|
| 69 | + | set --local ext tar.gz |
|
| 70 | + | set --local arch (command uname -m) |
|
| 71 | + | ||
| 72 | + | switch $os |
|
| 73 | + | case aix |
|
| 74 | + | set arch ppc64 |
|
| 75 | + | case sunos |
|
| 76 | + | case linux |
|
| 77 | + | case darwin |
|
| 78 | + | case {MSYS_NT,MINGW\*_NT}\* |
|
| 79 | + | set os win |
|
| 80 | + | set ext zip |
|
| 81 | + | case \* |
|
| 82 | + | echo "nvm: Unsupported operating system: \"$os\"" >&2 |
|
| 83 | + | return 1 |
|
| 84 | + | end |
|
| 85 | + | ||
| 86 | + | switch $arch |
|
| 87 | + | case i\*86 |
|
| 88 | + | set arch x86 |
|
| 89 | + | case x86_64 |
|
| 90 | + | set arch x64 |
|
| 91 | + | case arm64 |
|
| 92 | + | string match --regex --quiet "v(?<major>\d+)" $ver |
|
| 93 | + | if test "$os" = darwin -a $major -lt 16 |
|
| 94 | + | set arch x64 |
|
| 95 | + | end |
|
| 96 | + | case armv6 armv6l |
|
| 97 | + | set arch armv6l |
|
| 98 | + | case armv7 armv7l |
|
| 99 | + | set arch armv7l |
|
| 100 | + | case armv8 armv8l aarch64 |
|
| 101 | + | set arch arm64 |
|
| 102 | + | end |
|
| 103 | + | ||
| 104 | + | set --query nvm_arch && set arch $nvm_arch |
|
| 105 | + | ||
| 106 | + | set --local dir "node-$ver-$os-$arch" |
|
| 107 | + | set --local url $nvm_mirror/$ver/$dir.$ext |
|
| 108 | + | ||
| 109 | + | command mkdir -p $nvm_data/$ver |
|
| 110 | + | ||
| 111 | + | if ! set --query silent |
|
| 112 | + | echo -e "Installing Node \x1b[1m$ver\x1b[22m $alias" |
|
| 113 | + | echo -e "Fetching \x1b[4m$url\x1b[24m\x1b[7m" |
|
| 114 | + | end |
|
| 115 | + | ||
| 116 | + | if ! command curl $silent --progress-bar --location $url | |
|
| 117 | + | command tar --extract --gzip --directory $nvm_data/$ver 2>/dev/null |
|
| 118 | + | command rm -rf $nvm_data/$ver |
|
| 119 | + | echo -e "\033[F\33[2K\x1b[0mnvm: Invalid mirror or host unavailable: \"$url\"" >&2 |
|
| 120 | + | return 1 |
|
| 121 | + | end |
|
| 122 | + | ||
| 123 | + | set --query silent || echo -en "\033[F\33[2K\x1b[0m" |
|
| 124 | + | ||
| 125 | + | if test "$os" = win |
|
| 126 | + | command mv $nvm_data/$ver/$dir $nvm_data/$ver/bin |
|
| 127 | + | else |
|
| 128 | + | command mv $nvm_data/$ver/$dir/* $nvm_data/$ver |
|
| 129 | + | command rm -rf $nvm_data/$ver/$dir |
|
| 130 | + | end |
|
| 131 | + | end |
|
| 132 | + | ||
| 133 | + | if test $ver != "$nvm_current_version" |
|
| 134 | + | set --query nvm_current_version && _nvm_version_deactivate $nvm_current_version |
|
| 135 | + | _nvm_version_activate $ver |
|
| 136 | + | ||
| 137 | + | set --query nvm_default_packages[1] && npm install --global $silent $nvm_default_packages |
|
| 138 | + | end |
|
| 139 | + | ||
| 140 | + | set --query silent || printf "Now using Node %s (npm %s) %s\n" (_nvm_node_info) |
|
| 141 | + | case use |
|
| 142 | + | test $ver = default && set ver $nvm_default_version |
|
| 143 | + | _nvm_list | string match --entire --regex -- (_nvm_version_match $ver) | read ver __ |
|
| 144 | + | ||
| 145 | + | if ! set --query ver[1] |
|
| 146 | + | echo "nvm: Can't use Node \"$their_version\", version must be installed first" >&2 |
|
| 147 | + | return 1 |
|
| 148 | + | end |
|
| 149 | + | ||
| 150 | + | if test $ver != "$nvm_current_version" |
|
| 151 | + | set --query nvm_current_version && _nvm_version_deactivate $nvm_current_version |
|
| 152 | + | test $ver != system && _nvm_version_activate $ver |
|
| 153 | + | end |
|
| 154 | + | ||
| 155 | + | set --query silent || printf "Now using Node %s (npm %s) %s\n" (_nvm_node_info) |
|
| 156 | + | case uninstall |
|
| 157 | + | if test -z "$ver" |
|
| 158 | + | echo "nvm: Not enough arguments for command: \"$cmd\"" >&2 |
|
| 159 | + | return 1 |
|
| 160 | + | end |
|
| 161 | + | ||
| 162 | + | test $ver = default && test ! -z "$nvm_default_version" && set ver $nvm_default_version |
|
| 163 | + | ||
| 164 | + | _nvm_list | string match --entire --regex -- (_nvm_version_match $ver) | read ver __ |
|
| 165 | + | ||
| 166 | + | if ! set -q ver[1] |
|
| 167 | + | echo "nvm: Node version not installed or invalid: \"$their_version\"" >&2 |
|
| 168 | + | return 1 |
|
| 169 | + | end |
|
| 170 | + | ||
| 171 | + | set --query silent || printf "Uninstalling Node %s %s\n" $ver (string replace ~ \~ "$nvm_data/$ver/bin/node") |
|
| 172 | + | ||
| 173 | + | _nvm_version_deactivate $ver |
|
| 174 | + | ||
| 175 | + | command rm -rf $nvm_data/$ver |
|
| 176 | + | case current |
|
| 177 | + | _nvm_current |
|
| 178 | + | case ls list |
|
| 179 | + | _nvm_list | _nvm_list_format (_nvm_current) $argv[2] |
|
| 180 | + | case lsr {ls,list}-remote |
|
| 181 | + | _nvm_index_update || return |
|
| 182 | + | _nvm_list | command awk ' |
|
| 183 | + | FILENAME == "-" && (is_local[$1] = FNR == NR) { next } { |
|
| 184 | + | print $0 (is_local[$1] ? " ✓" : "") |
|
| 185 | + | } |
|
| 186 | + | ' - $nvm_data/.index | _nvm_list_format (_nvm_current) $argv[2] |
|
| 187 | + | case \* |
|
| 188 | + | echo "nvm: Unknown command or option: \"$cmd\" (see nvm -h for usage)" >&2 |
|
| 189 | + | return 1 |
|
| 190 | + | end |
|
| 191 | + | end |
|
| 192 | + | ||
| 193 | + | function _nvm_find_up --argument-names path file |
|
| 194 | + | test -e "$path/$file" && echo $path/$file || begin |
|
| 195 | + | test ! -z "$path" || return |
|
| 196 | + | _nvm_find_up (string replace --regex -- '/[^/]*$' "" $path) $file |
|
| 197 | + | end |
|
| 198 | + | end |
|
| 199 | + | ||
| 200 | + | function _nvm_version_match --argument-names ver |
|
| 201 | + | string replace --regex -- '^v?(\d+|\d+\.\d+)$' 'v$1.' $ver | |
|
| 202 | + | string replace --filter --regex -- '^v?(\d+)' 'v$1' | |
|
| 203 | + | string escape --style=regex || string lower '\b'$ver'(?:/\w+)?$' |
|
| 204 | + | end |
|
| 205 | + | ||
| 206 | + | function _nvm_list_format --argument-names current regex |
|
| 207 | + | command awk -v current="$current" -v regex="$regex" ' |
|
| 208 | + | $0 ~ regex { |
|
| 209 | + | aliases[versions[i++] = $1] = $2 " " $3 |
|
| 210 | + | pad = (n = length($1)) > pad ? n : pad |
|
| 211 | + | } |
|
| 212 | + | END { |
|
| 213 | + | if (!i) exit 1 |
|
| 214 | + | while (i--) |
|
| 215 | + | printf((current == versions[i] ? " ▶ " : " ") "%"pad"s %s\n", |
|
| 216 | + | versions[i], aliases[versions[i]]) |
|
| 217 | + | } |
|
| 218 | + | ' |
|
| 219 | + | end |
|
| 220 | + | ||
| 221 | + | function _nvm_current |
|
| 222 | + | command --search --quiet node || return |
|
| 223 | + | set --query nvm_current_version && echo $nvm_current_version || echo system |
|
| 224 | + | end |
|
| 225 | + | ||
| 226 | + | function _nvm_node_info |
|
| 227 | + | set --local npm_path (string replace bin/npm-cli.js "" (realpath (command --search npm))) |
|
| 228 | + | test -f $npm_path/package.json || set --local npm_version_default (command npm --version) |
|
| 229 | + | command node --eval " |
|
| 230 | + | console.log(process.version) |
|
| 231 | + | console.log('$npm_version_default' ? '$npm_version_default': require('$npm_path/package.json').version) |
|
| 232 | + | console.log(process.execPath) |
|
| 233 | + | " | string replace -- ~ \~ |
|
| 234 | + | end |
| 1 | + | function sponge_filter_failed \ |
|
| 2 | + | --argument-names command exit_code previously_in_history |
|
| 3 | + | ||
| 4 | + | if test $previously_in_history = true -a $sponge_allow_previously_successful = true |
|
| 5 | + | return 1 |
|
| 6 | + | end |
|
| 7 | + | ||
| 8 | + | if contains $exit_code $sponge_successful_exit_codes |
|
| 9 | + | return 1 |
|
| 10 | + | end |
|
| 11 | + | end |
| 1 | + | function sponge_filter_matched \ |
|
| 2 | + | --argument-names command |
|
| 3 | + | ||
| 4 | + | for pattern in $sponge_regex_patterns |
|
| 5 | + | if string match --regex --quiet $pattern -- $command |
|
| 6 | + | return |
|
| 7 | + | end |
|
| 8 | + | end |
|
| 9 | + | ||
| 10 | + | return 1 |
|
| 11 | + | end |
| 1 | + | # syntax highlighting variables |
|
| 2 | + | # https://fishshell.com/docs/current/interactive.html#syntax-highlighting-variables |
|
| 3 | + | fish_color_normal 575279 |
|
| 4 | + | fish_color_command 907aa9 |
|
| 5 | + | fish_color_keyword 56949f |
|
| 6 | + | fish_color_quote ea9d34 |
|
| 7 | + | fish_color_redirection 286983 |
|
| 8 | + | fish_color_end 797593 |
|
| 9 | + | fish_color_error b4637a |
|
| 10 | + | fish_color_param d7827e |
|
| 11 | + | fish_color_comment 797593 |
|
| 12 | + | # fish_color_match --background=brblue |
|
| 13 | + | fish_color_selection --reverse |
|
| 14 | + | # fish_color_history_current --bold |
|
| 15 | + | fish_color_operator 575279 |
|
| 16 | + | fish_color_escape 286983 |
|
| 17 | + | fish_color_autosuggestion 797593 |
|
| 18 | + | fish_color_cwd d7827e |
|
| 19 | + | # fish_color_cwd_root red |
|
| 20 | + | fish_color_user ea9d34 |
|
| 21 | + | fish_color_host 56949f |
|
| 22 | + | fish_color_host_remote 907aa9 |
|
| 23 | + | fish_color_cancel 575279 |
|
| 24 | + | fish_color_search_match --background=faf4ed |
|
| 25 | + | fish_color_valid_path |
|
| 26 | + | ||
| 27 | + | # pager color variables |
|
| 28 | + | # https://fishshell.com/docs/current/interactive.html#pager-color-variables |
|
| 29 | + | fish_pager_color_progress d7827e |
|
| 30 | + | fish_pager_color_background --background=fffaf3 |
|
| 31 | + | fish_pager_color_prefix 56949f |
|
| 32 | + | fish_pager_color_completion 797593 |
|
| 33 | + | fish_pager_color_description 797593 |
|
| 34 | + | fish_pager_color_secondary_background |
|
| 35 | + | fish_pager_color_secondary_prefix |
|
| 36 | + | fish_pager_color_secondary_completion |
|
| 37 | + | fish_pager_color_secondary_description |
|
| 38 | + | fish_pager_color_selected_background --background=f2e9e1 |
|
| 39 | + | fish_pager_color_selected_prefix 56949f |
|
| 40 | + | fish_pager_color_selected_completion 575279 |
|
| 41 | + | fish_pager_color_selected_description 575279 |
| 1 | + | # syntax highlighting variables |
|
| 2 | + | # https://fishshell.com/docs/current/interactive.html#syntax-highlighting-variables |
|
| 3 | + | fish_color_normal e0def4 |
|
| 4 | + | fish_color_command c4a7e7 |
|
| 5 | + | fish_color_keyword 9ccfd8 |
|
| 6 | + | fish_color_quote f6c177 |
|
| 7 | + | fish_color_redirection 3e8fb0 |
|
| 8 | + | fish_color_end 908caa |
|
| 9 | + | fish_color_error eb6f92 |
|
| 10 | + | fish_color_param ea9a97 |
|
| 11 | + | fish_color_comment 908caa |
|
| 12 | + | # fish_color_match --background=brblue |
|
| 13 | + | fish_color_selection --reverse |
|
| 14 | + | # fish_color_history_current --bold |
|
| 15 | + | fish_color_operator e0def4 |
|
| 16 | + | fish_color_escape 3e8fb0 |
|
| 17 | + | fish_color_autosuggestion 908caa |
|
| 18 | + | fish_color_cwd ea9a97 |
|
| 19 | + | # fish_color_cwd_root red |
|
| 20 | + | fish_color_user f6c177 |
|
| 21 | + | fish_color_host 9ccfd8 |
|
| 22 | + | fish_color_host_remote c4a7e7 |
|
| 23 | + | fish_color_cancel e0def4 |
|
| 24 | + | fish_color_search_match --background=232136 |
|
| 25 | + | fish_color_valid_path |
|
| 26 | + | ||
| 27 | + | # pager color variables |
|
| 28 | + | # https://fishshell.com/docs/current/interactive.html#pager-color-variables |
|
| 29 | + | fish_pager_color_progress ea9a97 |
|
| 30 | + | fish_pager_color_background --background=2a273f |
|
| 31 | + | fish_pager_color_prefix 9ccfd8 |
|
| 32 | + | fish_pager_color_completion 908caa |
|
| 33 | + | fish_pager_color_description 908caa |
|
| 34 | + | fish_pager_color_secondary_background |
|
| 35 | + | fish_pager_color_secondary_prefix |
|
| 36 | + | fish_pager_color_secondary_completion |
|
| 37 | + | fish_pager_color_secondary_description |
|
| 38 | + | fish_pager_color_selected_background --background=393552 |
|
| 39 | + | fish_pager_color_selected_prefix 9ccfd8 |
|
| 40 | + | fish_pager_color_selected_completion e0def4 |
|
| 41 | + | fish_pager_color_selected_description e0def4 |
| 1 | + | # syntax highlighting variables |
|
| 2 | + | # https://fishshell.com/docs/current/interactive.html#syntax-highlighting-variables |
|
| 3 | + | fish_color_normal e0def4 |
|
| 4 | + | fish_color_command c4a7e7 |
|
| 5 | + | fish_color_keyword 9ccfd8 |
|
| 6 | + | fish_color_quote f6c177 |
|
| 7 | + | fish_color_redirection 31748f |
|
| 8 | + | fish_color_end 908caa |
|
| 9 | + | fish_color_error eb6f92 |
|
| 10 | + | fish_color_param ebbcba |
|
| 11 | + | fish_color_comment 908caa |
|
| 12 | + | # fish_color_match --background=brblue |
|
| 13 | + | fish_color_selection --reverse |
|
| 14 | + | # fish_color_history_current --bold |
|
| 15 | + | fish_color_operator e0def4 |
|
| 16 | + | fish_color_escape 31748f |
|
| 17 | + | fish_color_autosuggestion 908caa |
|
| 18 | + | fish_color_cwd ebbcba |
|
| 19 | + | # fish_color_cwd_root red |
|
| 20 | + | fish_color_user f6c177 |
|
| 21 | + | fish_color_host 9ccfd8 |
|
| 22 | + | fish_color_host_remote c4a7e7 |
|
| 23 | + | fish_color_cancel e0def4 |
|
| 24 | + | fish_color_search_match --background=191724 |
|
| 25 | + | fish_color_valid_path |
|
| 26 | + | ||
| 27 | + | # pager color variables |
|
| 28 | + | # https://fishshell.com/docs/current/interactive.html#pager-color-variables |
|
| 29 | + | fish_pager_color_progress ebbcba |
|
| 30 | + | fish_pager_color_background --background=1f1d2e |
|
| 31 | + | fish_pager_color_prefix 9ccfd8 |
|
| 32 | + | fish_pager_color_completion 908caa |
|
| 33 | + | fish_pager_color_description 908caa |
|
| 34 | + | fish_pager_color_secondary_background |
|
| 35 | + | fish_pager_color_secondary_prefix |
|
| 36 | + | fish_pager_color_secondary_completion |
|
| 37 | + | fish_pager_color_secondary_description |
|
| 38 | + | fish_pager_color_selected_background --background=26233a |
|
| 39 | + | fish_pager_color_selected_prefix 9ccfd8 |
|
| 40 | + | fish_pager_color_selected_completion e0def4 |
|
| 41 | + | fish_pager_color_selected_description e0def4 |
Binary file — no preview.
| 1 | + | # Source: https://github.com/chick2d/neofetch-themes |
|
| 2 | + | # Configuration made by Chick |
|
| 3 | + | ||
| 4 | + | # See this wiki page for more info: |
|
| 5 | + | # https://github.com/dylanaraps/neofetch/wiki/Customizing-Info |
|
| 6 | + | ||
| 7 | + | # I used custom seperators as the older one looked not very properly proportioned |
|
| 8 | + | ||
| 9 | + | print_info() { |
|
| 10 | + | prin "┌─────────\n Hardware Information \n─────────┐" |
|
| 11 | + | info " " model |
|
| 12 | + | # info " " disk |
|
| 13 | + | info " " memory |
|
| 14 | + | info " " resolution |
|
| 15 | + | info " " battery |
|
| 16 | + | prin "├─────────\n Software Information \n─────────┤" |
|
| 17 | + | info " " users |
|
| 18 | + | info " " distro |
|
| 19 | + | # Just get your distro's logo off nerdfonts.com |
|
| 20 | + | #info " " kernel |
|
| 21 | + | # info " " de |
|
| 22 | + | info " " wm |
|
| 23 | + | info " " shell |
|
| 24 | + | # info " " term |
|
| 25 | + | # info " " term_font |
|
| 26 | + | # info " │ " font |
|
| 27 | + | prin " " $(cat ~/.config/tinted-theming/theme_name) |
|
| 28 | + | # info " " icons |
|
| 29 | + | info " " packages |
|
| 30 | + | info " " uptime |
|
| 31 | + | # info " " gpu_driver # Linux/macOS only |
|
| 32 | + | # info " " cpu_usage |
|
| 33 | + | # info " ﱘ " song |
|
| 34 | + | # [[ "$player" ]] && prin "Music Player" "$player" |
|
| 35 | + | # info " " local_ip |
|
| 36 | + | # info " " public_ip |
|
| 37 | + | # info " " locale # This only works on glibc systems. |
|
| 38 | + | prin "└───────────────────────────────────────┘" |
|
| 39 | + | info cols |
|
| 40 | + | prin "\n \n \n \n \n ${cl3} \n \n ${cl5} \n \n ${cl2} \n \n ${cl6} \n \n ${cl4} \n \n ${cl1} \n \n ${cl7} \n \n ${cl0}" |
|
| 41 | + | } |
|
| 42 | + | ||
| 43 | + | kernel_shorthand="on" |
|
| 44 | + | distro_shorthand="off" |
|
| 45 | + | os_arch="off" |
|
| 46 | + | uptime_shorthand="on" |
|
| 47 | + | memory_percent="on" |
|
| 48 | + | package_managers="on" |
|
| 49 | + | shell_path="off" |
|
| 50 | + | shell_version="on" |
|
| 51 | + | speed_type="bios_limit" |
|
| 52 | + | speed_shorthand="on" |
|
| 53 | + | cpu_brand="off" |
|
| 54 | + | cpu_speed="off" |
|
| 55 | + | cpu_cores="logical" |
|
| 56 | + | cpu_temp="on" |
|
| 57 | + | gpu_brand="off" |
|
| 58 | + | gpu_type="all" |
|
| 59 | + | refresh_rate="on" |
|
| 60 | + | gtk_shorthand="on" |
|
| 61 | + | gtk2="on" |
|
| 62 | + | gtk3="on" |
|
| 63 | + | public_ip_host="http://ident.me" |
|
| 64 | + | public_ip_timeout=2 |
|
| 65 | + | disk_show=('/') |
|
| 66 | + | music_player="vlc" |
|
| 67 | + | song_format="%artist% - %title%" |
|
| 68 | + | song_shorthand="off" |
|
| 69 | + | colors=(distro) |
|
| 70 | + | bold="on" |
|
| 71 | + | underline_enabled="on" |
|
| 72 | + | underline_char="-" |
|
| 73 | + | separator=" " |
|
| 74 | + | color_blocks="off" |
|
| 75 | + | block_range=(0 15) # Colorblocks |
|
| 76 | + | ||
| 77 | + | # Colors for custom colorblocks |
|
| 78 | + | magenta="\033[1;35m" |
|
| 79 | + | green="\033[1;32m" |
|
| 80 | + | white="\033[1;37m" |
|
| 81 | + | blue="\033[1;34m" |
|
| 82 | + | red="\033[1;31m" |
|
| 83 | + | black="\033[1;40;30m" |
|
| 84 | + | yellow="\033[1;33m" |
|
| 85 | + | cyan="\033[1;36m" |
|
| 86 | + | reset="\033[0m" |
|
| 87 | + | bgyellow="\033[1;43;33m" |
|
| 88 | + | bgwhite="\033[1;47;37m" |
|
| 89 | + | cl0="${reset}" |
|
| 90 | + | cl1="${magenta}" |
|
| 91 | + | cl2="${green}" |
|
| 92 | + | cl3="${white}" |
|
| 93 | + | cl4="${blue}" |
|
| 94 | + | cl5="${red}" |
|
| 95 | + | cl6="${yellow}" |
|
| 96 | + | cl7="${cyan}" |
|
| 97 | + | cl8="${black}" |
|
| 98 | + | cl9="${bgyellow}" |
|
| 99 | + | cl10="${bgwhite}" |
|
| 100 | + | ||
| 101 | + | block_width=4 |
|
| 102 | + | block_height=1 |
|
| 103 | + | ||
| 104 | + | bar_char_elapsed="-" |
|
| 105 | + | bar_char_total="=" |
|
| 106 | + | bar_border="on" |
|
| 107 | + | bar_length=15 |
|
| 108 | + | bar_color_elapsed="distro" |
|
| 109 | + | bar_color_total="distro" |
|
| 110 | + | ||
| 111 | + | cpu_display="on" |
|
| 112 | + | memory_display="on" |
|
| 113 | + | battery_display="on" |
|
| 114 | + | disk_display="on" |
|
| 115 | + | ||
| 116 | + | image_backend="ascii" |
|
| 117 | + | #image_source="$HOME/" |
|
| 118 | + | image_size="auto" |
|
| 119 | + | image_loop="off" |
|
| 120 | + | ||
| 121 | + | aascii_distro="auto" |
|
| 122 | + | ascii_colors=(distro) |
|
| 123 | + | ascii_bold="on" |
|
| 124 | + | ||
| 125 | + | thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" |
|
| 126 | + | crop_mode="normal" |
|
| 127 | + | crop_offset="center" |
|
| 128 | + | ||
| 129 | + | gap=2 |
|
| 130 | + | ||
| 131 | + | yoffset=0 |
|
| 132 | + | xoffset=0 |
|
| 133 | + | ||
| 134 | + | stdout="off" |
|
| 135 | + |
| 1 | + | #!/bin/bash |
|
| 2 | + | cat ~/.config/tinted-theming/theme_name |
Binary file — no preview.
| 1 | + | local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" |
|
| 2 | + | if not vim.loop.fs_stat(lazypath) then |
|
| 3 | + | vim.fn.system({ |
|
| 4 | + | "git", |
|
| 5 | + | "clone", |
|
| 6 | + | --filter=blob:none", |
|
| 7 | + | "https://github.com/folke/lazy.nvim.git", |
|
| 8 | + | "--branch=stable", -- latest stable release |
|
| 9 | + | lazypath, |
|
| 10 | + | }) |
|
| 11 | + | end |
|
| 12 | + | vim.opt.rtp:prepend(lazypath) |
|
| 13 | + | ||
| 14 | + | require("options") |
|
| 15 | + | require("keymaps") |
|
| 16 | + | require("autocommands") |
|
| 17 | + | require("lazy").setup("plugins") |
| 1 | + | { |
|
| 2 | + | "Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" }, |
|
| 3 | + | "LuaSnip": { "branch": "master", "commit": "1f4ad8bb72bdeb60975e98652636b991a9b7475d" }, |
|
| 4 | + | "base16-vim": { "branch": "main", "commit": "5b54dcbb679ea208bd0a2d814fae4787a2764c1f" }, |
|
| 5 | + | "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, |
|
| 6 | + | "cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" }, |
|
| 7 | + | "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, |
|
| 8 | + | "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, |
|
| 9 | + | "conform.nvim": { "branch": "master", "commit": "ca3dfba94600aa62bfc88ae37cbd4f17eaea2553" }, |
|
| 10 | + | "dressing.nvim": { "branch": "master", "commit": "fe3071330a0720ce3695ac915820c8134b22d1b0" }, |
|
| 11 | + | "friendly-snippets": { "branch": "main", "commit": "43727c2ff84240e55d4069ec3e6158d74cb534b6" }, |
|
| 12 | + | "gitsigns.nvim": { "branch": "main", "commit": "af0f583cd35286dd6f0e3ed52622728703237e50" }, |
|
| 13 | + | "indent-blankline.nvim": { "branch": "master", "commit": "29be0919b91fb59eca9e90690d76014233392bef" }, |
|
| 14 | + | "lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" }, |
|
| 15 | + | "lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" }, |
|
| 16 | + | "mason-lspconfig.nvim": { "branch": "main", "commit": "faeb361507aa1ef1b0e5645781e2aa0d36a4aa84" }, |
|
| 17 | + | "mason.nvim": { "branch": "main", "commit": "41e75af1f578e55ba050c863587cffde3556ffa6" }, |
|
| 18 | + | "mini.indentscope": { "branch": "main", "commit": "c8fdafa7bf603d758986a27eb546c55a5c73b1a3" }, |
|
| 19 | + | "mini.pairs": { "branch": "main", "commit": "71f117fd57f930da6ef4126b24f594dd398bac26" }, |
|
| 20 | + | "mini.surround": { "branch": "main", "commit": "af8129efcabe95fc08a233e9f91569829bed031f" }, |
|
| 21 | + | "neo-tree.nvim": { "branch": "v3.x", "commit": "f053f09962819c1558cd93639aa80edf7c314c17" }, |
|
| 22 | + | "noice.nvim": { "branch": "main", "commit": "92433164e2f7118d4122c7674c3834d9511722ba" }, |
|
| 23 | + | "nui.nvim": { "branch": "main", "commit": "c0c8e347ceac53030f5c1ece1c5a5b6a17a25b32" }, |
|
| 24 | + | "nvim-base16": { "branch": "master", "commit": "010bedf0b7c01ab4d4e4e896a8527d97c222351d" }, |
|
| 25 | + | "nvim-cmp": { "branch": "main", "commit": "0b751f6beef40fd47375eaf53d3057e0bfa317e4" }, |
|
| 26 | + | "nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" }, |
|
| 27 | + | "nvim-lspconfig": { "branch": "master", "commit": "0a0682d4646a6869b85a4e4d0e30da5ef8b11f66" }, |
|
| 28 | + | "nvim-notify": { "branch": "master", "commit": "e4a2022f4fec2d5ebc79afa612f96d8b11c627b3" }, |
|
| 29 | + | "nvim-treesitter": { "branch": "master", "commit": "c0da2013d1cef768c00f3f0b7f365fe19a10bca3" }, |
|
| 30 | + | "nvim-treesitter-textobjects": { "branch": "master", "commit": "dbcd9388e3b119a87c785e10a00d62876077d23d" }, |
|
| 31 | + | "nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" }, |
|
| 32 | + | "nvim-web-devicons": { "branch": "master", "commit": "11eb26fc166742db8d1e8a6f5a7de9df37b09aae" }, |
|
| 33 | + | "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, |
|
| 34 | + | "smart-open.nvim": { "branch": "0.2.x", "commit": "026091fe7f9b283aa1f5f4bb8c56aa5bcad43dbd" }, |
|
| 35 | + | "sqlite.lua": { "branch": "master", "commit": "b7e28c8463254c46a8e61c52d27d6a2040492fc3" }, |
|
| 36 | + | "tailwindcss-colorizer-cmp.nvim": { "branch": "main", "commit": "bc25c56083939f274edcfe395c6ff7de23b67c50" }, |
|
| 37 | + | "telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" }, |
|
| 38 | + | "telescope-fzy-native.nvim": { "branch": "master", "commit": "282f069504515eec762ab6d6c89903377252bf5b" }, |
|
| 39 | + | "telescope.nvim": { "branch": "master", "commit": "776b509f80dd49d8205b9b0d94485568236d1192" }, |
|
| 40 | + | "toggleterm.nvim": { "branch": "main", "commit": "faee9d60428afc7857e0927fdc18daa6c409fa64" }, |
|
| 41 | + | "vim-astro": { "branch": "main", "commit": "9b4674ecfe1dd84b5fb9b4de1653975de6e8e2e1" }, |
|
| 42 | + | "vim-illuminate": { "branch": "master", "commit": "3bd2ab64b5d63b29e05691e624927e5ebbf0fb86" }, |
|
| 43 | + | "vim-startuptime": { "branch": "master", "commit": "454b3de856b7bd298700de33d79774ca9b9e3875" }, |
|
| 44 | + | "vim-tmux-navigator": { "branch": "master", "commit": "7db70e08ea03b3e4d91f63713d76134512e28d7e" } |
|
| 45 | + | } |
| 1 | + | vim.api.nvim_create_autocmd("VimEnter", { |
|
| 2 | + | callback = function() |
|
| 3 | + | if vim.fn.argv(0) == "" then |
|
| 4 | + | require("telescope.builtin").find_files() |
|
| 5 | + | end |
|
| 6 | + | end, |
|
| 7 | + | }) |
|
| 8 | + | ||
| 9 | + | vim.api.nvim_create_autocmd("BufEnter", { |
|
| 10 | + | callback = function() |
|
| 11 | + | vim.cmd("silent! lua require('colorizer').attach_to_buffer(0)") |
|
| 12 | + | end, |
|
| 13 | + | }) |
| 1 | + | local opts = { noremap = true, silent = true } |
|
| 2 | + | local map = vim.api.nvim_set_keymap |
|
| 3 | + | ||
| 4 | + | -- format |
|
| 5 | + | -- Fast saving |
|
| 6 | + | map("n", "++", ":write!<CR>", opts) |
|
| 7 | + | ||
| 8 | + | -- Some useful quickfix shortcuts for quickfix |
|
| 9 | + | map("n", "<C-n>", "<cmd>cnext<CR>zz", opts) |
|
| 10 | + | map("n", "<C-m>", "<cmd>cprev<CR>zz", opts) |
|
| 11 | + | map("n", "<leader>a", "<cmd>cclose<CR>", opts) |
|
| 12 | + | ||
| 13 | + | -- Exit on jj and jk |
|
| 14 | + | map("n", "j", "gj", opts) |
|
| 15 | + | map("n", "k", "gk", opts) |
|
| 16 | + | ||
| 17 | + | -- Exit on jj and jk |
|
| 18 | + | map("i", "jj", "<ESC>", opts) |
|
| 19 | + | map("i", "jk", "<ESC>", opts) |
|
| 20 | + | ||
| 21 | + | -- Remove search highlight |
|
| 22 | + | map("n", "<Leader>h", ":nohlsearch<CR>", opts) |
|
| 23 | + | ||
| 24 | + | -- Grab text between curly braces |
|
| 25 | + | map("n", "YY", "va{Vy", opts) |
|
| 26 | + | ||
| 27 | + | -- goodies |
|
| 28 | + | map("n", "n", "nzzzv", opts) |
|
| 29 | + | map("n", "N", "Nzzzv", opts) |
|
| 30 | + | map("n", "J", "mzJ`z", opts) |
|
| 31 | + | map("n", "<C-d>", "<C-d>zz", opts) |
|
| 32 | + | map("n", "<C-u>", "<C-u>zz", opts) |
|
| 33 | + | ||
| 34 | + | -- Navigate buffers |
|
| 35 | + | map("n", "<S-l>", ":bnext<CR>", opts) |
|
| 36 | + | map("n", "<S-h>", ":bprevious<CR>", opts) |
|
| 37 | + | ||
| 38 | + | -- If I visually select words and paste from clipboard, don't replace my |
|
| 39 | + | -- clipboard with the selected word, instead keep my old word in the |
|
| 40 | + | -- clipboard |
|
| 41 | + | map("x", "p", '"_dP', opts) |
|
| 42 | + | ||
| 43 | + | -- Better split switching |
|
| 44 | + | -- map("n", "<C-h>", "<C-w>h", opts) |
|
| 45 | + | -- map("n", "<C-j>", "<C-w>j", opts) |
|
| 46 | + | -- map("n", "<C-k>", "<C-w>k", opts) |
|
| 47 | + | -- map("n", "<C-l>", "<C-w>l", opts) |
|
| 48 | + | ||
| 49 | + | ||
| 50 | + | -- Visual -- |
|
| 51 | + | -- Stay in indent mode |
|
| 52 | + | map("v", "<", "<gv", opts) |
|
| 53 | + | map("v", ">", ">gv", opts) |
|
| 54 | + | ||
| 55 | + | -- Visually select lines, and move them up/down |
|
| 56 | + | map("v", "J", ":m '>+1<CR>gv=gv", opts) |
|
| 57 | + | map("v", "K", ":m '<-2<CR>gv=gv", opts) |
|
| 58 | + | ||
| 59 | + | map("n", "<leader>c", ":bd<cr>", opts) |
| 1 | + | vim.g.mapleader = " " |
|
| 2 | + | vim.g.maplocalleader = "\\" |
|
| 3 | + | ||
| 4 | + | vim.g.autoformat = true |
|
| 5 | + | ||
| 6 | + | vim.g.root_spec = { "lsp", { ".git", "lua" }, "cwd" } |
|
| 7 | + | ||
| 8 | + | local opt = vim.opt |
|
| 9 | + | ||
| 10 | + | opt.autowrite = true -- Enable auto write |
|
| 11 | + | opt.clipboard = "unnamedplus" -- Sync with system clipboard |
|
| 12 | + | opt.completeopt = "menu,menuone,noselect" |
|
| 13 | + | opt.conceallevel = 3 -- Hide * markup for bold and italic |
|
| 14 | + | opt.confirm = true -- Confirm to save changes before exiting modified buffer |
|
| 15 | + | opt.cursorline = true -- Enable highlighting of the current line |
|
| 16 | + | opt.expandtab = true -- Use spaces instead of tabs |
|
| 17 | + | opt.formatoptions = "jcroqlnt" -- tcqj |
|
| 18 | + | opt.grepformat = "%f:%l:%c:%m" |
|
| 19 | + | opt.grepprg = "rg --vimgrep" |
|
| 20 | + | opt.ignorecase = true -- Ignore case |
|
| 21 | + | opt.inccommand = "nosplit" -- preview incremental substitute |
|
| 22 | + | opt.laststatus = 3 -- global statusline |
|
| 23 | + | opt.list = true -- Show some invisible characters (tabs... |
|
| 24 | + | opt.mouse = "a" -- Enable mouse mode |
|
| 25 | + | opt.number = true -- Print line number |
|
| 26 | + | opt.pumblend = 10 -- Popup blend |
|
| 27 | + | opt.pumheight = 10 -- Maximum number of entries in a popup |
|
| 28 | + | opt.relativenumber = true -- Relative line numbers |
|
| 29 | + | opt.scrolloff = 4 -- Lines of context |
|
| 30 | + | opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize", "help", "globals", "skiprtp", "folds" } |
|
| 31 | + | opt.shiftround = true -- Round indent |
|
| 32 | + | opt.shiftwidth = 2 -- Size of an indent |
|
| 33 | + | opt.shortmess:append({ W = true, I = true, c = true, C = true }) |
|
| 34 | + | opt.showmode = false -- Dont show mode since we have a statusline |
|
| 35 | + | opt.sidescrolloff = 8 -- Columns of context |
|
| 36 | + | opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time |
|
| 37 | + | opt.smartcase = true -- Don't ignore case with capitals |
|
| 38 | + | opt.smartindent = true -- Insert indents automatically |
|
| 39 | + | opt.spelllang = { "en" } |
|
| 40 | + | opt.splitbelow = true -- Put new windows below current |
|
| 41 | + | opt.splitkeep = "screen" |
|
| 42 | + | opt.splitright = true -- Put new windows right of current |
|
| 43 | + | opt.tabstop = 2 -- Number of spaces tabs count for |
|
| 44 | + | opt.termguicolors = true -- True color support |
|
| 45 | + | opt.timeoutlen = 300 |
|
| 46 | + | opt.undofile = true |
|
| 47 | + | opt.undolevels = 10000 |
|
| 48 | + | opt.updatetime = 200 -- Save swap file and trigger CursorHold |
|
| 49 | + | opt.virtualedit = "block" -- Allow cursor to move where there is no text in visual block mode |
|
| 50 | + | opt.wildmode = "longest:full,full" -- Command-line completion mode |
|
| 51 | + | opt.winminwidth = 5 -- Minimum window width |
|
| 52 | + | opt.wrap = false -- Disable line wrap |
|
| 53 | + | opt.fillchars = { |
|
| 54 | + | foldopen = "", |
|
| 55 | + | foldclose = "", |
|
| 56 | + | -- fold = "⸱", |
|
| 57 | + | fold = " ", |
|
| 58 | + | foldsep = " ", |
|
| 59 | + | diff = "╱", |
|
| 60 | + | eob = " ", |
|
| 61 | + | } |
|
| 62 | + | ||
| 63 | + | if vim.fn.has("nvim-0.10") == 1 then |
|
| 64 | + | opt.smoothscroll = true |
|
| 65 | + | end |
|
| 66 | + | ||
| 67 | + | -- Fix markdown indentation settings |
|
| 68 | + | vim.g.markdown_recommended_style = 0 |
| 1 | + | return { |
|
| 2 | + | "wuelnerdotexe/vim-astro", |
|
| 3 | + | } |
| 1 | + | return { |
|
| 2 | + | "RRethy/nvim-base16", |
|
| 3 | + | enabled = true, |
|
| 4 | + | config = function() |
|
| 5 | + | require("base16-colorscheme").with_config({ |
|
| 6 | + | telescope = false, |
|
| 7 | + | indentblankline = true, |
|
| 8 | + | notify = true, |
|
| 9 | + | ts_rainbow = true, |
|
| 10 | + | cmp = true, |
|
| 11 | + | illuminate = true, |
|
| 12 | + | }) |
|
| 13 | + | end, |
|
| 14 | + | } |
|
| 15 | + |
| 1 | + | return { |
|
| 2 | + | { |
|
| 3 | + | "L3MON4D3/LuaSnip", |
|
| 4 | + | dependencies = { |
|
| 5 | + | "rafamadriz/friendly-snippets", |
|
| 6 | + | config = function() |
|
| 7 | + | require("luasnip.loaders.from_vscode").lazy_load() |
|
| 8 | + | end, |
|
| 9 | + | }, |
|
| 10 | + | opts = { |
|
| 11 | + | history = true, |
|
| 12 | + | delete_check_events = "TextChanged", |
|
| 13 | + | }, |
|
| 14 | + | -- stylua: ignore |
|
| 15 | + | keys = { |
|
| 16 | + | { |
|
| 17 | + | "<tab>", |
|
| 18 | + | function() |
|
| 19 | + | return require("luasnip").jumpable(1) and "<Plug>luasnip-jump-next" or "<tab>" |
|
| 20 | + | end, |
|
| 21 | + | expr = true, silent = true, mode = "i", |
|
| 22 | + | }, |
|
| 23 | + | { "<tab>", function() require("luasnip").jump(1) end, mode = "s" }, |
|
| 24 | + | { "<s-tab>", function() require("luasnip").jump(-1) end, mode = { "i", "s" } }, |
|
| 25 | + | }, |
|
| 26 | + | }, |
|
| 27 | + | { |
|
| 28 | + | "hrsh7th/nvim-cmp", |
|
| 29 | + | version = false, -- last release is way too old |
|
| 30 | + | event = "InsertEnter", |
|
| 31 | + | dependencies = { |
|
| 32 | + | "hrsh7th/cmp-nvim-lsp", |
|
| 33 | + | "hrsh7th/cmp-buffer", |
|
| 34 | + | "hrsh7th/cmp-path", |
|
| 35 | + | "saadparwaiz1/cmp_luasnip", |
|
| 36 | + | }, |
|
| 37 | + | opts = function() |
|
| 38 | + | vim.api.nvim_set_hl(0, "CmpGhostText", { link = "Comment", default = true }) |
|
| 39 | + | local cmp = require("cmp") |
|
| 40 | + | local defaults = require("cmp.config.default")() |
|
| 41 | + | return { |
|
| 42 | + | completion = { |
|
| 43 | + | completeopt = "menu,menuone,noinsert", |
|
| 44 | + | }, |
|
| 45 | + | snippet = { |
|
| 46 | + | expand = function(args) |
|
| 47 | + | require("luasnip").lsp_expand(args.body) |
|
| 48 | + | end, |
|
| 49 | + | }, |
|
| 50 | + | mapping = cmp.mapping.preset.insert({ |
|
| 51 | + | ["<C-n>"] = cmp.mapping.select_next_item({ behavior = cmp.SelectBehavior.Insert }), |
|
| 52 | + | ["<C-p>"] = cmp.mapping.select_prev_item({ behavior = cmp.SelectBehavior.Insert }), |
|
| 53 | + | ["<C-b>"] = cmp.mapping.scroll_docs(-4), |
|
| 54 | + | ["<C-f>"] = cmp.mapping.scroll_docs(4), |
|
| 55 | + | ["<C-Space>"] = cmp.mapping.complete(), |
|
| 56 | + | ["<C-e>"] = cmp.mapping.abort(), |
|
| 57 | + | ["<CR>"] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. |
|
| 58 | + | ["<S-CR>"] = cmp.mapping.confirm({ |
|
| 59 | + | behavior = cmp.ConfirmBehavior.Replace, |
|
| 60 | + | select = true, |
|
| 61 | + | }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. |
|
| 62 | + | ["<C-CR>"] = function(fallback) |
|
| 63 | + | cmp.abort() |
|
| 64 | + | fallback() |
|
| 65 | + | end, |
|
| 66 | + | }), |
|
| 67 | + | sources = cmp.config.sources({ |
|
| 68 | + | { name = "nvim_lsp" }, |
|
| 69 | + | { name = "luasnip" }, |
|
| 70 | + | { name = "path" }, |
|
| 71 | + | }, { |
|
| 72 | + | { name = "buffer" }, |
|
| 73 | + | }), |
|
| 74 | + | experimental = { |
|
| 75 | + | ghost_text = { |
|
| 76 | + | hl_group = "CmpGhostText", |
|
| 77 | + | }, |
|
| 78 | + | }, |
|
| 79 | + | sorting = defaults.sorting, |
|
| 80 | + | } |
|
| 81 | + | end, |
|
| 82 | + | ---@param opts cmp.ConfigSchema |
|
| 83 | + | config = function(_, opts) |
|
| 84 | + | for _, source in ipairs(opts.sources) do |
|
| 85 | + | source.group_index = source.group_index or 1 |
|
| 86 | + | end |
|
| 87 | + | require("cmp").setup(opts) |
|
| 88 | + | end, |
|
| 89 | + | }, |
|
| 90 | + | { |
|
| 91 | + | "hrsh7th/cmp-nvim-lsp", |
|
| 92 | + | "hrsh7th/cmp-buffer", |
|
| 93 | + | "hrsh7th/cmp-path", |
|
| 94 | + | "saadparwaiz1/cmp_luasnip", |
|
| 95 | + | } |
|
| 96 | + | } |
| 1 | + | return { |
|
| 2 | + | "norcalli/nvim-colorizer.lua", |
|
| 3 | + | config = function() |
|
| 4 | + | require("colorizer").setup({ |
|
| 5 | + | "*", |
|
| 6 | + | user_default_options = { |
|
| 7 | + | tailwind = true, |
|
| 8 | + | }, |
|
| 9 | + | }) |
|
| 10 | + | end, |
|
| 11 | + | } |
| 1 | + | return { |
|
| 2 | + | "numToStr/Comment.nvim", |
|
| 3 | + | opts = {}, |
|
| 4 | + | config = function() |
|
| 5 | + | require("Comment").setup() |
|
| 6 | + | end, |
|
| 7 | + | } |
|
| 8 | + |
| 1 | + | return { |
|
| 2 | + | "stevearc/dressing.nvim", |
|
| 3 | + | lazy = true, |
|
| 4 | + | init = function() |
|
| 5 | + | ---@diagnostic disable-next-line: duplicate-set-field |
|
| 6 | + | vim.ui.select = function(...) |
|
| 7 | + | require("lazy").load({ plugins = { "dressing.nvim" } }) |
|
| 8 | + | return vim.ui.select(...) |
|
| 9 | + | end |
|
| 10 | + | ---@diagnostic disable-next-line: duplicate-set-field |
|
| 11 | + | vim.ui.input = function(...) |
|
| 12 | + | require("lazy").load({ plugins = { "dressing.nvim" } }) |
|
| 13 | + | return vim.ui.input(...) |
|
| 14 | + | end |
|
| 15 | + | end, |
|
| 16 | + | } |
| 1 | + | return { |
|
| 2 | + | 'stevearc/conform.nvim', |
|
| 3 | + | config = function() |
|
| 4 | + | require("conform").setup({ |
|
| 5 | + | formatters_by_ft = { |
|
| 6 | + | lua = { "lua_ls" }, |
|
| 7 | + | -- Conform will run multiple formatters sequentially |
|
| 8 | + | python = { "isort", "black" }, |
|
| 9 | + | -- Use a sub-list to run only the first available formatter |
|
| 10 | + | javascript = { { "prettier" } }, |
|
| 11 | + | }, |
|
| 12 | + | format_on_save = { |
|
| 13 | + | -- These options will be passed to conform.format() |
|
| 14 | + | timeout_ms = 500, |
|
| 15 | + | lsp_fallback = true, |
|
| 16 | + | }, |
|
| 17 | + | }) |
|
| 18 | + | end |
|
| 19 | + | } |
| 1 | + | return { |
|
| 2 | + | "lewis6991/gitsigns.nvim", |
|
| 3 | + | opts = { |
|
| 4 | + | signs = { |
|
| 5 | + | add = { text = "▎" }, |
|
| 6 | + | change = { text = "▎" }, |
|
| 7 | + | delete = { text = "" }, |
|
| 8 | + | topdelete = { text = "" }, |
|
| 9 | + | changedelete = { text = "▎" }, |
|
| 10 | + | untracked = { text = "▎" }, |
|
| 11 | + | }, |
|
| 12 | + | on_attach = function(buffer) |
|
| 13 | + | local gs = package.loaded.gitsigns |
|
| 14 | + | ||
| 15 | + | local function map(mode, l, r, desc) |
|
| 16 | + | vim.keymap.set(mode, l, r, { buffer = buffer, desc = desc }) |
|
| 17 | + | end |
|
| 18 | + | ||
| 19 | + | -- stylua: ignore start |
|
| 20 | + | map("n", "]h", gs.next_hunk, "Next Hunk") |
|
| 21 | + | map("n", "[h", gs.prev_hunk, "Prev Hunk") |
|
| 22 | + | map({ "n", "v" }, "<leader>ghs", ":Gitsigns stage_hunk<CR>", "Stage Hunk") |
|
| 23 | + | map({ "n", "v" }, "<leader>ghr", ":Gitsigns reset_hunk<CR>", "Reset Hunk") |
|
| 24 | + | map("n", "<leader>ghS", gs.stage_buffer, "Stage Buffer") |
|
| 25 | + | map("n", "<leader>ghu", gs.undo_stage_hunk, "Undo Stage Hunk") |
|
| 26 | + | map("n", "<leader>ghR", gs.reset_buffer, "Reset Buffer") |
|
| 27 | + | map("n", "<leader>ghp", gs.preview_hunk, "Preview Hunk") |
|
| 28 | + | map("n", "<leader>ghb", function() gs.blame_line({ full = true }) end, "Blame Line") |
|
| 29 | + | map("n", "<leader>ghd", gs.diffthis, "Diff This") |
|
| 30 | + | map("n", "<leader>ghD", function() gs.diffthis("~") end, "Diff This ~") |
|
| 31 | + | map({ "o", "x" }, "ih", ":<C-U>Gitsigns select_hunk<CR>", "GitSigns Select Hunk") |
|
| 32 | + | end, |
|
| 33 | + | }, |
|
| 34 | + | } |
| 1 | + | return { |
|
| 2 | + | "lukas-reineke/indent-blankline.nvim", |
|
| 3 | + | opts = { |
|
| 4 | + | indent = { |
|
| 5 | + | char = "│", |
|
| 6 | + | tab_char = "│", |
|
| 7 | + | }, |
|
| 8 | + | scope = { enabled = false }, |
|
| 9 | + | exclude = { |
|
| 10 | + | filetypes = { |
|
| 11 | + | "help", |
|
| 12 | + | "alpha", |
|
| 13 | + | "dashboard", |
|
| 14 | + | "neo-tree", |
|
| 15 | + | "Trouble", |
|
| 16 | + | "trouble", |
|
| 17 | + | "lazy", |
|
| 18 | + | "mason", |
|
| 19 | + | "notify", |
|
| 20 | + | "toggleterm", |
|
| 21 | + | "lazyterm", |
|
| 22 | + | }, |
|
| 23 | + | }, |
|
| 24 | + | }, |
|
| 25 | + | main = "ibl", |
|
| 26 | + | } |
| 1 | + | return { |
|
| 2 | + | { |
|
| 3 | + | "williamboman/mason.nvim", |
|
| 4 | + | lazy = false, |
|
| 5 | + | config = function() |
|
| 6 | + | require("mason").setup() |
|
| 7 | + | end |
|
| 8 | + | }, |
|
| 9 | + | { |
|
| 10 | + | "williamboman/mason-lspconfig.nvim", |
|
| 11 | + | config = function() |
|
| 12 | + | require("mason-lspconfig").setup({ |
|
| 13 | + | ensure_installed = { "lua_ls", "tsserver" } |
|
| 14 | + | }) |
|
| 15 | + | end |
|
| 16 | + | }, |
|
| 17 | + | { |
|
| 18 | + | "neovim/nvim-lspconfig", |
|
| 19 | + | lazy = false, |
|
| 20 | + | config = function() |
|
| 21 | + | local lspconfig = require("lspconfig") |
|
| 22 | + | lspconfig.tsserver.setup({}) |
|
| 23 | + | lspconfig.lua_ls.setup({}) |
|
| 24 | + | ||
| 25 | + | vim.keymap.set('n', 'K', vim.lsp.buf.hover, {}) |
|
| 26 | + | vim.keymap.set('n', '<leader>gd', vim.lsp.buf.definition, {}) |
|
| 27 | + | vim.keymap.set('n', '<leader>gr', vim.lsp.buf.references, {}) |
|
| 28 | + | vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, {}) |
|
| 29 | + | end |
|
| 30 | + | } |
|
| 31 | + | } |
| 1 | + | return { |
|
| 2 | + | "nvim-lualine/lualine.nvim", |
|
| 3 | + | enabled = true, |
|
| 4 | + | lazy = true, |
|
| 5 | + | event = { "BufReadPost", "BufNewFile", "VeryLazy" }, |
|
| 6 | + | config = function() |
|
| 7 | + | require("lualine").setup({ |
|
| 8 | + | options = { |
|
| 9 | + | theme = "auto", |
|
| 10 | + | icons_enabled = true, |
|
| 11 | + | section_separators = "", |
|
| 12 | + | component_separators = "", |
|
| 13 | + | disabled_filetypes = { |
|
| 14 | + | statusline = { |
|
| 15 | + | "help", |
|
| 16 | + | "startify", |
|
| 17 | + | "dashboard", |
|
| 18 | + | "neo-tree", |
|
| 19 | + | "packer", |
|
| 20 | + | "neogitstatus", |
|
| 21 | + | "NvimTree", |
|
| 22 | + | "Trouble", |
|
| 23 | + | "alpha", |
|
| 24 | + | "lir", |
|
| 25 | + | "Outline", |
|
| 26 | + | "spectre_panel", |
|
| 27 | + | "toggleterm", |
|
| 28 | + | "qf", |
|
| 29 | + | }, |
|
| 30 | + | winbar = {}, |
|
| 31 | + | }, |
|
| 32 | + | }, |
|
| 33 | + | sections = { |
|
| 34 | + | lualine_a = {}, |
|
| 35 | + | lualine_b = {}, |
|
| 36 | + | lualine_c = { |
|
| 37 | + | -- "filename", |
|
| 38 | + | { |
|
| 39 | + | "filetype", |
|
| 40 | + | icon_only = true, |
|
| 41 | + | separator = "", |
|
| 42 | + | padding = { |
|
| 43 | + | left = 1, |
|
| 44 | + | right = 0, |
|
| 45 | + | }, |
|
| 46 | + | }, |
|
| 47 | + | { |
|
| 48 | + | "filename", |
|
| 49 | + | path = 1, |
|
| 50 | + | symbols = { |
|
| 51 | + | modified = " ", |
|
| 52 | + | readonly = "", |
|
| 53 | + | unnamed = "", |
|
| 54 | + | }, |
|
| 55 | + | }, |
|
| 56 | + | { "diagnostics", sources = { "nvim_lsp" }, symbols = { error = " ", warn = " ", info = " " } }, |
|
| 57 | + | { "diff" }, |
|
| 58 | + | { "searchcount" }, |
|
| 59 | + | }, |
|
| 60 | + | lualine_x = { { "b:gitsigns_head", icon = "" } }, |
|
| 61 | + | lualine_y = { "progress" }, |
|
| 62 | + | lualine_z = { |
|
| 63 | + | -- function() |
|
| 64 | + | -- return " " .. os.date("%R") |
|
| 65 | + | -- end, |
|
| 66 | + | }, |
|
| 67 | + | }, |
|
| 68 | + | inactive_sections = { |
|
| 69 | + | lualine_a = {}, |
|
| 70 | + | lualine_b = {}, |
|
| 71 | + | lualine_c = { "filename" }, |
|
| 72 | + | lualine_x = { "location" }, |
|
| 73 | + | lualine_y = {}, |
|
| 74 | + | lualine_z = {}, |
|
| 75 | + | }, |
|
| 76 | + | tabline = {}, |
|
| 77 | + | extensions = { "neo-tree", "lazy" }, |
|
| 78 | + | }) |
|
| 79 | + | end, |
|
| 80 | + | } |
| 1 | + | return { |
|
| 2 | + | "echasnovski/mini.indentscope", |
|
| 3 | + | version = false, -- wait till new 0.7.0 release to put it back on semver |
|
| 4 | + | opts = { |
|
| 5 | + | -- symbol = "▏", |
|
| 6 | + | symbol = "│", |
|
| 7 | + | options = { try_as_border = true }, |
|
| 8 | + | }, |
|
| 9 | + | init = function() |
|
| 10 | + | vim.api.nvim_create_autocmd("FileType", { |
|
| 11 | + | pattern = { |
|
| 12 | + | "help", |
|
| 13 | + | "alpha", |
|
| 14 | + | "dashboard", |
|
| 15 | + | "neo-tree", |
|
| 16 | + | "Trouble", |
|
| 17 | + | "trouble", |
|
| 18 | + | "lazy", |
|
| 19 | + | "mason", |
|
| 20 | + | "notify", |
|
| 21 | + | "toggleterm", |
|
| 22 | + | "lazyterm", |
|
| 23 | + | }, |
|
| 24 | + | callback = function() |
|
| 25 | + | vim.b.miniindentscope_disable = true |
|
| 26 | + | end, |
|
| 27 | + | }) |
|
| 28 | + | end, |
|
| 29 | + | } |
| 1 | + | return { |
|
| 2 | + | "echasnovski/mini.pairs", |
|
| 3 | + | opts = {}, |
|
| 4 | + | } |
| 1 | + | return { |
|
| 2 | + | "echasnovski/mini.surround", |
|
| 3 | + | keys = function(_, keys) |
|
| 4 | + | -- Populate the keys based on the user's options |
|
| 5 | + | local plugin = require("lazy.core.config").spec.plugins["mini.surround"] |
|
| 6 | + | local opts = require("lazy.core.plugin").values(plugin, "opts", false) |
|
| 7 | + | local mappings = { |
|
| 8 | + | { opts.mappings.add, desc = "Add surrounding", mode = { "n", "v" } }, |
|
| 9 | + | { opts.mappings.delete, desc = "Delete surrounding" }, |
|
| 10 | + | { opts.mappings.find, desc = "Find right surrounding" }, |
|
| 11 | + | { opts.mappings.find_left, desc = "Find left surrounding" }, |
|
| 12 | + | { opts.mappings.highlight, desc = "Highlight surrounding" }, |
|
| 13 | + | { opts.mappings.replace, desc = "Replace surrounding" }, |
|
| 14 | + | { opts.mappings.update_n_lines, desc = "Update `MiniSurround.config.n_lines`" }, |
|
| 15 | + | } |
|
| 16 | + | mappings = vim.tbl_filter(function(m) |
|
| 17 | + | return m[1] and #m[1] > 0 |
|
| 18 | + | end, mappings) |
|
| 19 | + | return vim.list_extend(mappings, keys) |
|
| 20 | + | end, |
|
| 21 | + | opts = { |
|
| 22 | + | mappings = { |
|
| 23 | + | add = "gsa", -- Add surrounding in Normal and Visual modes |
|
| 24 | + | delete = "gsd", -- Delete surrounding |
|
| 25 | + | find = "gsf", -- Find surrounding (to the right) |
|
| 26 | + | find_left = "gsF", -- Find surrounding (to the left) |
|
| 27 | + | highlight = "gsh", -- Highlight surrounding |
|
| 28 | + | replace = "gsr", -- Replace surrounding |
|
| 29 | + | update_n_lines = "gsn", -- Update `n_lines` |
|
| 30 | + | }, |
|
| 31 | + | }, |
|
| 32 | + | } |
| 1 | + | return { |
|
| 2 | + | "nvim-neo-tree/neo-tree.nvim", |
|
| 3 | + | branch = "v3.x", |
|
| 4 | + | dependencies = { |
|
| 5 | + | "nvim-lua/plenary.nvim", |
|
| 6 | + | "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended |
|
| 7 | + | "MunifTanjim/nui.nvim", |
|
| 8 | + | -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information |
|
| 9 | + | }, |
|
| 10 | + | config = function() |
|
| 11 | + | local opts = { noremap = true, silent = true } |
|
| 12 | + | local map = vim.api.nvim_set_keymap |
|
| 13 | + | map("n", "<leader>e", ":Neotree toggle<CR>", opts) |
|
| 14 | + | require("neo-tree").setup({ |
|
| 15 | + | popup_border_style = "rounded", |
|
| 16 | + | window = { |
|
| 17 | + | position = "float", |
|
| 18 | + | }, |
|
| 19 | + | filesystem = { |
|
| 20 | + | filtered_items = { |
|
| 21 | + | hide_dotfiles = false, |
|
| 22 | + | }, |
|
| 23 | + | }, |
|
| 24 | + | }) |
|
| 25 | + | end, |
|
| 26 | + | } |
| 1 | + | return { |
|
| 2 | + | "folke/noice.nvim", |
|
| 3 | + | event = "VeryLazy", |
|
| 4 | + | dependencies = { |
|
| 5 | + | -- if you lazy-load any plugin below, make sure to add proper `module="..."` entries |
|
| 6 | + | "MunifTanjim/nui.nvim", |
|
| 7 | + | -- OPTIONAL: |
|
| 8 | + | -- `nvim-notify` is only needed, if you want to use the notification view. |
|
| 9 | + | -- If not available, we use `mini` as the fallback |
|
| 10 | + | "rcarriga/nvim-notify", |
|
| 11 | + | }, |
|
| 12 | + | config = function() |
|
| 13 | + | require("noice").setup({ |
|
| 14 | + | lsp = { |
|
| 15 | + | -- override markdown rendering so that **cmp** and other plugins use **Treesitter** |
|
| 16 | + | override = { |
|
| 17 | + | ["vim.lsp.util.convert_input_to_markdown_lines"] = true, |
|
| 18 | + | ["vim.lsp.util.stylize_markdown"] = true, |
|
| 19 | + | ["cmp.entry.get_documentation"] = true, |
|
| 20 | + | }, |
|
| 21 | + | }, |
|
| 22 | + | -- you can enable a preset for easier configuration |
|
| 23 | + | presets = { |
|
| 24 | + | bottom_search = true, -- use a classic bottom cmdline for search |
|
| 25 | + | command_palette = true, -- position the cmdline and popupmenu together |
|
| 26 | + | long_message_to_split = true, -- long messages will be sent to a split |
|
| 27 | + | inc_rename = false, -- enables an input dialog for inc-rename.nvim |
|
| 28 | + | lsp_doc_border = false, -- add a border to hover docs and signature help |
|
| 29 | + | }, |
|
| 30 | + | }) |
|
| 31 | + | end |
|
| 32 | + | } |
| 1 | + | return { "MunifTanjim/nui.nvim", lazy = true } |
| 1 | + | return { |
|
| 2 | + | "rcarriga/nvim-notify", |
|
| 3 | + | keys = { |
|
| 4 | + | { |
|
| 5 | + | "<leader>h", |
|
| 6 | + | function() |
|
| 7 | + | require("notify").dismiss({ silent = true, pending = true }) |
|
| 8 | + | end, |
|
| 9 | + | desc = "Dismiss all Notifications", |
|
| 10 | + | }, |
|
| 11 | + | }, |
|
| 12 | + | opts = { |
|
| 13 | + | render = "minimal", |
|
| 14 | + | animation_style = "fade", |
|
| 15 | + | background_colour = "#1E2021", |
|
| 16 | + | timeout = 2000, |
|
| 17 | + | max_height = function() |
|
| 18 | + | return math.floor(vim.o.lines * 0.75) |
|
| 19 | + | end, |
|
| 20 | + | max_width = function() |
|
| 21 | + | return math.floor(vim.o.columns * 0.75) |
|
| 22 | + | end, |
|
| 23 | + | }, |
|
| 24 | + | init = function() |
|
| 25 | + | vim.notify = require("notify") |
|
| 26 | + | end, |
|
| 27 | + | } |
| 1 | + | return { |
|
| 2 | + | "nvim-tree/nvim-web-devicons", |
|
| 3 | + | config = function() |
|
| 4 | + | require("nvim-web-devicons").set_icon({ |
|
| 5 | + | astro = { |
|
| 6 | + | icon = "", |
|
| 7 | + | color = "#d18770", |
|
| 8 | + | name = "Astro", |
|
| 9 | + | }, |
|
| 10 | + | sol = { |
|
| 11 | + | icon = "", |
|
| 12 | + | color = "#638EF6", |
|
| 13 | + | name = "Solidity", |
|
| 14 | + | }, |
|
| 15 | + | }) |
|
| 16 | + | end, |
|
| 17 | + | } |
| 1 | + | return { |
|
| 2 | + | "danielfalk/smart-open.nvim", |
|
| 3 | + | branch = "0.2.x", |
|
| 4 | + | config = function() |
|
| 5 | + | require("telescope").load_extension("smart_open") |
|
| 6 | + | end, |
|
| 7 | + | dependencies = { |
|
| 8 | + | "kkharji/sqlite.lua", |
|
| 9 | + | -- Only required if using match_algorithm fzf |
|
| 10 | + | { "nvim-telescope/telescope-fzf-native.nvim", build = "make" }, |
|
| 11 | + | -- Optional. If installed, native fzy will be used when match_algorithm is fzy |
|
| 12 | + | { "nvim-telescope/telescope-fzy-native.nvim" }, |
|
| 13 | + | }, |
|
| 14 | + | } |
| 1 | + | return { |
|
| 2 | + | "dstein64/vim-startuptime", |
|
| 3 | + | cmd = "StartupTime", |
|
| 4 | + | config = function() |
|
| 5 | + | vim.g.startuptime_tries = 10 |
|
| 6 | + | end, |
|
| 7 | + | } |
| 1 | + | return { |
|
| 2 | + | "roobert/tailwindcss-colorizer-cmp.nvim", |
|
| 3 | + | -- optionally, override the default options: |
|
| 4 | + | config = function() |
|
| 5 | + | require("tailwindcss-colorizer-cmp").setup({ |
|
| 6 | + | color_square_width = 2, |
|
| 7 | + | }) |
|
| 8 | + | end, |
|
| 9 | + | } |
| 1 | + | return { |
|
| 2 | + | "nvim-telescope/telescope.nvim", |
|
| 3 | + | tag = "0.1.5", |
|
| 4 | + | config = function() |
|
| 5 | + | local builtin = require('telescope.builtin') |
|
| 6 | + | vim.keymap.set('n', '<leader>ff', builtin.find_files, {}) |
|
| 7 | + | vim.keymap.set('n', '<leader>/', builtin.live_grep, {}) |
|
| 8 | + | vim.keymap.set('n', '<leader>fb', builtin.buffers, {}) |
|
| 9 | + | vim.keymap.set('n', '<leader>fh', builtin.help_tags, {}) |
|
| 10 | + | vim.keymap.set('n', '<leader>sd', ":Telescope diagnostics bufnr=0<cr>", {}) |
|
| 11 | + | vim.keymap.set('n', "<leader>sD", "<cmd>Telescope diagnostics<cr>", {}) |
|
| 12 | + | vim.keymap.set('n', "<Leader>o", ":Telescope buffers theme=dropdown<CR>", {}) |
|
| 13 | + | vim.keymap.set('n', "<leader><leader>", ":Telescope smart_open<CR>", {}) |
|
| 14 | + | vim.keymap.set('n', "<leader>gc", "<cmd>Telescope git_commits<CR>", {}) |
|
| 15 | + | vim.keymap.set('n', "<leader>gs", "<cmd>Telescope git_status<CR>", {}) |
|
| 16 | + | vim.keymap.set('n', "<leader>sb", "<cmd>Telescope current_buffer_fuzzy_find<cr>", {}) |
|
| 17 | + | ||
| 18 | + | ||
| 19 | + | ||
| 20 | + | local telescope = require("telescope") |
|
| 21 | + | local actions = require("telescope.actions") |
|
| 22 | + | telescope.setup({ |
|
| 23 | + | file_ignore_patterns = { "%.git/." }, |
|
| 24 | + | defaults = { |
|
| 25 | + | mappings = { |
|
| 26 | + | i = { |
|
| 27 | + | ["<esc>"] = actions.close, |
|
| 28 | + | }, |
|
| 29 | + | }, |
|
| 30 | + | previewer = false, |
|
| 31 | + | -- hidden = true, |
|
| 32 | + | prompt_prefix = " ", |
|
| 33 | + | file_ignore_patterns = { "node_modules", "package-lock.json" }, |
|
| 34 | + | initial_mode = "insert", |
|
| 35 | + | select_strategy = "reset", |
|
| 36 | + | sorting_strategy = "ascending", |
|
| 37 | + | -- layout_strategy = "horizontal", |
|
| 38 | + | layout_config = { |
|
| 39 | + | -- width = 0.5, |
|
| 40 | + | -- height = 0.4, |
|
| 41 | + | prompt_position = "top", |
|
| 42 | + | preview_cutoff = 120, |
|
| 43 | + | }, |
|
| 44 | + | }, |
|
| 45 | + | pickers = { |
|
| 46 | + | find_files = { |
|
| 47 | + | -- theme = "dropdown", |
|
| 48 | + | previewer = true, |
|
| 49 | + | layout_config = { |
|
| 50 | + | -- width = 0.5, |
|
| 51 | + | height = 0.8, |
|
| 52 | + | prompt_position = "top", |
|
| 53 | + | preview_cutoff = 120, |
|
| 54 | + | }, |
|
| 55 | + | }, |
|
| 56 | + | git_files = { |
|
| 57 | + | previewer = true, |
|
| 58 | + | layout_config = { |
|
| 59 | + | height = 0.8, |
|
| 60 | + | prompt_position = "top", |
|
| 61 | + | preview_cutoff = 120, |
|
| 62 | + | }, |
|
| 63 | + | }, |
|
| 64 | + | buffers = { |
|
| 65 | + | mappings = { |
|
| 66 | + | i = { |
|
| 67 | + | ["<c-d>"] = actions.delete_buffer, |
|
| 68 | + | ["<c-j>"] = actions.move_selection_next, |
|
| 69 | + | ["<c-k>"] = actions.move_selection_previous, |
|
| 70 | + | }, |
|
| 71 | + | n = { |
|
| 72 | + | ["<c-d>"] = actions.delete_buffer, |
|
| 73 | + | ["<c-j>"] = actions.move_selection_next, |
|
| 74 | + | ["<c-k>"] = actions.move_selection_previous, |
|
| 75 | + | }, |
|
| 76 | + | }, |
|
| 77 | + | previewer = false, |
|
| 78 | + | initial_mode = "insert", |
|
| 79 | + | theme = "dropdown", |
|
| 80 | + | layout_config = { |
|
| 81 | + | width = 0.5, |
|
| 82 | + | height = 0.4, |
|
| 83 | + | prompt_position = "top", |
|
| 84 | + | preview_cutoff = 120, |
|
| 85 | + | }, |
|
| 86 | + | }, |
|
| 87 | + | current_buffer_fuzzy_find = { |
|
| 88 | + | previewer = true, |
|
| 89 | + | -- theme = "dropdown", |
|
| 90 | + | layout_config = { |
|
| 91 | + | -- width = 0.5, |
|
| 92 | + | height = 0.8, |
|
| 93 | + | prompt_position = "top", |
|
| 94 | + | preview_cutoff = 120, |
|
| 95 | + | }, |
|
| 96 | + | }, |
|
| 97 | + | live_grep = { |
|
| 98 | + | only_sort_text = true, |
|
| 99 | + | previewer = true, |
|
| 100 | + | layout_config = { |
|
| 101 | + | horizontal = { |
|
| 102 | + | width = 0.9, |
|
| 103 | + | height = 0.75, |
|
| 104 | + | preview_width = 0.6, |
|
| 105 | + | }, |
|
| 106 | + | }, |
|
| 107 | + | }, |
|
| 108 | + | grep_string = { |
|
| 109 | + | only_sort_text = true, |
|
| 110 | + | previewer = true, |
|
| 111 | + | layout_config = { |
|
| 112 | + | horizontal = { |
|
| 113 | + | width = 0.9, |
|
| 114 | + | height = 0.75, |
|
| 115 | + | preview_width = 0.6, |
|
| 116 | + | }, |
|
| 117 | + | }, |
|
| 118 | + | }, |
|
| 119 | + | lsp_references = { |
|
| 120 | + | show_line = false, |
|
| 121 | + | previewer = true, |
|
| 122 | + | layout_config = { |
|
| 123 | + | horizontal = { |
|
| 124 | + | width = 0.9, |
|
| 125 | + | height = 0.75, |
|
| 126 | + | preview_width = 0.6, |
|
| 127 | + | }, |
|
| 128 | + | }, |
|
| 129 | + | }, |
|
| 130 | + | treesitter = { |
|
| 131 | + | show_line = false, |
|
| 132 | + | previewer = true, |
|
| 133 | + | layout_config = { |
|
| 134 | + | horizontal = { |
|
| 135 | + | width = 0.9, |
|
| 136 | + | height = 0.75, |
|
| 137 | + | preview_width = 0.6, |
|
| 138 | + | }, |
|
| 139 | + | }, |
|
| 140 | + | }, |
|
| 141 | + | }, |
|
| 142 | + | extensions = { |
|
| 143 | + | fzf = { |
|
| 144 | + | fuzzy = true, -- false will only do exact matching |
|
| 145 | + | override_generic_sorter = true, -- override the generic sorter |
|
| 146 | + | override_file_sorter = true, -- override the file sorter |
|
| 147 | + | case_mode = "smart_case", -- or "ignore_case" or "respect_case" |
|
| 148 | + | }, |
|
| 149 | + | ["ui-select"] = { |
|
| 150 | + | require("telescope.themes").get_dropdown({ |
|
| 151 | + | previewer = false, |
|
| 152 | + | initial_mode = "normal", |
|
| 153 | + | sorting_strategy = "ascending", |
|
| 154 | + | layout_strategy = "horizontal", |
|
| 155 | + | layout_config = { |
|
| 156 | + | horizontal = { |
|
| 157 | + | width = 0.5, |
|
| 158 | + | height = 0.4, |
|
| 159 | + | preview_width = 0.6, |
|
| 160 | + | }, |
|
| 161 | + | }, |
|
| 162 | + | }), |
|
| 163 | + | }, |
|
| 164 | + | frecency = { |
|
| 165 | + | default_workspace = "CWD", |
|
| 166 | + | show_scores = true, |
|
| 167 | + | show_unindexed = true, |
|
| 168 | + | disable_devicons = false, |
|
| 169 | + | ignore_patterns = { |
|
| 170 | + | "*.git/*", |
|
| 171 | + | "*/tmp/*", |
|
| 172 | + | "*/lua-language-server/*", |
|
| 173 | + | }, |
|
| 174 | + | }, |
|
| 175 | + | -- file_browser = { |
|
| 176 | + | -- -- theme = "", |
|
| 177 | + | -- previewer = true, |
|
| 178 | + | -- -- disables netrw and use telescope-file-browser in its place |
|
| 179 | + | -- hijack_netrw = true, |
|
| 180 | + | -- -- mappings = { |
|
| 181 | + | -- -- ["i"] = { |
|
| 182 | + | -- -- -- your custom insert mode mappings |
|
| 183 | + | -- -- }, |
|
| 184 | + | -- -- ["n"] = { |
|
| 185 | + | -- -- -- your custom normal mode mappings |
|
| 186 | + | -- -- }, |
|
| 187 | + | -- -- }, |
|
| 188 | + | -- }, |
|
| 189 | + | }, |
|
| 190 | + | }) |
|
| 191 | + | -- telescope.load_extension("file_browser") |
|
| 192 | + | end, |
|
| 193 | + | } |
| 1 | + | return { |
|
| 2 | + | "tinted-theming/base16-vim", |
|
| 3 | + | priority = 1000, |
|
| 4 | + | config = function() |
|
| 5 | + | local cmd = vim.cmd |
|
| 6 | + | local g = vim.g |
|
| 7 | + | local current_theme_name = os.getenv('BASE16_THEME') |
|
| 8 | + | if current_theme_name and g.colors_name ~= 'base16-'..current_theme_name then |
|
| 9 | + | cmd('let base16colorspace=256') |
|
| 10 | + | cmd('colorscheme base16-'..current_theme_name) |
|
| 11 | + | end |
|
| 12 | + | end |
|
| 13 | + | } |
| 1 | + | return { |
|
| 2 | + | "christoomey/vim-tmux-navigator", |
|
| 3 | + | config = function() |
|
| 4 | + | vim.keymap.set("n", "<C-h>", ":TmuxNavigateLeft<CR>", opts) |
|
| 5 | + | vim.keymap.set("n", "<C-j>", ":TmuxNavigateDown<CR>", opts) |
|
| 6 | + | vim.keymap.set("n", "<C-k>", ":TmuxNavigateUp<CR>", opts) |
|
| 7 | + | vim.keymap.set("n", "<C-l>", ":TmuxNavigateRight<CR>", opts) |
|
| 8 | + | end |
|
| 9 | + | } |
| 1 | + | return { |
|
| 2 | + | { |
|
| 3 | + | "akinsho/toggleterm.nvim", |
|
| 4 | + | version = "*", |
|
| 5 | + | opts = { |
|
| 6 | + | open_mapping = [[<c-\>]], |
|
| 7 | + | direction = "horizontal", |
|
| 8 | + | close_on_exit = true, |
|
| 9 | + | float_opts = { |
|
| 10 | + | border = "curved", |
|
| 11 | + | }, |
|
| 12 | + | }, |
|
| 13 | + | }, |
|
| 14 | + | } |
| 1 | + | return { |
|
| 2 | + | { |
|
| 3 | + | "nvim-treesitter/nvim-treesitter", |
|
| 4 | + | build = ":TSUpdate", |
|
| 5 | + | event = { "BufReadPre", "BufNewFile" }, |
|
| 6 | + | dependencies = { |
|
| 7 | + | "nvim-treesitter/nvim-treesitter-textobjects", |
|
| 8 | + | }, |
|
| 9 | + | config = function() |
|
| 10 | + | local treesitter = require("nvim-treesitter.configs") |
|
| 11 | + | ||
| 12 | + | -- configure treesitter |
|
| 13 | + | treesitter.setup({ -- enable syntax highlighting |
|
| 14 | + | highlight = { |
|
| 15 | + | enable = true, |
|
| 16 | + | }, |
|
| 17 | + | -- enable indentation |
|
| 18 | + | indent = { enable = true }, |
|
| 19 | + | -- ensure these language parsers are installed |
|
| 20 | + | ensure_installed = { |
|
| 21 | + | "json", |
|
| 22 | + | "javascript", |
|
| 23 | + | "typescript", |
|
| 24 | + | "tsx", |
|
| 25 | + | "yaml", |
|
| 26 | + | "html", |
|
| 27 | + | "css", |
|
| 28 | + | "prisma", |
|
| 29 | + | "markdown", |
|
| 30 | + | "markdown_inline", |
|
| 31 | + | "svelte", |
|
| 32 | + | "graphql", |
|
| 33 | + | "bash", |
|
| 34 | + | "lua", |
|
| 35 | + | "vim", |
|
| 36 | + | "dockerfile", |
|
| 37 | + | "gitignore", |
|
| 38 | + | "query", |
|
| 39 | + | }, |
|
| 40 | + | incremental_selection = { |
|
| 41 | + | enable = true, |
|
| 42 | + | keymaps = { |
|
| 43 | + | init_selection = "<C-space>", |
|
| 44 | + | node_incremental = "<C-space>", |
|
| 45 | + | scope_incremental = false, |
|
| 46 | + | node_decremental = "<bs>", |
|
| 47 | + | }, |
|
| 48 | + | }, |
|
| 49 | + | }) |
|
| 50 | + | end, |
|
| 51 | + | }, |
|
| 52 | + | { |
|
| 53 | + | "windwp/nvim-ts-autotag", |
|
| 54 | + | opts = {}, |
|
| 55 | + | }, |
|
| 56 | + | } |
| 1 | + | return { |
|
| 2 | + | "RRethy/vim-illuminate", |
|
| 3 | + | opts = { |
|
| 4 | + | delay = 200, |
|
| 5 | + | large_file_cutoff = 2000, |
|
| 6 | + | large_file_overrides = { |
|
| 7 | + | providers = { "lsp" }, |
|
| 8 | + | }, |
|
| 9 | + | }, |
|
| 10 | + | config = function(_, opts) |
|
| 11 | + | require("illuminate").configure(opts) |
|
| 12 | + | ||
| 13 | + | local function map(key, dir, buffer) |
|
| 14 | + | vim.keymap.set("n", key, function() |
|
| 15 | + | require("illuminate")["goto_" .. dir .. "_reference"](false) |
|
| 16 | + | end, { desc = dir:sub(1, 1):upper() .. dir:sub(2) .. " Reference", buffer = buffer }) |
|
| 17 | + | end |
|
| 18 | + | ||
| 19 | + | map("]]", "next") |
|
| 20 | + | map("[[", "prev") |
|
| 21 | + | ||
| 22 | + | -- also set it after loading ftplugins, since a lot overwrite [[ and ]] |
|
| 23 | + | vim.api.nvim_create_autocmd("FileType", { |
|
| 24 | + | callback = function() |
|
| 25 | + | local buffer = vim.api.nvim_get_current_buf() |
|
| 26 | + | map("]]", "next", buffer) |
|
| 27 | + | map("[[", "prev", buffer) |
|
| 28 | + | end, |
|
| 29 | + | }) |
|
| 30 | + | end, |
|
| 31 | + | keys = { |
|
| 32 | + | { "]]", desc = "Next Reference" }, |
|
| 33 | + | { "[[", desc = "Prev Reference" }, |
|
| 34 | + | }, |
|
| 35 | + | } |
| 1 | + | # format = """ |
|
| 2 | + | # [](#434C5E)\ |
|
| 3 | + | # $username\ |
|
| 4 | + | # [](bg:#4C566A fg:#434C5E)\ |
|
| 5 | + | # $directory\ |
|
| 6 | + | # [](fg:#4C566A bg:#5E81AC)\ |
|
| 7 | + | # $git_branch\ |
|
| 8 | + | # $git_status\ |
|
| 9 | + | # [](fg:#5E81AC bg:#2E3440)\ |
|
| 10 | + | # $character |
|
| 11 | + | # """ |
|
| 12 | + | # format = """ |
|
| 13 | + | # $username\ |
|
| 14 | + | # [](white)\ |
|
| 15 | + | # $directory\ |
|
| 16 | + | # [](white)\ |
|
| 17 | + | # $character\ |
|
| 18 | + | # $git_branch\ |
|
| 19 | + | # $git_status\ |
|
| 20 | + | # """ |
|
| 21 | + | ||
| 22 | + | format = """ |
|
| 23 | + | $character\ |
|
| 24 | + | $directory\ |
|
| 25 | + | $git_branch\ |
|
| 26 | + | $git_status\ |
|
| 27 | + | """ |
|
| 28 | + | ||
| 29 | + | ||
| 30 | + | # Disable the blank line at the start of the prompt |
|
| 31 | + | add_newline = true |
|
| 32 | + | ||
| 33 | + | # You can also replace your username with a neat symbol like to save some space |
|
| 34 | + | [username] |
|
| 35 | + | show_always = true |
|
| 36 | + | style_user = "white bold" |
|
| 37 | + | style_root = "white bold" |
|
| 38 | + | format = '[$user ]($style)' |
|
| 39 | + | ||
| 40 | + | [character] |
|
| 41 | + | success_symbol = " [](bold white)" |
|
| 42 | + | error_symbol = " [](bold red)" |
|
| 43 | + | ||
| 44 | + | [directory] |
|
| 45 | + | format = "[ $path/ ]($style)" |
|
| 46 | + | style = "white" |
|
| 47 | + | truncation_length = 1 |
|
| 48 | + | truncation_symbol = "" |
|
| 49 | + | ||
| 50 | + | [git_branch] |
|
| 51 | + | symbol = "" |
|
| 52 | + | format = '[$symbol $branch]($style)' |
|
| 53 | + | ||
| 54 | + | [git_status] |
|
| 55 | + | format = ' [$all_status$ahead_behind]($style) ' |
Binary file — no preview.
| 1 | + | /Users/stevedsimkins/.config/base16-shell/scripts/base16-black-metal-bathory.sh |
| 1 | + | local current_theme_name = "black-metal-bathory" |
|
| 2 | + | if current_theme_name ~= "" and vim.g.colors_name ~= 'base16-' .. current_theme_name then |
|
| 3 | + | vim.cmd('colorscheme base16-' .. current_theme_name) |
|
| 4 | + | end |
| 1 | + | if !exists('g:colors_name') || g:colors_name != 'base16-black-metal-bathory' |
|
| 2 | + | colorscheme base16-black-metal-bathory |
|
| 3 | + | endif |
| 1 | + | black-metal-bathory |
| 1 | + | set -g @colors-base16 'black-metal-bathory' |