├── .bashrc ├── .config ├── alacritty │ └── alacritty.yml └── bashrc │ ├── .bashrc_prompt │ ├── .bashrc_shortcuts │ ├── .bashrc_startup │ └── LS_COLORS ├── LICENSE ├── README.md └── docs └── static ├── Fullscreen-Git.png ├── Just_Desktop.png ├── Ssh-Failed_Command.png └── Welcome-Splash_Screen.png /.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | case $- in 7 | *i*) ;; 8 | *) return;; 9 | esac 10 | 11 | # don't put duplicate lines or lines starting with space in the history. 12 | # See bash(1) for more options 13 | HISTCONTROL=ignoreboth 14 | 15 | # append to the history file, don't overwrite it 16 | shopt -s histappend 17 | 18 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 19 | HISTSIZE=1000 20 | HISTFILESIZE=2000 21 | 22 | # check the window size after each command and, if necessary, 23 | # update the values of LINES and COLUMNS. 24 | shopt -s checkwinsize 25 | 26 | # If set, the pattern "**" used in a pathname expansion context will 27 | # match all files and zero or more directories and subdirectories. 28 | #shopt -s globstar 29 | 30 | # make less more friendly for non-text input files, see lesspipe(1) 31 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 32 | 33 | # set variable identifying the chroot you work in (used in the prompt below) 34 | if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then 35 | debian_chroot=$(cat /etc/debian_chroot) 36 | fi 37 | 38 | # set a fancy prompt (non-color, unless we know we "want" color) 39 | case "$TERM" in 40 | xterm-color|*-256color) color_prompt=yes;; 41 | esac 42 | 43 | # uncomment for a colored prompt, if the terminal has the capability; turned 44 | # off by default to not distract the user: the focus in a terminal window 45 | # should be on the output of commands, not on the prompt 46 | #force_color_prompt=yes 47 | 48 | if [ -n "$force_color_prompt" ]; then 49 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 50 | # We have color support; assume it's compliant with Ecma-48 51 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 52 | # a case would tend to support setf rather than setaf.) 53 | color_prompt=yes 54 | else 55 | color_prompt= 56 | fi 57 | fi 58 | 59 | #if [ "$color_prompt" = yes ]; then 60 | # PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 61 | #else 62 | # PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 63 | #fi 64 | unset color_prompt force_color_prompt 65 | 66 | # If this is an xterm set the title to user@host:dir 67 | #case "$TERM" in 68 | #xterm*|rxvt*) 69 | # PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 70 | # ;; 71 | #*) 72 | # ;; 73 | #esac 74 | 75 | # enable color support of ls and also add handy aliases 76 | if [ -x /usr/bin/dircolors ]; then 77 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 78 | alias ls='ls --color=auto' 79 | #alias dir='dir --color=auto' 80 | #alias vdir='vdir --color=auto' 81 | 82 | alias grep='grep --color=auto' 83 | alias fgrep='fgrep --color=auto' 84 | alias egrep='egrep --color=auto' 85 | fi 86 | 87 | # colored GCC warnings and errors 88 | #export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' 89 | 90 | # Add an "alert" alias for long running commands. Use like so: 91 | # sleep 10; alert 92 | alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' 93 | 94 | # Alias definitions. 95 | # You may want to put all your additions into a separate file like 96 | # ~/.bash_aliases, instead of adding them here directly. 97 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 98 | 99 | if [ -f ~/.bash_aliases ]; then 100 | . ~/.bash_aliases 101 | fi 102 | 103 | # enable programmable completion features (you don't need to enable 104 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 105 | # sources /etc/bash.bashrc). 106 | if ! shopt -oq posix; then 107 | if [ -f /usr/share/bash-completion/bash_completion ]; then 108 | . /usr/share/bash-completion/bash_completion 109 | elif [ -f /etc/bash_completion ]; then 110 | . /etc/bash_completion 111 | fi 112 | fi 113 | 114 | # Include custom bashrc files. 115 | for i in ~/.config/bashrc/.bashrc_* ; do 116 | if [ -r "$i" ]; then 117 | . $i 118 | fi 119 | done 120 | 121 | 122 | 123 | -------------------------------------------------------------------------------- /.config/alacritty/alacritty.yml: -------------------------------------------------------------------------------- 1 | # Configuration for Alacritty, the GPU enhanced terminal emulator. 2 | 3 | # Any items in the `env` entry below will be added as 4 | # environment variables. Some entries may override variables 5 | # set by alacritty itself. 6 | #env: 7 | # TERM variable 8 | # 9 | # This value is used to set the `$TERM` environment variable for 10 | # each instance of Alacritty. If it is not present, alacritty will 11 | # check the local terminfo database and use `alacritty` if it is 12 | # available, otherwise `xterm-256color` is used. 13 | #TERM: xterm-256color 14 | 15 | window: 16 | # Window dimensions (changes require restart) 17 | # 18 | # Specified in number of columns/lines, not pixels. 19 | # If both are `0`, this setting is ignored. 20 | dimensions: 21 | columns: 145 22 | lines: 42 23 | 24 | # Window position (changes require restart) 25 | # 26 | # Specified in number of pixels. 27 | # If the position is not set, the window manager will handle the placement. 28 | position: 29 | x: 105 30 | y: 30 31 | 32 | # Window padding (changes require restart) 33 | # 34 | # Blank space added around the window in pixels. This padding is scaled 35 | # by DPI and the specified value is always added at both opposing sides. 36 | padding: 37 | x: 9 38 | y: 9 39 | 40 | # Spread additional padding evenly around the terminal content. 41 | #dynamic_padding: false 42 | 43 | # Window decorations 44 | # 45 | # Values for `decorations`: 46 | # - full: Borders and title bar 47 | # - none: Neither borders nor title bar 48 | # 49 | # Values for `decorations` (macOS only): 50 | # - transparent: Title bar, transparent background and title bar buttons 51 | # - buttonless: Title bar, transparent background, but no title bar buttons 52 | decorations: none 53 | 54 | # Startup Mode (changes require restart) 55 | # 56 | # Values for `startup_mode`: 57 | # - Windowed 58 | # - Maximized 59 | # - Fullscreen 60 | # 61 | # Values for `startup_mode` (macOS only): 62 | # - SimpleFullscreen 63 | #startup_mode: Windowed 64 | 65 | # Window title 66 | #title: Alacritty 67 | 68 | # Window class (Linux/BSD only): 69 | #class: 70 | # Application instance name 71 | #instance: Alacritty 72 | # General application class 73 | #general: Alacritty 74 | 75 | # GTK theme variant (Linux/BSD only) 76 | # 77 | # Override the variant of the GTK theme. Commonly supported values are `dark` and `light`. 78 | # Set this to `None` to use the default theme variant. 79 | #gtk_theme_variant: None 80 | 81 | scrolling: 82 | # Maximum number of lines in the scrollback buffer. 83 | # Specifying '0' will disable scrolling. 84 | history: 10000 85 | 86 | # Number of lines the viewport will move for every line scrolled when 87 | # scrollback is enabled (history > 0). 88 | multiplier: 1 89 | 90 | # Spaces per Tab (changes require restart) 91 | # 92 | # This setting defines the width of a tab in cells. 93 | # 94 | # Some applications, like Emacs, rely on knowing about the width of a tab. 95 | # To prevent unexpected behavior in these applications, it's also required to 96 | # change the `it` value in terminfo when altering this setting. 97 | #tabspaces: 8 98 | 99 | # Font configuration 100 | font: 101 | # Normal (roman) font face 102 | normal: 103 | # Font family 104 | # 105 | # Default: 106 | # - (macOS) Menlo 107 | # - (Linux/BSD) monospace 108 | # - (Windows) Consolas 109 | family: M+ 1M 110 | 111 | # The `style` can be specified to pick a specific face. 112 | style: Regular 113 | 114 | # Bold font face 115 | bold: 116 | # Font family 117 | # 118 | # If the bold family is not specified, it will fall back to the 119 | # value specified for the normal font. 120 | # family: M+ 1M 121 | 122 | # The `style` can be specified to pick a specific face. 123 | style: bold 124 | 125 | # Italic font face 126 | italic: 127 | # Font family 128 | # 129 | # If the italic family is not specified, it will fall back to the 130 | # value specified for the normal font. 131 | #family: Source Code Pro 132 | 133 | # The `style` can be specified to pick a specific face. 134 | style: Italic 135 | 136 | # Bold italic font face 137 | #bold_italic: 138 | # Font family 139 | # 140 | # If the bold italic family is not specified, it will fall back to the 141 | # value specified for the normal font. 142 | #family: monospace 143 | 144 | # The `style` can be specified to pick a specific face. 145 | #style: Bold Italic 146 | 147 | # Point size 148 | size: 10 149 | 150 | # Offset is the extra space around each character. `offset.y` can be thought of 151 | # as modifying the line spacing, and `offset.x` as modifying the letter spacing. 152 | offset: 153 | x: 1 154 | y: 0 155 | 156 | # Glyph offset determines the locations of the glyphs within their cells with 157 | # the default being at the bottom. Increasing `x` moves the glyph to the right, 158 | # increasing `y` moves the glyph upwards. 159 | #glyph_offset: 160 | # x: 0 161 | # y: 0 162 | 163 | # Thin stroke font rendering (macOS only) 164 | # 165 | # Thin strokes are suitable for retina displays, but for non-retina screens 166 | # it is recommended to set `use_thin_strokes` to `false` 167 | # 168 | # macOS >= 10.14.x: 169 | # 170 | # If the font quality on non-retina display looks bad then set 171 | # `use_thin_strokes` to `true` and enable font smoothing by running the 172 | # following command: 173 | # `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO` 174 | # 175 | # This is a global setting and will require a log out or restart to take 176 | # effect. 177 | #use_thin_strokes: true 178 | 179 | # If `true`, bold text is drawn using the bright color variants. 180 | draw_bold_text_with_bright_colors: true 181 | 182 | schemes: 183 | # Colors (IR Black) 184 | ir_black: &ir_black 185 | # Default colors 186 | primary: 187 | background: '0x000000' 188 | foreground: '0xffffff' 189 | 190 | cursor: 191 | text: '0xffffff' 192 | cursor: '0xffffff' 193 | 194 | # Normal colors 195 | normal: 196 | black: '0x4e4e4e' 197 | red: '0xff6c60' 198 | green: '0xa8ff60' 199 | yellow: '0xffffb6' 200 | blue: '0x96cbfe' 201 | magenta: '0xff73fd' 202 | cyan: '0xc6c5fe' 203 | white: '0xeeeeee' 204 | 205 | # Bright colors 206 | bright: 207 | black: '0x7c7c7c' 208 | red: '0xffb6b0' 209 | green: '0xceffab' 210 | yellow: '0xffffcb' 211 | blue: '0xb5dcfe' 212 | magenta: '0xff9cfe' 213 | cyan: '0xdfdffe' 214 | white: '0xffffff' 215 | 216 | # Colors (Tomorrow Night Bright) 217 | tom_night_bright: &tom_night 218 | # Default colors 219 | primary: 220 | background: '0x000000' 221 | foreground: '0xeaeaea' 222 | dim_foreground: '0x9a9a9a' 223 | bright_foreground: '0xffffff' 224 | 225 | cursor: 226 | text: '0x000000' 227 | cursor: '0xffffff' 228 | 229 | selection: 230 | text: '0xeaeaea' 231 | background: '0x404040' 232 | 233 | normal: 234 | black: '0x000000' 235 | red: '0xd54e53' 236 | green: '0xb9ca4a' 237 | yellow: '0xe6c547' 238 | blue: '0x7aa6da' 239 | magenta: '0xc397d8' 240 | cyan: '0x70c0ba' 241 | white: '0xeaeaea' 242 | 243 | bright: 244 | black: '0x666666' 245 | red: '0xff3334' 246 | green: '0x9ec400' 247 | yellow: '0xe7c547' 248 | blue: '0x7aa6da' 249 | magenta: '0xb77ee0' 250 | cyan: '0x54ced6' 251 | white: '0xffffff' 252 | 253 | dim: 254 | black: '0x000000' 255 | red: '0x8c3336' 256 | green: '0x7a8530' 257 | yellow: '0x97822e' 258 | blue: '0x506d8f' 259 | magenta: '0x80638e' 260 | cyan: '0x497e7a' 261 | white: '0x9a9a9a' 262 | 263 | # Colors (Snazzy) 264 | snazzy: &snazzy 265 | # Default colors 266 | primary: 267 | background: '0x282a36' 268 | foreground: '0xeff0eb' 269 | 270 | # Normal colors 271 | normal: 272 | black: '0x282a36' 273 | red: '0xff5c57' 274 | green: '0x5af78e' 275 | yellow: '0xf3f99d' 276 | blue: '0x57c7ff' 277 | magenta: '0xff6ac1' 278 | cyan: '0x9aedfe' 279 | white: '0xf1f1f0' 280 | 281 | # Bright colors 282 | bright: 283 | black: '0x686868' 284 | red: '0xff5c57' 285 | green: '0x5af78e' 286 | yellow: '0xf3f99d' 287 | blue: '0x57c7ff' 288 | magenta: '0xff6ac1' 289 | cyan: '0x9aedfe' 290 | white: '0xf1f1f0' 291 | 292 | colors: *tom_night 293 | 294 | 295 | # Indexed Colors 296 | # 297 | # The indexed colors include all colors from 16 to 256. 298 | # When these are not set, they're filled with sensible defaults. 299 | # 300 | # Example: 301 | # `- { index: 16, color: '0xff00ff' }` 302 | # 303 | #indexed_colors: [] 304 | 305 | # Visual Bell 306 | # 307 | # Any time the BEL code is received, Alacritty "rings" the visual bell. Once 308 | # rung, the terminal background will be set to white and transition back to the 309 | # default background color. You can control the rate of this transition by 310 | # setting the `duration` property (represented in milliseconds). You can also 311 | # configure the transition function by setting the `animation` property. 312 | # 313 | # Values for `animation`: 314 | # - Ease 315 | # - EaseOut 316 | # - EaseOutSine 317 | # - EaseOutQuad 318 | # - EaseOutCubic 319 | # - EaseOutQuart 320 | # - EaseOutQuint 321 | # - EaseOutExpo 322 | # - EaseOutCirc 323 | # - Linear 324 | # 325 | # Specifying a `duration` of `0` will disable the visual bell. 326 | #visual_bell: 327 | # animation: EaseOutExpo 328 | # duration: 0 329 | # color: '0xffffff' 330 | 331 | # Background opacity 332 | # 333 | # Window opacity as a floating point number from `0.0` to `1.0`. 334 | # The value `0.0` is completely transparent and `1.0` is opaque. 335 | background_opacity: 0.9 336 | 337 | #selection: 338 | #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" 339 | 340 | # When set to `true`, selected text will be copied to the primary clipboard. 341 | #save_to_clipboard: false 342 | 343 | # Allow terminal applications to change Alacritty's window title. 344 | #dynamic_title: true 345 | 346 | cursor: 347 | # Cursor style 348 | # 349 | # Values for `style`: 350 | # - ▇ Block 351 | # - _ Underline 352 | # - | Beam 353 | style: Beam 354 | 355 | # If this is `true`, the cursor will be rendered as a hollow box when the 356 | # window is not focused. 357 | unfocused_hollow: true 358 | 359 | # Live config reload (changes require restart) 360 | live_config_reload: true 361 | 362 | # Shell 363 | # 364 | # You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`. 365 | # Entries in `shell.args` are passed unmodified as arguments to the shell. 366 | # 367 | # Default: 368 | # - (macOS) /bin/bash --login 369 | # - (Linux/BSD) user login shell 370 | # - (Windows) powershell 371 | #shell: 372 | # program: /bin/bash 373 | # args: 374 | # - --login 375 | 376 | # Startup directory 377 | # 378 | # Directory the shell is started in. If this is unset, or `None`, the working 379 | # directory of the parent process will be used. 380 | #working_directory: None 381 | 382 | # WinPTY backend (Windows only) 383 | # 384 | # Alacritty defaults to using the newer ConPTY backend if it is available, 385 | # since it resolves a lot of bugs and is quite a bit faster. If it is not 386 | # available, the the WinPTY backend will be used instead. 387 | # 388 | # Setting this option to `true` makes Alacritty use the legacy WinPTY backend, 389 | # even if the ConPTY backend is available. 390 | #winpty_backend: false 391 | 392 | # Send ESC (\x1b) before characters when alt is pressed. 393 | #alt_send_esc: true 394 | 395 | #debug: 396 | # Display the time it takes to redraw each frame. 397 | #render_timer: false 398 | 399 | # Keep the log file after quitting Alacritty. 400 | #persistent_logging: false 401 | 402 | # Log level 403 | # 404 | # Values for `log_level`: 405 | # - None 406 | # - Error 407 | # - Warn 408 | # - Info 409 | # - Debug 410 | # - Trace 411 | #log_level: Warn 412 | 413 | # Print all received window events. 414 | #print_events: false 415 | 416 | # Record all characters and escape sequences as test data. 417 | #ref_test: false 418 | 419 | #mouse: 420 | # Click settings 421 | # 422 | # The `double_click` and `triple_click` settings control the time 423 | # alacritty should wait for accepting multiple clicks as one double 424 | # or triple click. 425 | #double_click: { threshold: 300 } 426 | #triple_click: { threshold: 300 } 427 | 428 | # If this is `true`, the cursor is temporarily hidden when typing. 429 | #hide_when_typing: false 430 | 431 | #url: 432 | # URL launcher 433 | # 434 | # This program is executed when clicking on a text which is recognized as a URL. 435 | # The URL is always added to the command as the last parameter. 436 | # 437 | # When set to `None`, URL launching will be disabled completely. 438 | # 439 | # Default: 440 | # - (macOS) open 441 | # - (Linux/BSD) xdg-open 442 | # - (Windows) explorer 443 | #launcher: 444 | # program: xdg-open 445 | # args: [] 446 | 447 | # URL modifiers 448 | # 449 | # These are the modifiers that need to be held down for opening URLs when clicking 450 | # on them. The available modifiers are documented in the key binding section. 451 | #modifiers: None 452 | 453 | # Mouse bindings 454 | # 455 | # Mouse bindings are specified as a list of objects, much like the key 456 | # bindings further below. 457 | # 458 | # To trigger mouse bindings when an application running within Alacritty captures the mouse, the 459 | # `Shift` modifier is automatically added as a requirement. 460 | # 461 | # Each mouse binding will specify a: 462 | # 463 | # - `mouse`: 464 | # 465 | # - Middle 466 | # - Left 467 | # - Right 468 | # - Numeric identifier such as `5` 469 | # 470 | # - `action` (see key bindings) 471 | # 472 | # And optionally: 473 | # 474 | # - `mods` (see key bindings) 475 | #mouse_bindings: 476 | # - { mouse: Middle, action: PasteSelection } 477 | 478 | # Key bindings 479 | # 480 | # Key bindings are specified as a list of objects. For example, this is the 481 | # default paste binding: 482 | # 483 | # `- { key: V, mods: Control|Shift, action: Paste }` 484 | # 485 | # Each key binding will specify a: 486 | # 487 | # - `key`: Identifier of the key pressed 488 | # 489 | # - A-Z 490 | # - F1-F24 491 | # - Key0-Key9 492 | # 493 | # A full list with available key codes can be found here: 494 | # https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants 495 | # 496 | # Instead of using the name of the keys, the `key` field also supports using 497 | # the scancode of the desired key. Scancodes have to be specified as a 498 | # decimal number. This command will allow you to display the hex scancodes 499 | # for certain keys: 500 | # 501 | # `showkey --scancodes`. 502 | # 503 | # Then exactly one of: 504 | # 505 | # - `chars`: Send a byte sequence to the running application 506 | # 507 | # The `chars` field writes the specified string to the terminal. This makes 508 | # it possible to pass escape sequences. To find escape codes for bindings 509 | # like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside 510 | # of tmux. Note that applications use terminfo to map escape sequences back 511 | # to keys. It is therefore required to update the terminfo when changing an 512 | # escape sequence. 513 | # 514 | # - `action`: Execute a predefined action 515 | # 516 | # - Copy 517 | # - Paste 518 | # - PasteSelection 519 | # - IncreaseFontSize 520 | # - DecreaseFontSize 521 | # - ResetFontSize 522 | # - ScrollPageUp 523 | # - ScrollPageDown 524 | # - ScrollLineUp 525 | # - ScrollLineDown 526 | # - ScrollToTop 527 | # - ScrollToBottom 528 | # - ClearHistory 529 | # - Hide 530 | # - Minimize 531 | # - Quit 532 | # - ToggleFullscreen 533 | # - SpawnNewInstance 534 | # - ClearLogNotice 535 | # - ReceiveChar 536 | # - None 537 | # 538 | # (macOS only): 539 | # - ToggleSimpleFullscreen: Enters fullscreen without occupying another space 540 | # 541 | # - `command`: Fork and execute a specified command plus arguments 542 | # 543 | # The `command` field must be a map containing a `program` string and an 544 | # `args` array of command line parameter strings. For example: 545 | # `{ program: "alacritty", args: ["-e", "vttest"] }` 546 | # 547 | # And optionally: 548 | # 549 | # - `mods`: Key modifiers to filter binding actions 550 | # 551 | # - Command 552 | # - Control 553 | # - Option 554 | # - Super 555 | # - Shift 556 | # - Alt 557 | # 558 | # Multiple `mods` can be combined using `|` like this: 559 | # `mods: Control|Shift`. 560 | # Whitespace and capitalization are relevant and must match the example. 561 | # 562 | # - `mode`: Indicate a binding for only specific terminal reported modes 563 | # 564 | # This is mainly used to send applications the correct escape sequences 565 | # when in different modes. 566 | # 567 | # - AppCursor 568 | # - AppKeypad 569 | # - Alt 570 | # 571 | # A `~` operator can be used before a mode to apply the binding whenever 572 | # the mode is *not* active, e.g. `~Alt`. 573 | # 574 | # Bindings are always filled by default, but will be replaced when a new 575 | # binding with the same triggers is defined. To unset a default binding, it can 576 | # be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for 577 | # a no-op if you do not wish to receive input characters for that binding. 578 | # 579 | # If the same trigger is assigned to multiple actions, all of them are executed 580 | # at once. 581 | key_bindings: 582 | # (Windows, Linux, and BSD only) 583 | - { key: V, mods: Control|Shift, action: Paste } 584 | - { key: C, mods: Control|Shift, action: Copy } 585 | - { key: Insert, mods: Shift, action: PasteSelection } 586 | - { key: Key0, mods: Control, action: ResetFontSize } 587 | - { key: Equals, mods: Control, action: IncreaseFontSize } 588 | - { key: Add, mods: Control, action: IncreaseFontSize } 589 | - { key: Subtract, mods: Control, action: DecreaseFontSize } 590 | - { key: T, mods: Control|Shift, action: Quit } 591 | - { key: F, mods: Control|Shift, action: ToggleFullscreen } 592 | 593 | -------------------------------------------------------------------------------- /.config/bashrc/.bashrc_prompt: -------------------------------------------------------------------------------- 1 | # ~/.config/bashrc/.bashrc_prompt 2 | 3 | # SETUP CONSTANTS 4 | 5 | #### GIT && PS1 6 | 7 | # GIT_PS1_DESCRIBE_STYLE 8 | # Modifies the way detached HEAD is shown. Possible values are: 9 | # contains: Looks forward in the tree for a tag, so you know which tag you're behind 10 | # branch: Looks forward in the tree for a tag or a branch (whatever's nearest) 11 | # describe: Looks backwards in the tree for a tag, so you know which tag you're ahead of 12 | # default: If your exactly on a tag, display it. If the method you chose fails to find a tag/branch to display, you'll see the commit id instead. 13 | 14 | # GIT_PS1_SHOWCOLORHINTS 15 | # __git_ps1 can be used to create the PS1 prompt and not just its own output. If that's the case, a non-empty value tells git to color the prompt according to the current state (dirty, untracked files...) 16 | 17 | # GIT_PS1_SHOWDIRTYSTATE 18 | # Shows the "dirty" indicator - meaning whether you modified tracked files. Can be * for unstaged changes, + for staged changes, # for "no HEAD to compare against" (usually only happens before initial commit) 19 | 20 | # GIT_PS1_SHOWSTASHSTATE 21 | # Shows the "stash" indicator - meaning whether you have files stashed. 22 | # Looks like $ 23 | 24 | # GIT_PS1_SHOWUNTRACKEDFILES 25 | # Shows the "untracked" indicator - meaning whether you have untracked files (files that are in the working directory but haven't been added using git add to the repository). 26 | # Looks like % 27 | 28 | # GIT_PS1_SHOWUPSTREAM 29 | # Shows the difference between the upstream branch and the current branch. I only use "auto", meaning that I get the following values: 30 | # < when behind (pull required) 31 | # > when ahead (push required) 32 | # <> when diverged (conflict resolution required) 33 | # = when identical (no action is needed). 34 | # This obviously requires a fetch the remote server from time to time. 35 | 36 | #show current project and branch 37 | GIT_PS1_SHOWDIRTYSTATE=true 38 | GIT_PS1_SHOWSTASHSTATE=false 39 | GIT_PS1_SHOWUNTRACKEDFILES=true 40 | GIT_PS1_DESCRIBE_STYLE='contains' 41 | GIT_PS1_SHOWUPSTREAM='auto' 42 | #GIT_PS1_SHOWCOLORHINTS=true 43 | 44 | 45 | # Bunch-o-predefined colors. Makes reading code easier than escape sequences. 46 | 47 | # Reset 48 | Color_Off="\[\033[0m\]" # Text Reset 49 | 50 | # Regular Colors 51 | Black="\[\033[0;30m\]" # Black 52 | Red="\[\033[0;31m\]" # Red 53 | Green="\[\033[0;32m\]" # Green 54 | Yellow="\[\033[0;33m\]" # Yellow 55 | Blue="\[\033[0;34m\]" # Blue 56 | Purple="\[\033[0;35m\]" # Purple 57 | Cyan="\[\033[0;36m\]" # Cyan 58 | White="\[\033[0;37m\]" # White 59 | 60 | # Bold 61 | BBlack="\[\033[1;30m\]" # Black 62 | BRed="\[\033[1;31m\]" # Red 63 | BGreen="\[\033[1;32m\]" # Green 64 | BYellow="\[\033[1;33m\]" # Yellow 65 | BBlue="\[\033[1;34m\]" # Blue 66 | BPurple="\[\033[1;35m\]" # Purple 67 | BCyan="\[\033[1;36m\]" # Cyan 68 | BWhite="\[\033[1;37m\]" # White 69 | 70 | # Underline 71 | UBlack="\[\033[4;30m\]" # Black 72 | URed="\[\033[4;31m\]" # Red 73 | UGreen="\[\033[4;32m\]" # Green 74 | UYellow="\[\033[4;33m\]" # Yellow 75 | UBlue="\[\033[4;34m\]" # Blue 76 | UPurple="\[\033[4;35m\]" # Purple 77 | UCyan="\[\033[4;36m\]" # Cyan 78 | UWhite="\[\033[4;37m\]" # White 79 | 80 | # Background 81 | On_Black="\[\033[40m\]" # Black 82 | On_Red="\[\033[41m\]" # Red 83 | On_Green="\[\033[42m\]" # Green 84 | On_Yellow="\[\033[43m\]" # Yellow 85 | On_Blue="\[\033[44m\]" # Blue 86 | On_Purple="\[\033[45m\]" # Purple 87 | On_Cyan="\[\033[46m\]" # Cyan 88 | On_White="\[\033[47m\]" # White 89 | 90 | # High Intensty 91 | IBlack="\[\033[0;90m\]" # Black 92 | IRed="\[\033[0;91m\]" # Red 93 | IGreen="\[\033[0;92m\]" # Green 94 | IYellow="\[\033[0;93m\]" # Yellow 95 | IBlue="\[\033[0;94m\]" # Blue 96 | IPurple="\[\033[0;95m\]" # Purple 97 | ICyan="\[\033[0;96m\]" # Cyan 98 | IWhite="\[\033[0;97m\]" # White 99 | 100 | # Bold High Intensty 101 | BIBlack="\[\033[1;90m\]" # Black 102 | BIRed="\[\033[1;91m\]" # Red 103 | BIGreen="\[\033[1;92m\]" # Green 104 | BIYellow="\[\033[1;93m\]" # Yellow 105 | BIBlue="\[\033[1;94m\]" # Blue 106 | BIPurple="\[\033[1;95m\]" # Purple 107 | BICyan="\[\033[1;96m\]" # Cyan 108 | BIWhite="\[\033[1;97m\]" # White 109 | 110 | # High Intensty backgrounds 111 | On_IBlack="\[\033[0;100m\]" # Black 112 | On_IRed="\[\033[0;101m\]" # Red 113 | On_IGreen="\[\033[0;102m\]" # Green 114 | On_IYellow="\[\033[0;103m\]" # Yellow 115 | On_IBlue="\[\033[0;104m\]" # Blue 116 | On_IPurple="\[\033[10;95m\]" # Purple 117 | On_ICyan="\[\033[0;106m\]" # Cyan 118 | On_IWhite="\[\033[0;107m\]" # White 119 | 120 | # Various variables you might want for your PS1 prompt instead 121 | Time12h="\T" 122 | Time12a="\@" 123 | PathShort="\w" 124 | PathFull="\W" 125 | NewLine="\n" 126 | Jobs="\j" 127 | 128 | ## Sets base color around text 129 | if [[ ${EUID} == 0 ]] ; then 130 | sq_color=$BRed 131 | sq_emblem="#" 132 | else 133 | sq_color=$ICyan 134 | sq_emblem="\$" 135 | fi 136 | 137 | ## Setup PS1 - split it off into segments for better understanding 138 | #### First corner 139 | PS1="\n$sq_color\342\224\214\342\224\200" 140 | #### If failed command, show extra 141 | PS1+="\$([[ \$? != 0 ]] && echo \"[$BRed\342\234\227$sq_color]\342\224\200\")" 142 | 143 | #### If remote connection, show host 144 | if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then 145 | PS1+="[$BPurple\h$sq_color]" 146 | PS1+="\342\224\200" 147 | fi 148 | 149 | #### User 150 | PS1+="[$BRed\u$sq_color]" 151 | #### Connector bit 152 | PS1+="\342\224\200" 153 | #### CWD 154 | PS1+="[$BGreen\w$sq_color]" 155 | #### More corner bits 156 | PS1+="\n$sq_color\342\224\224\342\224\200\342\224\200>" 157 | #### Git cmd 158 | PS1+='$(__git_ps1 " (%s) ")' 159 | #### Last bit use $ or #(root) 160 | PS1+="$sq_color$sq_emblem $Color_Off" 161 | 162 | export PS1 163 | 164 | 165 | unset sq_color 166 | unset sq_emblem 167 | -------------------------------------------------------------------------------- /.config/bashrc/.bashrc_shortcuts: -------------------------------------------------------------------------------- 1 | #~/.config/bashrc/.bashrc_shortcuts 2 | 3 | ## Moving around 4 | # cd into the old directory 5 | alias bd='cd "$OLDPWD"' 6 | alias back='cd $OLDPWD' 7 | # easy up 8 | alias ..='cd ..' 9 | alias ...='cd ../../' 10 | alias ....='cd ../../../' 11 | alias .....='cd ../../../../' 12 | 13 | ## Dir shortcuts 14 | alias docs='cd ~/Documents' 15 | alias dls='cd ~/Downloads' 16 | alias downloads='cd ~/Downloads' 17 | alias torrents='cd ~/Torrents' 18 | #alias videos='cd ~/Videos' 19 | alias coding='cd ~/Coding' 20 | alias webs='cd ~/Coding/Websites' 21 | alias www='cd /var/www/html' 22 | 23 | # Remove a directory and all files 24 | # Use with caution 25 | alias rmd='/bin/rm --recursive --force --verbose ' 26 | 27 | # Alias's for multiple directory listing commands 28 | alias la='ls -Alh' # show hidden files 29 | alias ls='ls -aFh --color=always' # add colors and file type extensions 30 | alias lx='ls -lXBh' # sort by extension 31 | alias lk='ls -lSrh' # sort by size 32 | alias lc='ls -lcrh' # sort by change time 33 | alias lu='ls -lurh' # sort by access time 34 | alias lr='ls -lRh' # recursive ls 35 | alias lt='ls -ltrh' # sort by date 36 | alias lm='ls -alh |more' # pipe through 'more' 37 | alias lw='ls -xAh' # wide listing format 38 | alias ll='ls -Fls' # long listing format 39 | alias labc='ls -lap' #alphabetical sort 40 | alias lf="ls -l | egrep -v '^d'" # files only 41 | alias ldir="ls -l | egrep '^d'" # directories only 42 | 43 | # alias chmod commands 44 | alias mx='chmod a+x' 45 | alias 000='chmod -R 000' 46 | alias 644='chmod -R 644' 47 | alias 664='chmod -R 664' 48 | alias 666='chmod -R 666' 49 | alias 755='chmod -R 755' 50 | alias 777='chmod -R 777' 51 | 52 | 53 | # Search files in the current folder 54 | alias f="find . | grep " 55 | 56 | # Clear and restart bash. Good for changing welcome screen 57 | alias clbsh="clear;bash" 58 | 59 | # Base 64 En/Decode 60 | decode () { 61 | echo "$1" | base64 -d ; echo 62 | } 63 | 64 | encode () { 65 | echo "$1" | base64 ; echo 66 | } 67 | 68 | # Extracts any archive(s) (if unp isn't installed) 69 | extract () { 70 | for archive in $*; do 71 | if [ -f $archive ] ; then 72 | case $archive in 73 | *.tar.bz2) tar xvjf $archive ;; 74 | *.tar.gz) tar xvzf $archive ;; 75 | *.bz2) bunzip2 $archive ;; 76 | *.rar) rar x $archive ;; 77 | *.gz) gunzip $archive ;; 78 | *.tar) tar xvf $archive ;; 79 | *.tbz2) tar xvjf $archive ;; 80 | *.tgz) tar xvzf $archive ;; 81 | *.zip) unzip $archive ;; 82 | *.Z) uncompress $archive ;; 83 | *.7z) 7z x $archive ;; 84 | *) echo "don't know how to extract '$archive'..." ;; 85 | esac 86 | else 87 | echo "'$archive' is not a valid file!" 88 | fi 89 | done 90 | } 91 | 92 | # Creates an archive from given directory 93 | mktar() { tar cvf "${1%%/}.tar" "${1%%/}/"; } 94 | mktgz() { tar cvzf "${1%%/}.tar.gz" "${1%%/}/"; } 95 | mktbz() { tar cvjf "${1%%/}.tar.bz2" "${1%%/}/"; } 96 | 97 | mkcd() { 98 | mkdir -p -v $1 99 | cd $1 100 | } 101 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /.config/bashrc/.bashrc_startup: -------------------------------------------------------------------------------- 1 | #~/.config/bashrc/.bashrc_startup 2 | 3 | # Makesure forturne,cowsay, and neofetch installed 4 | if [ -x "$(command -v fortune)" ] && [ -x "$(command -v cowsay)" ] && [ -x "$(command -v neofetch)" ]; then 5 | # cow saying your fortune (how awesome is that?) 6 | # you mean turtle right? Oh wait, lets throw it into neofetch for funzies 7 | # and let's color it 8 | 9 | # Make some room 10 | echo "" 11 | 12 | # Start a tmp file for neofetch 13 | # Make text bold Cyan 14 | echo "\033[1;36m" > /tmp/tmp.say 15 | 16 | # Get some small fortune 17 | # Throw it at turtle 18 | # Save it to file 19 | fortune -s | cowsay -f turtle >> /tmp/tmp.say 20 | 21 | # Force Cyan color from Arch 22 | # Make sure there's a gap 23 | # Give it our ascii art 24 | neofetch --ascii_distro arch --gap 10 --ascii /tmp/tmp.say 25 | 26 | # Clean up 27 | rm -f /tmp/tmp.say 28 | fi 29 | 30 | # $i is declared in .bashrc; holds the filename of this script 31 | dirn=$(dirname $i) 32 | # Make sure LS_COLORS is in place. 33 | if [ -f "$dirn/LS_COLORS" ]; then 34 | # Get those nice ls colors 35 | eval $( dircolors -b "$dirn/LS_COLORS" ) 36 | fi 37 | unset dirn 38 | 39 | -------------------------------------------------------------------------------- /.config/bashrc/LS_COLORS: -------------------------------------------------------------------------------- 1 | # LS_COLORS 2 | # Maintainers: Magnus Woldrich , 3 | # Ryan Delaney OpenGPG: 0D98863B4E1D07B6 4 | # URL: https://github.com/trapd00r/LS_COLORS 5 | # 6 | # This is a collection of extension:color mappings, suitable to use as your 7 | # LS_COLORS environment variable. Most of them use the extended color map, 8 | # described in the ECMA-48 document; in other words, you'll need a terminal 9 | # with capabilities of displaying 256 colors. 10 | # 11 | # As of this writing, over 500 different filetypes/extensions are supported. 12 | # That's indeed a lot of extensions, but there's a lot more! Therefore I need 13 | # your help. 14 | # 15 | # Fork this project on github, add the extensions you are missing, and send me 16 | # a pull request. 17 | # 18 | # For files that usually end up next to each other, like html, css and js, 19 | # try to pick colors that fit nicely together. Filetypes with multiple 20 | # possible extensions, like htm and html, should have the same color. 21 | 22 | # This program is distributed in the hope that it will be useful, but WITHOUT ANY 23 | # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 24 | # PARTICULAR PURPOSE. See the Perl Artistic License for more details. 25 | # 26 | # This program is free software: you can redistribute it and/or modify it under 27 | # the terms of the Perl Artistic License as published by the Perl Foundation, 28 | # either version 1.0 of the License, or (at your option) any later version. 29 | # 30 | # You should have received a copy of the Perl Artistic License along 31 | # with this program. If not, see . 32 | 33 | # core {{{1 34 | BLK 38;5;68 35 | CAPABILITY 38;5;17 36 | CHR 38;5;113;1 37 | DIR 38;5;30 38 | DOOR 38;5;127 39 | EXEC 38;5;208;1 40 | FIFO 38;5;126 41 | FILE 0 42 | LINK target 43 | MULTIHARDLINK 38;5;222;1 44 | # "NORMAL don't reset the bold attribute - 45 | # https://github.com/trapd00r/LS_COLORS/issues/11 46 | #NORMAL 38;5;254 47 | NORMAL 0 48 | ORPHAN 48;5;196;38;5;232;1 49 | OTHER_WRITABLE 38;5;220;1 50 | SETGID 48;5;3;38;5;0 51 | SETUID 38;5;220;1;3;100;1 52 | SOCK 38;5;197 53 | STICKY 38;5;86;48;5;234 54 | STICKY_OTHER_WRITABLE 48;5;235;38;5;139;3 55 | 56 | *LS_COLORS 48;5;89;38;5;197;1;3;4;7 # :-) 57 | # }}} 58 | # documents {{{1 59 | *README 38;5;220;1 60 | *README.rst 38;5;220;1 61 | *README.md 38;5;220;1 62 | *LICENSE 38;5;220;1 63 | *COPYING 38;5;220;1 64 | *INSTALL 38;5;220;1 65 | *COPYRIGHT 38;5;220;1 66 | *AUTHORS 38;5;220;1 67 | *HISTORY 38;5;220;1 68 | *CONTRIBUTORS 38;5;220;1 69 | *PATENTS 38;5;220;1 70 | *VERSION 38;5;220;1 71 | *NOTICE 38;5;220;1 72 | *CHANGES 38;5;220;1 73 | .log 38;5;190 74 | # plain-text {{{2 75 | .txt 38;5;253 76 | # markup {{{2 77 | .etx 38;5;184 78 | .info 38;5;184 79 | .markdown 38;5;184 80 | .md 38;5;184 81 | .mkd 38;5;184 82 | .nfo 38;5;184 83 | .pod 38;5;184 84 | .rst 38;5;184 85 | .tex 38;5;184 86 | .textile 38;5;184 87 | # key-value, non-relational data {{{2 88 | .bib 38;5;178 89 | .json 38;5;178 90 | .jsonl 38;5;178 91 | .msg 38;5;178 92 | .pgn 38;5;178 93 | .rss 38;5;178 94 | .xml 38;5;178 95 | .fxml 38;5;178 96 | .toml 38;5;178 97 | .yaml 38;5;178 98 | .yml 38;5;178 99 | .RData 38;5;178 100 | .rdata 38;5;178 101 | # }}} 102 | # binary {{{2 103 | .cbr 38;5;141 104 | .cbz 38;5;141 105 | .chm 38;5;141 106 | .djvu 38;5;141 107 | .pdf 38;5;141 108 | .PDF 38;5;141 109 | .mobi 38;5;141 110 | .epub 38;5;141 111 | # words {{{3 112 | .docm 38;5;111;4 113 | .doc 38;5;111 114 | .docx 38;5;111 115 | .eps 38;5;111 116 | .ps 38;5;111 117 | .odb 38;5;111 118 | .odt 38;5;111 119 | .rtf 38;5;111 120 | # presentation {{{3 121 | .odp 38;5;166 122 | .pps 38;5;166 123 | .ppt 38;5;166 124 | .pptx 38;5;166 125 | # Powerpoint show 126 | .ppts 38;5;166 127 | # Powerpoint with enabled macros 128 | .pptxm 38;5;166;4 129 | # Powerpoint show with enabled macros 130 | .pptsm 38;5;166;4 131 | # spreadsheet {{{3 132 | .csv 38;5;78 133 | .tsv 38;5;78 134 | # Open document spreadsheet 135 | .ods 38;5;112 136 | .xla 38;5;76 137 | # Excel spreadsheet 138 | .xls 38;5;112 139 | .xlsx 38;5;112 140 | # Excel spreadsheet with macros 141 | .xlsxm 38;5;112;4 142 | # Excel module 143 | .xltm 38;5;73;4 144 | .xltx 38;5;73 145 | # macOS office suite {{{3 146 | .pages 38;5;111 147 | .numbers 38;5;112 148 | .key 38;5;166 149 | # }}} 150 | # }}} 151 | # configs {{{2 152 | *config 1 153 | *cfg 1 154 | *conf 1 155 | *rc 1 156 | *authorized_keys 1 157 | *known_hosts 1 158 | .ini 1 159 | .plist 1 160 | # vim 161 | .viminfo 1 162 | # cisco VPN client configuration 163 | .pcf 1 164 | # adobe photoshop proof settings file 165 | .psf 1 166 | # Sublime Text config 167 | .hidden-color-scheme 1 168 | .hidden-tmTheme 1 169 | .last-run 1 170 | .merged-ca-bundle 1 171 | .sublime-build 1 172 | .sublime-commands 1 173 | .sublime-keymap 1 174 | .sublime-settings 1 175 | .sublime-snippet 1 176 | .tmTheme 1 177 | .user-ca-bundle 1 178 | # eclipse 179 | .epf 1 180 | # }}} 181 | # }}} 182 | # code {{{1 183 | # version control {{{2 184 | .git 38;5;197 185 | .gitignore 38;5;240 186 | .gitattributes 38;5;240 187 | .gitmodules 38;5;240 188 | 189 | # shell {{{2 190 | .awk 38;5;172 191 | .bash 38;5;172 192 | .bat 38;5;172 193 | .BAT 38;5;172 194 | .sed 38;5;172 195 | .sh 38;5;172 196 | .zsh 38;5;172 197 | .vim 38;5;172 198 | 199 | # interpreted {{{2 200 | .ahk 38;5;41 201 | # python 202 | .py 38;5;41 203 | .ipynb 38;5;41 204 | # ruby 205 | .rb 38;5;41 206 | .gemspec 38;5;41 207 | # perl 208 | .pl 38;5;208 209 | .PL 38;5;160 210 | .t 38;5;114 211 | # sql 212 | .msql 38;5;222 213 | .mysql 38;5;222 214 | .pgsql 38;5;222 215 | .sql 38;5;222 216 | # Tool Command Language 217 | .tcl 38;5;64;1 218 | # R language 219 | .r 38;5;49 220 | .R 38;5;49 221 | # GrADS script 222 | .gs 38;5;81 223 | # Clojure 224 | .clj 38;5;41 225 | .cljs 38;5;41 226 | .cljc 38;5;41 227 | # Clojure gorilla REPL worksheet 228 | .cljw 38;5;41 229 | # Scala 230 | .scala 38;5;41 231 | # Dart 232 | .dart 38;5;51 233 | 234 | # compiled {{{2 235 | # 236 | # assembly language 237 | .asm 38;5;81 238 | # LISP 239 | .cl 38;5;81 240 | .lisp 38;5;81 241 | .rkt 38;5;81 242 | # lua 243 | .lua 38;5;81 244 | # Moonscript 245 | .moon 38;5;81 246 | # C 247 | .c 38;5;81 248 | .C 38;5;81 249 | .h 38;5;110 250 | .H 38;5;110 251 | .tcc 38;5;110 252 | # C++ 253 | .c++ 38;5;81 254 | .h++ 38;5;110 255 | .hpp 38;5;110 256 | .hxx 38;5;110 257 | .ii 38;5;110 258 | # method file for Objective C 259 | .M 38;5;110 260 | .m 38;5;110 261 | # Csharp 262 | .cc 38;5;81 263 | .cs 38;5;81 264 | .cp 38;5;81 265 | .cpp 38;5;81 266 | .cxx 38;5;81 267 | # Crystal 268 | .cr 38;5;81 269 | # Google golang 270 | .go 38;5;81 271 | # fortran 272 | .f 38;5;81 273 | .F 38;5;81 274 | .for 38;5;81 275 | .ftn 38;5;81 276 | .f90 38;5;81 277 | .F90 38;5;81 278 | .f95 38;5;81 279 | .F95 38;5;81 280 | .f03 38;5;81 281 | .F03 38;5;81 282 | .f08 38;5;81 283 | .F08 38;5;81 284 | # Nim 285 | .nim 38;5;81 286 | .nimble 38;5;81 287 | # pascal 288 | .s 38;5;110 289 | .S 38;5;110 290 | # Rust 291 | .rs 38;5;81 292 | # AppleScript 293 | .scpt 38;5;219 294 | # Swift 295 | .swift 38;5;219 296 | # ? 297 | .sx 38;5;81 298 | # Vala 299 | .vala 38;5;81 300 | .vapi 38;5;81 301 | # interface file in GHC - https://github.com/trapd00r/LS_COLORS/pull/9 302 | .hi 38;5;110 303 | # haskell 304 | .hs 38;5;81 305 | .lhs 38;5;81 306 | # agda 307 | .agda 38;5;81 308 | .lagda 38;5;81 309 | .lagda.tex 38;5;81 310 | .lagda.rst 38;5;81 311 | .lagda.md 38;5;81 312 | .agdai 38;5;110 313 | 314 | # binaries {{{2 315 | # compiled apps for interpreted languages 316 | .pyc 38;5;240 317 | # }}} 318 | # orchestration {{{2 319 | .tf 38;5;168 320 | .tfstate 38;5;168 321 | .tfvars 38;5;168 322 | # orchestration 2}}} 323 | # html {{{2 324 | .css 38;5;125;1 325 | .less 38;5;125;1 326 | .sass 38;5;125;1 327 | .scss 38;5;125;1 328 | .htm 38;5;125;1 329 | .html 38;5;125;1 330 | .jhtm 38;5;125;1 331 | .mht 38;5;125;1 332 | .eml 38;5;125;1 333 | .mustache 38;5;125;1 334 | # }}} 335 | # java {{{2 336 | .coffee 38;5;074;1 337 | .java 38;5;074;1 338 | .js 38;5;074;1 339 | .mjs 38;5;074;1 340 | .jsm 38;5;074;1 341 | .jsm 38;5;074;1 342 | .jsp 38;5;074;1 343 | # }}} 344 | # php {{{2 345 | .php 38;5;81 346 | # CakePHP view scripts and helpers 347 | .ctp 38;5;81 348 | # Twig template engine 349 | .twig 38;5;81 350 | # }}} 351 | # vb/a {{{2 352 | .vb 38;5;81 353 | .vba 38;5;81 354 | .vbs 38;5;81 355 | # 2}}} 356 | # Build stuff {{{2 357 | *Dockerfile 38;5;155 358 | .dockerignore 38;5;240 359 | *Makefile 38;5;155 360 | *MANIFEST 38;5;243 361 | *pm_to_blib 38;5;240 362 | # Functional Configuration 363 | .nix 38;5;155 364 | .dhall 38;5;178 365 | # ruby rake 366 | .rake 38;5;155 367 | # automake 368 | .am 38;5;242 369 | .in 38;5;242 370 | .hin 38;5;242 371 | .scan 38;5;242 372 | .m4 38;5;242 373 | .old 38;5;242 374 | .out 38;5;242 375 | .SKIP 38;5;244 376 | # }}} 377 | # patch files {{{2 378 | .diff 48;5;197;38;5;232 379 | .patch 48;5;197;38;5;232;1 380 | #}}} 381 | # graphics {{{1 382 | .bmp 38;5;97 383 | .dicom 38;5;97 384 | .tiff 38;5;97 385 | .tif 38;5;97 386 | .TIFF 38;5;97 387 | .cdr 38;5;97 388 | .flif 38;5;97 389 | .gif 38;5;97 390 | .icns 38;5;97 391 | .ico 38;5;97 392 | .jpeg 38;5;97 393 | .JPG 38;5;97 394 | .jpg 38;5;97 395 | .nth 38;5;97 396 | .png 38;5;97 397 | .psd 38;5;97 398 | .pxd 38;5;97 399 | .pxm 38;5;97 400 | .xpm 38;5;97 401 | .webp 38;5;97 402 | # }}} 403 | # vector {{{1 404 | .ai 38;5;99 405 | .eps 38;5;99 406 | .epsf 38;5;99 407 | .drw 38;5;99 408 | .ps 38;5;99 409 | .svg 38;5;99 410 | # }}} 411 | # video {{{1 412 | .avi 38;5;114 413 | .divx 38;5;114 414 | .IFO 38;5;114 415 | .m2v 38;5;114 416 | .m4v 38;5;114 417 | .mkv 38;5;114 418 | .MOV 38;5;114 419 | .mov 38;5;114 420 | .mp4 38;5;114 421 | .mpeg 38;5;114 422 | .mpg 38;5;114 423 | .ogm 38;5;114 424 | .rmvb 38;5;114 425 | .sample 38;5;114 426 | .wmv 38;5;114 427 | # mobile/streaming {{{2 428 | .3g2 38;5;115 429 | .3gp 38;5;115 430 | .gp3 38;5;115 431 | .webm 38;5;115 432 | .gp4 38;5;115 433 | .asf 38;5;115 434 | .flv 38;5;115 435 | .ts 38;5;115 436 | .ogv 38;5;115 437 | .f4v 38;5;115 438 | # }}} 439 | # lossless {{{2 440 | .VOB 38;5;115;1 441 | .vob 38;5;115;1 442 | # }}} 443 | # subtitles {{{1 444 | .ass 38;5;117 445 | .srt 38;5;117 446 | .ssa 38;5;117 447 | .sub 38;5;117 448 | .sup 38;5;117 # bitmap image track 449 | .vtt 38;5;117 450 | #}}} 451 | # audio {{{1 452 | .3ga 38;5;137;1 453 | .S3M 38;5;137;1 454 | .aac 38;5;137;1 455 | .amr 38;5;137;1 456 | .au 38;5;137;1 457 | .caf 38;5;137;1 458 | .dat 38;5;137;1 459 | .dts 38;5;137;1 460 | .fcm 38;5;137;1 461 | .m4a 38;5;137;1 462 | .mid 38;5;137;1 463 | .midi 38;5;137;1 464 | .mod 38;5;137;1 465 | .mp3 38;5;137;1 466 | .mp4a 38;5;137;1 467 | .oga 38;5;137;1 468 | .ogg 38;5;137;1 469 | .opus 38;5;137;1 470 | .s3m 38;5;137;1 471 | .sid 38;5;137;1 472 | .wma 38;5;137;1 473 | # lossless 474 | .ape 38;5;136;1 475 | .aiff 38;5;136;1 476 | .cda 38;5;136;1 477 | .flac 38;5;136;1 478 | .alac 38;5;136;1 479 | .midi 38;5;136;1 480 | .pcm 38;5;136;1 481 | .wav 38;5;136;1 482 | .wv 38;5;136;1 483 | .wvc 38;5;136;1 484 | 485 | # }}} 486 | # fonts {{{1 487 | .afm 38;5;66 488 | .fon 38;5;66 489 | .fnt 38;5;66 490 | .pfb 38;5;66 491 | .pfm 38;5;66 492 | .ttf 38;5;66 493 | .otf 38;5;66 494 | # Web Open Font Format 495 | .woff 38;5;66 496 | .woff2 38;5;66 497 | # postscript fonts 498 | .PFA 38;5;66 499 | .pfa 38;5;66 500 | # }}} 501 | # archives {{{1 502 | .7z 38;5;40 503 | .a 38;5;40 504 | .arj 38;5;40 505 | .bz2 38;5;40 506 | .cpio 38;5;40 507 | .gz 38;5;40 508 | .lrz 38;5;40 509 | .lz 38;5;40 510 | .lzma 38;5;40 511 | .lzo 38;5;40 512 | .rar 38;5;40 513 | .s7z 38;5;40 514 | .sz 38;5;40 515 | .tar 38;5;40 516 | .tgz 38;5;40 517 | .xz 38;5;40 518 | .z 38;5;40 519 | .zip 38;5;40 520 | .zipx 38;5;40 521 | .zoo 38;5;40 522 | .zpaq 38;5;40 523 | .zst 38;5;40 524 | .zstd 38;5;40 525 | .zz 38;5;40 526 | # packaged apps {{{2 527 | .apk 38;5;215 528 | .ipa 38;5;215 529 | .deb 38;5;215 530 | .rpm 38;5;215 531 | .jad 38;5;215 532 | .jar 38;5;215 533 | .cab 38;5;215 534 | .pak 38;5;215 535 | .pk3 38;5;215 536 | .vdf 38;5;215 537 | .vpk 38;5;215 538 | .bsp 38;5;215 539 | .dmg 38;5;215 540 | # }}} 541 | # segments from 0 to three digits after first extension letter {{{2 542 | .r[0-9]{0,2} 38;5;239 543 | .zx[0-9]{0,2} 38;5;239 544 | .z[0-9]{0,2} 38;5;239 545 | # partial files 546 | .part 38;5;239 547 | # }}} 548 | # partition images {{{2 549 | .dmg 38;5;124 550 | .iso 38;5;124 551 | .bin 38;5;124 552 | .nrg 38;5;124 553 | .qcow 38;5;124 554 | .sparseimage 38;5;124 555 | .toast 38;5;124 556 | .vcd 38;5;124 557 | .vmdk 38;5;124 558 | # }}} 559 | # databases {{{2 560 | .accdb 38;5;60 561 | .accde 38;5;60 562 | .accdr 38;5;60 563 | .accdt 38;5;60 564 | .db 38;5;60 565 | .fmp12 38;5;60 566 | .fp7 38;5;60 567 | .localstorage 38;5;60 568 | .mdb 38;5;60 569 | .mde 38;5;60 570 | .sqlite 38;5;60 571 | .typelib 38;5;60 572 | # NetCDF database 573 | .nc 38;5;60 574 | # }}} 575 | # tempfiles {{{1 576 | # undo files 577 | .pacnew 38;5;33 578 | .un~ 38;5;241 579 | .orig 38;5;241 580 | # backups 581 | .BUP 38;5;241 582 | .bak 38;5;241 583 | .o 38;5;241 # *nix Object file (shared libraries, core dumps etc) 584 | *core 38;5;241 # Linux user core dump file (from /proc/sys/kernel/core_pattern) 585 | .mdump 38;5;241 # Mini DuMP crash report 586 | .rlib 38;5;241 # Static rust library 587 | .dll 38;5;241 # dynamic linked library 588 | # temporary files 589 | .swp 38;5;244 590 | .swo 38;5;244 591 | .tmp 38;5;244 592 | .sassc 38;5;244 593 | # state files 594 | .pid 38;5;248 595 | .state 38;5;248 596 | *lockfile 38;5;248 597 | *lock 38;5;248 598 | # error logs 599 | .err 38;5;160;1 600 | .error 38;5;160;1 601 | .stderr 38;5;160;1 602 | # state dumps 603 | .aria2 38;5;241 604 | .dump 38;5;241 605 | .stackdump 38;5;241 606 | .zcompdump 38;5;241 607 | .zwc 38;5;241 608 | # tcpdump, network traffic capture 609 | .pcap 38;5;29 610 | .cap 38;5;29 611 | .dmp 38;5;29 612 | # macOS 613 | .DS_Store 38;5;239 614 | .localized 38;5;239 615 | .CFUserTextEncoding 38;5;239 616 | # }}} 617 | # hosts {{{1 618 | # /etc/hosts.{deny,allow} 619 | .allow 38;5;112 620 | .deny 38;5;196 621 | # }}} 622 | # systemd {{{1 623 | # http://www.freedesktop.org/software/systemd/man/systemd.unit.html 624 | .service 38;5;45 625 | *@.service 38;5;45 626 | .socket 38;5;45 627 | .swap 38;5;45 628 | .device 38;5;45 629 | .mount 38;5;45 630 | .automount 38;5;45 631 | .target 38;5;45 632 | .path 38;5;45 633 | .timer 38;5;45 634 | .snapshot 38;5;45 635 | # }}} 636 | # metadata {{{1 637 | .application 38;5;116 638 | .cue 38;5;116 639 | .description 38;5;116 640 | .directory 38;5;116 641 | .m3u 38;5;116 642 | .m3u8 38;5;116 643 | .md5 38;5;116 644 | .properties 38;5;116 645 | .sfv 38;5;116 646 | .theme 38;5;116 647 | .torrent 38;5;116 648 | .urlview 38;5;116 649 | .webloc 38;5;116 650 | .lnk 38;5;39 651 | # }}} 652 | # macOS files {{{1 653 | *CodeResources 38;5;239 # code signing apps 654 | *PkgInfo 38;5;239 # app bundle id 655 | .nib 38;5;57 # UI 656 | .car 38;5;57 # asset catalog 657 | .dylib 38;5;241 # shared lib 658 | # Xcode files {{{2 659 | .entitlements 1 660 | .pbxproj 1 661 | .strings 1 662 | .storyboard 38;5;196 663 | .xcconfig 1 664 | .xcsettings 1 665 | .xcuserstate 1 666 | .xcworkspacedata 1 667 | .xib 38;5;208 668 | # }}} 669 | # }}} 670 | # encrypted data {{{1 671 | .asc 38;5;192;3 672 | .bfe 38;5;192;3 673 | .enc 38;5;192;3 674 | .gpg 38;5;192;3 675 | .signature 38;5;192;3 676 | .sig 38;5;192;3 677 | .p12 38;5;192;3 678 | .pem 38;5;192;3 679 | .pgp 38;5;192;3 680 | .asc 38;5;192;3 681 | .enc 38;5;192;3 682 | .sig 38;5;192;3 683 | .p7s 38;5;192;3 684 | *id_dsa 38;5;192;3 685 | *id_rsa 38;5;192;3 686 | *id_ecdsa 38;5;192;3 687 | *id_ed25519 38;5;192;3 688 | # 1}}} 689 | # emulators {{{1 690 | .32x 38;5;213 691 | .cdi 38;5;213 692 | .fm2 38;5;213 693 | .rom 38;5;213 694 | .sav 38;5;213 695 | .st 38;5;213 696 | # atari 697 | .a00 38;5;213 698 | .a52 38;5;213 699 | .A64 38;5;213 700 | .a64 38;5;213 701 | .a78 38;5;213 702 | .adf 38;5;213 703 | .atr 38;5;213 704 | # nintendo 705 | .gb 38;5;213 706 | .gba 38;5;213 707 | .gbc 38;5;213 708 | .gel 38;5;213 709 | .gg 38;5;213 710 | .ggl 38;5;213 711 | .ipk 38;5;213 # Nintendo (DS Packed Images) 712 | .j64 38;5;213 713 | .nds 38;5;213 714 | .nes 38;5;213 715 | # Sega 716 | .sms 38;5;213 717 | # }}} 718 | # Texas Instruments Calculator files {{{1 719 | # for more see http://tibasicdev.wikidot.com/file-extensions 720 | .8xp 38;5;121 721 | .8eu 38;5;121 722 | .82p 38;5;121 723 | .83p 38;5;121 724 | .8xe 38;5;121 725 | # }}} 726 | # 3D printing {{{1 727 | .stl 38;5;216 728 | .dwg 38;5;216 729 | .ply 38;5;216 730 | .wrl 38;5;216 731 | # }}} 732 | # unsorted {{{1 733 | # 734 | # Portable Object Translation for GNU Gettext 735 | .pot 38;5;7 736 | # CAD files for printed circuit boards 737 | .pcb 38;5;7 738 | # groff (rendering app for texinfo) 739 | .mm 38;5;7 740 | # perldoc 741 | .pod 38;5;7 742 | # GIMP files 743 | .gbr 38;5;7 744 | .scm 38;5;7 745 | .xcf 38;5;7 746 | # printer spool file 747 | .spl 38;5;7 748 | # RStudio project file 749 | .Rproj 38;5;11 750 | # Nokia Symbian OS files 751 | .sis 38;5;7 752 | 753 | .1p 38;5;7 754 | .3p 38;5;7 755 | .cnc 38;5;7 756 | .def 38;5;7 757 | .ex 38;5;7 758 | .example 38;5;7 759 | .feature 38;5;7 760 | .ger 38;5;7 761 | .ics 38;5;7 # calendar information 762 | .map 38;5;7 763 | .mf 38;5;7 764 | .mfasl 38;5;7 765 | .mi 38;5;7 766 | .mtx 38;5;7 767 | .pc 38;5;7 768 | .pi 38;5;7 769 | .plt 38;5;7 770 | .pm 38;5;7 771 | .rdf 38;5;7 772 | .ru 38;5;7 773 | .sch 38;5;7 774 | .sty 38;5;7 775 | .sug 38;5;7 776 | .t 38;5;7 777 | .tdy 38;5;7 778 | .tfm 38;5;7 779 | .tfnt 38;5;7 780 | .tg 38;5;7 781 | .vcard 38;5;7 782 | .vcf 38;5;7 #contact information 783 | .xln 38;5;7 784 | # AppCode files 785 | .iml 38;5;166 786 | # }}} 787 | # termcap {{{1 788 | TERM ansi 789 | TERM color-xterm 790 | TERM con132x25 791 | TERM con132x30 792 | TERM con132x43 793 | TERM con132x60 794 | TERM con80x25 795 | TERM con80x28 796 | TERM con80x30 797 | TERM con80x43 798 | TERM con80x50 799 | TERM con80x60 800 | TERM cons25 801 | TERM console 802 | TERM cygwin 803 | TERM dtterm 804 | TERM Eterm 805 | TERM eterm-color 806 | TERM gnome 807 | TERM gnome-256color 808 | TERM jfbterm 809 | TERM konsole 810 | TERM kterm 811 | TERM linux 812 | TERM linux-c 813 | TERM mach-color 814 | TERM mlterm 815 | TERM putty 816 | TERM rxvt 817 | TERM rxvt-256color 818 | TERM rxvt-cygwin 819 | TERM rxvt-cygwin-native 820 | TERM rxvt-unicode 821 | TERM rxvt-unicode-256color 822 | TERM rxvt-unicode256 823 | TERM screen 824 | TERM screen-256color 825 | TERM screen-256color-bce 826 | TERM screen-bce 827 | TERM screen-w 828 | TERM screen.linux 829 | TERM screen.rxvt 830 | TERM terminator 831 | TERM vt100 832 | TERM xterm 833 | TERM xterm-16color 834 | TERM xterm-256color 835 | TERM xterm-88color 836 | TERM xterm-color 837 | TERM xterm-debian 838 | TERM xterm-kitty 839 | # }}} 840 | 841 | 842 | # vim: ft=dircolors:fdm=marker:et:sw=2: 843 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Xanimos' custom .bashrc setup 2 | Just wanted to share my custom bash setup. I'll include my alacritty.yml for fun as well. Hope someone likes it. 3 | I built this using a few guides on different sites/repositories with credit given. 4 | I've found this all to be super useful/fun and hope someone else will also. 5 | I'm putting this up here for all to use and build upon. Free and open! 6 | 7 | ### Table of contents 8 | * [Installation](#installation) 9 | * [Files Included](#files-included) 10 | * [.bashrc](#bashrc) 11 | * [.bashrc_startup](#bashrc_startup) 12 | * [LS_COLORS](#ls_colors) 13 | * [.bashrc_prompt](#bashrc_prompt) 14 | * [.bashrc_shortcuts](#bashrc_shortcuts) 15 | * [How it Looks](#how-it-looks) 16 | * [Credits](#credits) 17 | 18 | ## Installation 19 | This all goes into your home folder in the structure on here. File structure should look like the following: 20 | ```sh 21 | ~ 22 | |-- .bashrc 23 | |-- .config 24 | | `-- bashrc 25 | | |-- .bashrc_prompt 26 | | |-- .bashrc_shortcuts 27 | | |-- .bashrc_startup 28 | | `-- LS_COLORS 29 | `-- README.md 30 | 31 | # If you want to use the alacritty.yml it goes here 32 | ~ 33 | |-- .config 34 | | `-- alacritty 35 | | `-- alacritty.yml 36 | ``` 37 | 38 | ## Files Included 39 | 40 | #### .bashrc 41 | The main file that the bash shell looks for. Should be saved to your home folder. 42 | ```shell 43 | ~/ 44 | # OR 45 | /home/ 46 | ``` 47 | This file is basically the default one installed by Linux Mint 19.3, but with a few modifications. 48 | 49 | The only important parts to change are: 50 | * Adding this at the end: 51 | ```shell 52 | # Include custom bashrc files. 53 | for i in ~/.config/bashrc/.bashrc_* ; do 54 | if [ -r "$i" ]; then 55 | . $i 56 | fi 57 | done 58 | ``` 59 | * Commenting out this prompt portion, if you use the .bashrc_prompt file: 60 | ```shell 61 | ### Set in ~/.config/bashrc/.bashrc_prompt 62 | #if [ "$color_prompt" = yes ]; then 63 | # PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 64 | #else 65 | # PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 66 | #fi 67 | ``` 68 | 69 | #### .bashrc_startup 70 | Displays the splash/welcome (turtle[cowsay]/neofetch) info and sets up LS_COLORS 71 | 72 | For the splash screen to work you need to install cowsay, fortune, and neofetch. 73 | ```shell 74 | apt install fortune 75 | apt install fortunes 76 | apt install cowsay 77 | apt install neofetch 78 | ``` 79 | Note: if any of these are not installed it won't show, but will not error. It just skips over that part. 80 | 81 | For LS_COLORS to setup, the LS_COLORS file needs to be in place. 82 | 83 | #### LS_COLORS 84 | The LS_COLORS file I use, pulled from github, link in credits 85 | 86 | #### .bashrc_prompt 87 | The customization of the prompt that's so nice. Read it over, it's heavily commented 88 | 89 | #### .bashrc_shortcuts 90 | A whole lot of useful aliases and functions. Read them over comment out what you don't want or learn them ;) 91 | 92 | ## How it Looks 93 | Here are a few screen shots _(font and color shades are terminal dependant)_: 94 | 95 | #### Welcome/Splash Screen 96 | ![Welcome/Splash](docs/static/Welcome-Splash_Screen.png) 97 | _Turtle love!_ 98 | 99 | #### SSH/Failed Command 100 | ![SSH/Failed Command](docs/static/Ssh-Failed_Command.png) 101 | 102 | #### Git Implementation/Fullscreen terminal 103 | ![Full Git/Fullscreen](docs/static/Fullscreen-Git.png) 104 | _<3 Alacritty_ 105 | 106 | #### Just the Desktop/Conky 107 | ![Just Desktop/Conky](docs/static/Just_Desktop.png) 108 | _Let me know if anyone wants my conky config_ 109 | 110 | 111 | ## Credits 112 | I used quite a few different sources to build my custom bashrc setup. I've modified quite a bit from where I pulled from. Feel free to fork, use, and do what you like with this. Give credit to sources and myself. 113 | 114 | #### Bashrc Pieces 115 | * [aashutoshrathi/awesome-bashrc](https://github.com/aashutoshrathi/awesome-bashrc) 116 | 117 | * [darkerego/awesome-bash](https://github.com/darkerego/awesome-bash) 118 | 119 | * [brunops/bashrc_file](https://gist.github.com/brunops/4108756) 120 | 121 | * [zachbrowne/The Ultimate Bad Ass .bashrc File](https://gist.github.com/zachbrowne/8bc414c9f30192067831fafebd14255c) 122 | 123 | * [Git Prompt Variables](https://blog.backslasher.net/git-prompt-variables.html) 124 | 125 | #### LS_COLORS 126 | 127 | * [trapd00r/LS_COLORS](https://github.com/trapd00r/LS_COLORS) 128 | 129 | #### Font 130 | * [M+ 1M](https://www.fontsquirrel.com/fonts/m-1m) 131 | 132 | #### Wallpaper 133 | * [Dragon](https://www.pling.com/s/Artwork/p/1359055) 134 | 135 | #### Conky 136 | * [Conky](https://github.com/xanimos/custom-conky) 137 | -------------------------------------------------------------------------------- /docs/static/Fullscreen-Git.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xanimos/custom_bashrc/58eebe1a52eb29ebad275a9cac073aa2692eb0a8/docs/static/Fullscreen-Git.png -------------------------------------------------------------------------------- /docs/static/Just_Desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xanimos/custom_bashrc/58eebe1a52eb29ebad275a9cac073aa2692eb0a8/docs/static/Just_Desktop.png -------------------------------------------------------------------------------- /docs/static/Ssh-Failed_Command.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xanimos/custom_bashrc/58eebe1a52eb29ebad275a9cac073aa2692eb0a8/docs/static/Ssh-Failed_Command.png -------------------------------------------------------------------------------- /docs/static/Welcome-Splash_Screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xanimos/custom_bashrc/58eebe1a52eb29ebad275a9cac073aa2692eb0a8/docs/static/Welcome-Splash_Screen.png --------------------------------------------------------------------------------