Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Screenshot of 'Lambda' Theme to Documentation (gh-pages) #2236

Closed
wants to merge 3,973 commits into from

Conversation

w453y
Copy link

@w453y w453y commented Dec 1, 2023

Pull Request: Added Screenshot to gh-pages Branch

Description

This pull request aims to enhance the documentation by adding a screenshot of the "Lambda" theme in action. The screenshot provides a visual representation of the theme's appearance on the command line.

Changes Made

  • Added a screenshot file (lambda_theme.png) to the docs/images folder in the gh-pages branch.
  • Ensured that the screenshot accurately reflects the appearance of the "Lambda" theme.

Preview

The screenshot can be viewed by navigating to the docs/images folder in the gh-pages branch. Please refer to the Themes page for a preview of the "Lambda" theme.

Note

The addition of the screenshot is intended to improve the visual representation of the theme for users browsing the documentation. If any adjustments or alternative formats are preferred, I am open to feedback and modifications.

Screenshot

lambda_theme

gaelicWizard and others added 30 commits January 25, 2022 23:54
Consolidate `preexec`-related functions; Eliminate `vendor/init.d`
Bash loads initialization files on Mac just the same as it does on Linux or WSL. Our previous assumptions were wrong, and my fix was alsö wrong because I made more assumptions!

This patch eliminates the assumptions. Literally just load either the startup file the shell started with, or fall back to `~/.bashrc`. Don't check `shopt -q login_shell` and don't check `$OSTYPE` or anything else.
Rewrite globbing per `shellcheck`'s SC2013 recommendations, and standardize whitespace.
When `upower --enumerate | grep -i BAT` returns multiple lines of results (which are file paths),
the added quotation (from commit 3cb5f3f) concatenates them all to provide an invalid path.
Thus to make the plugin work as before the commit,
take only the first line of the results.
This reverts Bash-it#99, a metaprogramming adventure in terminal color code escape computation. It was functionally reverted in Bash-it#699; I'm just finishing the job.
This reverts commit 2a3fde2 but does *not* restore the previous variables. Those are still provided by `lib/colors`.

This plugin exists for anyone who likes the metaprogramming adventure of computing colors dynamically rather than using hard-coded value. Potentially this could be used by themes, or possibly by a theme color-scheme randomizer?
Couldn't even `shellcheck` until I did a first pass...too much noise! ♥
SC2076
SC2091
SC2004
SC2086
SC2207
1. `$text_black` isn't a parameter provided by _Bash It_. Typo?
2. `$bold_yellow` is meant for prompt strings and putputs `\[`; ditto `$bold_red`.
3. The color was never returned to normal after.
My apologies to future `git blame` hunters ♥
Improve `_bash-it-erase-term()`, `_bash-it-flash-term()`, `_bash-it-rewind()`, `_bash-it-search-result()`, and `_bash-it-search-component()`. Minor tweaks to `_bash-it-is-partial-match()`, and `_bash-it-search()`.
lib/helpers: eliminate assumptions about login shells
Lib/search: lint, cleanup, and small fixes
lib/colors: split out metaprogramming
dylanjtuttle and others added 29 commits September 22, 2022 16:52
Verbose version of `git add` (gav)
Ensures that the -E or -F option, when used, is the first option
* i.e. grep -oE => grep -E -o

Updates _bash-it-grep to invoke grep with just the provided arguments
* This function was (and still is) unused, but decided this new functionality was actually more useful

Introduces _bash-it-fgrep to invoke grep -F

Removes type -P egrep from the _bash-it-*grep functions

For usages that were already going to be modified, use -F if appropriate
* Does not touch grep usages that may have benefited from -F, but were not otherwise considered for this PR

Adds shellcheck header to modified .bash files that didn't already have it
Installs shellcheck via wget of github release for 'stable' linux version
Isolates fetching of EPOCHREALTIME to a function which sets LC_ALL=en_US.UTF-8.
This ensures that the value is in decimal format, regardless of runtime locale.

bug: Hide duration when no command executed
…cape-sequence

fix(theme): use correct escape sequence to avoid weird text overwriting
…s-func

remove function wrapper around kubectl aliases
bug: Use en_US when fetching EPOCHREALTIME
Git can list local branches, remote branches, and both of them together.
Let's use the long form of the options to make the aliases quicker to understand.

As agreed in PR Bash-it#2159, we introduce gbl and replace gba/gbr by gbla/gblr.
gbl/gbla/gblr allow wildcard arguments for filtering branch names.
Add more aliases for `git branch`, use long form
We will try to use Github Discussions now.
…ash-it#2188)

* Use C style strings when checking for invalid alias characters

Before, the '\n' would be interpreted as 'n' meaning that any alias
who's command contained the letter 'n' would incorrect be skipped.

* No need to escape characters in this context

Escaping was just adding \ to the list multiple times

Co-authored-by: David Farrell <davidpfarrell+github@gmail.com>
* fix (plugins): enable interpretation of backslash escapes in colors
* fix (lint): disable SC2317 in install.sh
* fix (lint): SC2086 in agnoster theme
* fix (lint): remove exit from install.sh as it is already implemented in the calling function
* feat (completion): add yarn completion
Allows for setting "COMMAND_DURATION_MIN_SECONDS" to more than 60 seconds without adding to prompt. Previously always showed with lengths over 60 seconds regardless of setting.
…pace-list-alias

[terraform] add alias for terraform workspace
@w453y w453y closed this Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet