-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CI: install `parallel` on OSX
Consolidate `preexec`-related functions; Eliminate `vendor/init.d`
plugin/battery: `shellcheck`
…lict It goes the other way around!
lib/preexec: tests!
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
lib/reloader: lint and modernize
…into update_bash_branch
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
Added update-bash section in README
…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
Add terraform init alias
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 <[email protected]>
* 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
lambda_theme.png
) to thedocs/images
folder in thegh-pages
branch.Preview
The screenshot can be viewed by navigating to the
docs/images
folder in thegh-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