-
Revert "refactor: use a global variable for the actions/checkout version"
This reverts commit bf53861e89a33d0ede64bbac84f74a895a92cae9.
- feat: update Makefile help output in the README
- refactor: use a global variable for the actions/checkout version
- feat: update pre-commit-install Makefile target conditional logic
- feat: add Makefile targets for linting and related activities
- style: capitalize some leading words
- feat: bump pre-commit-hooks to v4.5.0
- fix: correct logic for attaching to existing tmux session
- feat: check $LC_TERMINAL in addition to other TERM variables
- fix: fix up session fixer logic
- feat: add cspell linting
- feat: add editorconfig for swap files
-
feat: update image that nektos/act uses
It will now use an image in which the user is 'runner' instead of 'root'
- fix: make 'help' the default Makefile target
- Merge pull request #9 from fevrin/fix-get-changed-files
- fix: get-changed-files error handling
- fix: update get-changed-files error handling
- Merge pull request #8 from fevrin/linux-dev
- Linux dev
- docs: bump version and update changelog notes
- fix: update regex Lychee uses to exclude the Reddit URL
- fix: use sudo with 'check-zshrc' since that's apparently needed
- fix: exclude problematic Reddit URL that Lychee has issues with
- fix: add required 'needs' directive to 'check-zshrc'
- fix: Reddit URL that Lychee has issues with
- docs: bump version and add changelog notes
- feat: update actions versions and corresponding configurations
- docs: bump version and add changelog notes
- fix: rename directory in example
- feat: add image aliases and ensure containers are removed after use
- fix: move single quote so it's colorized
- feat: add some safety checks and modularize some code
- feat: update copyq font configuration
- feat: add default binary dir in home dir and prevent path dupes
- fix: text width value for git commits
- fix: consider only a subset of headers for ToCs in Markdown files
- fix: update an editorconfig directive to properly match git commit files
- style: remove extra whitespace
- fix: 'base' file syntax
- style: add effective whitespace
- feat: update htoprc
- refactor: rename htoprc
- fix: specify 'LANG' value to avoid unexpected 'sort' output
- docs: update Makefile help content
- style: add effective whitespace
- feat: update Makefile targets for working with 'pre-commit'
- refactor: move 'makefile_help.sh' to 'ci/scripts/'
-
fix: zsh 'pushd' function
-
Apparently, using empty quotes as a directory duplicates the current directory in the directory stack
- feat: add script to change the GNOME desktop theme depending on the time
- feat: add copyq configuration
- fix: syntax issues and linting
- feat: remove unused Align vim plugin (EasyAlign is more up-to-date)
- fix: various syntax fixes
- style: reduce line length to conform with editorconfig
- style: prefer double quoting variables (SC2248)
- style: prefer putting braces around Bash variable names (SC2250)
- fix: update shellcheck arguments for parity between linters
- style: update formatting in README.md
-
refactor: use recommended alternative to 'always()'
-
Per: https://docs.github.com/en/actions/learn-github-actions/expressions#always
- feat: run all MegaLinter linters when using 'nektos/act'
- ci: split out pre-commit local vs. CI jobs
- docs: update wording in contributing guidelines
- style: shorten command lines to pass editorconfig-checker
- refactor: move vpn functions to 'functions_net'
- docs: add another example of 'inotifywait' for quick, iterative updates
- feat: enable 'lychee' linter (link checker)
- fix: explicitly specify editorconfig-checker config file location
- fix: make corrections for shellcheck
- style: update whitespace formatting
- fix: update
.bashrc.d
references to be '.shellrc.d'
- style: correct some formatting
- style: finish a sentence about linting
- style: prettify json
- style: fix end of files
- feat: update editorconfig-checker's excluded files
- style: update editorconfig to not prescribe a default indent style
- fix: update toprc values
- fix: move '.toprc' to modern location
- style: fix long line lengths
- style: add syntax highlighting for 'make help' documentation
- docs(README): add linting documentation
- style: updated regenerated README.md
- feat: change tmux pane resize keybinding increments to be 5
- style: update editorconfig styles for specific filetypes
- style: fix long line lengths
- feat: add editorconfig-checker configuration and update editorconfig
- style: some style updates to match editorconfig config
- feat: add editorconfig-checker pre-commit hook
- fix: correct version of MegaLinter noted
- feat: update prettier to write changes
- feat: pin versions of GitHub Actions
- feat: remove toggle for enabling MegaLinter; now, it always runs
- feat: enable more MegaLinter linters
- style: prettier linting
- fix: argument mixture of string and array (SC2145)
- fix: some bugs from adding support for zsh in 16549d4
- fix: change GitHub link to be a permalink
- feat: increase shellcheck's wiki link count to 50
- feat: have shellcheck fail only on error
- feat: enable more linters and ignore an actionlint error
- fix: various corrections, per shellcheck
- fix: update MegaLinter regex filter for shellcheck
- style: add quotes and whitespace
- feat: update actions/checkout to v4
- feat: have shellcheck show only errors
- fix: double quote variables (SC2086)
- style: prefer putting braces around Bash variable names (SC2250)
- fix: test braces (SC2292)
- style: add comment for a shellcheckrc directive
- feat: update MegaLint shellcheck configuration to include more files
- fix: remove unnecessary dependency for MegaLint
- refactor: optimize determining the file list that MegaLinter should use
- fix: environment variable used by MegaLinter
- feat: add shellcheck wiki links and sort MegaLinter options
- style: wrap yaml lines to meet desired text width
- fix: exclude 'zsh' files again since shellcheck otherwise complains
- feat: move shellcheckrc and update MegaLinter to support new location
- feat: add basic zshrc linting
- feat: update MegaLinter to lint only changed files
- fix: source necessary file
- fix: update filename path
- style: add double quotes around variable references
- style: add curly braces around variable references
- feat: update Mega-Linter and related configs
- fix: change env dump syntax
- fix: some misspellings
- style: remove unnecessary semicolons
- fix: bug in for loop
- feat: add initial Mega Linter configuration
- style: add document headers to YAML files
- feat: enable editorconfig plugin for vim
- style: add max line length for git commit message
- style: update headings and remove TODO from CHANGELOG files
- feat: utilize vim modelines in templates but strip them from output
- style: give python installation step a name
- fix: remove unused pre-commit 'double-quote-string-fixer' hook
- style: reorganize editorconfig and update based on Super-Linter's
- style: rename step to install packages for nektos/act
- style: remove some whitespace
-
fix: remove 'pretty-format-json' option that was overriding another
-
Also remove some unnecessary comments
- style: update error message if .pre-commit-config.yaml is unstaged
- style: add a line of separation
- fix: step to stop execution if .pre-commit-config.yaml is unstaged
- feat: make pre-commit verbose an correct 'check-readme' output
- feat: add explanatory comments to commitlint config
- refactor: move .commitlintrc to yaml and update preferences
- feat: update style config and add more pre-commit configs
- fix: grammar mistake
- style: update more whitespacing
- feat: add .prettierignore
- style: update quoting
- style: update whitespacing
- fix: rearrange editorconfig sections for proper precedence
- style: add some 'prettier' config options
- feat: add 'pre-commit' target for running on changed files only
- feat: update 'prettier' version and don't exclude 'zsh' files checks
- docs: add a comment noting a useful blog post regarding GHA SHAs
- style: sort options
- style: enforce K&R-style braces
- style: update some style configs
- style: fix some indenting
- feat: exit early if .pre-commit-config.yaml is unstaged
- fix: update references to 'readme' to be 'generate-docs'
- fix: update CHANGELOG.md.tpl to be compatible with 'generate-docs'
- feat: rename 'readme' to 'generate-docs' and iterate through all '.tpl's
- refactor: fully move over to simplified 'check-readme' method
- refactor: change back from matrix
- refactor: update 'check-readme' to use a matrix
-
fix: change static file reference in 'sed' command to use a variable
-
Also space out 'envsubst' arguments for readability
- style: move 'help' target
- feat: add more official pre-commit hooks
-
fix: update 'awk' command to more accurately create table of contents
-
Also fix the 'envsubst' command's 'SHELL-FORMAT' variables
- test: see if quotes fix error
- feat: give 'check-md-links' a header and error count
-
feat: add 'make check-md-links' to check for undefined links
-
As well as unlinked definitions
- feat: update 'make readme' to support processing multiple files
- refactor: dynamically determine the checkout fetch-depth
- fix: correct a couple of conditionals' syntax
- feat: conditionally fetch all of commits (only for workflow_dispatch)
- feat: add DEBUG to available user inputs
-
fix: fetch all commits to avoid issues with missing commits
-
Also, update number of commits for 'git log' to show in 'dump-env'
- feat: add input box for default branch SHA for workflow_dispatch
- refactor: 'fg()' to not output anything if there are no jobs
- feat: add a shellcheck disable directive and create symlink for go
- fix: rename workflow and correct issues with some steps
- docs: update some comments
- feat: utilize the 'pre-commit' GH Action
- refactor: update how the 'pre-commit' job is run
- feat: miscellaneous changes and fixes to the workflow
- feat: add 'get-changed-files' job to make a list of changed files
- feat: add 'dump-env' job
-
feat: add 'check-readme' job
-
Signed-off-by: Fevrin [email protected]
- feat: update pre-commit hook versions, add prettier, and fix hadolint
- feat: add support for Makefile to generate the README
- fix: add step to install golang due to nektos/act image having old 'go'
- fix: gitconfig 'cl' alias
- style: update 'make help' output style
-
feat: add 'help' command to Makefile
-
This outputs the Makefile's commands and their descriptions in a formatted table
-
fix: update 'fg' function again for zsh compatibility
-
.shellrc.d/functions_general
-
re-add escape in regex
-
fix: fixes for zsh compatibility/optimization and a 'gh' extension
-
increase FUNCNEST to 45 since some autocompletion necessitated that
-
.shellrc.d/aliases_general
-
add 'poi' alias if the associated 'gh' extension is installed to compensate for undocumented behavior
-
.shellrc.d/aliases_laptop
-
make some aliases compatible with zsh by calling them via bash
-
feat: update functions for zsh support, IP accuracy, and starship format
-
.config/starship.toml
-
add repo format and style
-
.shellrc.d/00_vars
-
update '$SHELL' variable to be that of the current shell
-
.shellrc.d/functions/_verify_reqs
-
update logic to support zsh
-
.shellrc.d/functions/aptupchange
-
update logic to support zsh
-
.shellrc.d/functions_net
-
use a more accurate website for IP info
- refactor: conditional docker completion
- fix: absent '$HISTFILE' value
- fix: zsh shell detection and file source ordering in .zshrc
- docs: update CHANGELOG
- feat(starship): change command timeout to be a snappy 50 milliseconds
- feat: add 'glow' config
- fix: regex in zsh' 'fg()' function
- feat: add docker completion
-
refactor: update 'board-starship()' logic and add upcoming zsh config change
-
'cmd_hist_num_zsh' needs 1 or 2 subtracted from it to get the accurate history number, but the present command isn't cooperating when executed by starship
- fix: update 'refresh-main-branch' to set the main branch if needed
- fix: update 'refresh-main-branch' to set the main branch if needed
- fix: add checks for existence of 'openvpn3' before running it and of a starship to board
- feat: config updates, style changes, new functions
- style: heading updates
- feat: add several new k8s, starship, and zsh functions
- feat: minor config updates and style changes
- style: group 'setops' opts and clean up the comment area
-
feat: increase '$HISTSIZE' and have leading '>' in zsh behave like bash
-
fix: 'asdf-vm/asdf' plugin URL and outdated references to '.bashrc.d'
- refactor: move some Bash-specific env vars to .bashrc and add zsh CONFIG var
-
feat: update tmux's '$TERM' to use colors and add some aliases
-
also fix '$GREEN' value
-
refactor: rearrange ~/.bashrc and add zsh plugin code
-
also remove unneeded variables
-
fix: update remaining 'shellrc.d' references, add color vars
-
also update a function to compare a variable instead of re-running a command run elsewhere
-
refactor: move around locations of some variables and functions
-
also add a completions file and rename '$NO_COLOR' to '$END_COLOR'
- refactor: rename '.bashrc.d/' to '.shellrc.d/'
- refactor: config cleanup and clarification
-
refactor: move Bash History Control configuration to main .bashrc
-
also add some comments and minor changes
- feat: add commitlint pre-commit hook
- fix: change back to use 'which' for some commands instead of 'has'
- .zshrc: add a bunch of accumulated zshrc configs
- refactor: various minor changes
- update '$SYSTEMD_LESS' to match '$LESS'
- switch to using 'has()' instead of 'which'
- remove extraneous 'grep' command
- update URL for 'listchars' usage of "multiline"
-
feat(starship): Update the config to be more like the '$PROMPT_STRING'
This updates the starship config to be more like the '$PROMPT_STRING' in this repo.
- style(starship): Modernize the git sections of the shell prompt
- feat: Add and enable starship configuration
- feat: add preliminary support for zsh
- add '$SHELL_TYPE' to reference the current shell's type (bash, zsh, etc.)
- set the '$FUNCNEST' value based on the type of shell
- use an array for the network interfaces (it's better practice but also enables support for zsh)
- update '$SYSTEMD_LESS' to use a slightly different set of options than '$LESS'
- add a condition in which to attach to an existing tmux session
- update 'listchars' to enable built-in indent guides with spaces
- utilize 'has()' instead of 'which'
- utilize 'has()' instead of 'which'
- add file
- update indentation
- update window lines/columns to be variables and use a formula
- update '$HTTP_REGEX' regex
- correct "LESS" setting for text search default ignore case
- update logic to take into account machines that do not offer "deep" sleep S3 setting
- fix the session manager value only if needed
- add sudo support
- add "$PV_METHOD" flag
- retrieve file list only when using "pv"
- remove old "run-check()" function
- disable "cursorcolumn" setting by default, as it may slow vim down (as of v8.0.1599)
- simplify conditional statement
- enable resource-intensive variable only in small repos
- add a fix for slow startup in vim
- change behavior to not skip the '.bashrc' file
- change behavior to not use '--info=progress2' during dry runs
- add standard default settings
- add configuration to keep password manager open during certain times
- add a note to restart 'docker' when changing the config
- add 'cl' alias to clone in a standard directory
- add "include" directive for additional config files
- update 'bclean' to default to 'gh' and its 'poi' extension
- remove unnecessary uses of 'sudo'
- echo dangerous 'sgdisk' commands
- fix 'cryptsetup' commands
- update OS release conditional
- update dconf configuration
- add '--hard-links' as a default option
- skip processing the destination if it's a file
- use the "${LINK_DEST}" value only if it exists
- fix commands to what is confirmed to work
- fix 'stash pop' by using the index instead of a regex
- fix service name reference
- add
- add
- add settings for multiple languages
- update some formatting
- add
rf
,save
,ss
, andundo
aliases
- update "status-interval" to be 5 seconds
- turn off visual bell
- add commented out "catppuccin" theme plugin
- new file
- set window size since the default in GNOME is woefully small
- fix file canonicalization
- update arg processing to accept IP addresses for the hostname
- change hostname color when ssh'ed in for easier identification
- add EasyAlign remaps
- add missing comment character
- wrap updated
xmodmap
command in a conditional since it doesn't work in 20.04
- use
sudo
so the command doesn't fail due to perms
- remove extraneous config
- add more file patterns to ignore
- update status-right width limit
- add to easily display Markdown files in a browser
- update plugins and plugin list format
- add many more domains to blocklist
- create any parent directories when copying new files to the repo
- add
ca
alias for amending commits - add
diff
configs - add a section for git tips
- automatically colorize ANSI escape codes in files that may have them
- remove ANSI config to the separate file
- add mapping for EasyAlign plugin
- add new remapping technique that works with Ubuntu 22.04
- reformat whitespace
- reformat whitespace
- disable
less
resetting search case sensitivity
- change from sourcing a file to executing it directly
- update some comments
- fix faulty logic
- update message formatting
- add pager default for
git diff
so it shows special characters (tabs, in particular) - minor update to
changelog
date format
- format some subshells
- set width limit for
status-right
so the output isn't messed up if the weather script fails - copy
SESSION_MANAGER
environment variable so vim startup isn't delayed (tmux issue #1494)
- disable
relativenumber
in all cases - alphabetize list of plugins
- update command to use with a new tmux session (either
htop
ortop
)
- update a comment about permissions
- added "core" and "color" directives
- join a couple of lines
- fix the
curl
command used to install the plugin manager
- updated
cn
alias to use the new "speaker" target
- added for easier management of a small number of bluetooth devices
- fixed issues with running commands without getting to a shell prompt
- updated tmux initialization to begin with a
top
and blank window in an initial new session
- updated
get-ip-location()
for better failure handling - added
get-ip-city()
- updated the status line to move the weather info to the left of the date/time
- added
cb
andcn
for easier connecting to certain bluetooth devices
- added a comment noting a more mature tool for detecting bad links
- updated
changelog
to be smarter with regards to which commits' notes it should retrieve - added
df-alt
- added some support for
dracula
's weather scripts
- updated
git bclean
for readability - renamed
check-check
tocheck-whitespace
for clarity - added
git fork
- updated
git ver
to require a version number
- updated for clarity when recovering from a failure
- added code to push changes to the fork if a merge was done from the origin
- fixed to better detect definitions within the content
- updated
check-defs
to additionally check for terms used but undefined
- updated to support
_get_stdin
- added
- added
make dev
,make git-hooks
, andmake check-defs
- added file exceptions
- fixed variable scoping in completions function
- improved function interpretation confirmation code
- improved portability of conditional
~/.bashrc
sourcing
- improved robustness of
bclean
,df
, anddff
- added
list-tracked-files
- added support for pulling upstream changes and merging those into a fork
- updated bash completion to show filenames with the
file
subcommand - updated
file
subcommand to support multiple files
- added conditional to run old keybinding commands if the new method doesn't work
- added basic bash completion
- added basic bash completion
- added
- updated code for readability
- added code to unset a function first (to ensure there isn't weirdness around the version that's available)
- added verbosity when deleting the current branch
- rearranged
changelog
for readability - added caching behavior for
get-main-branch
- corrected sorting behavior
- updated to utlize xkb rules instead of xmodmap
- added file type validation prior to sourcing
- updated to automatically set deep sleep
- updated to output failure messages for dependencies
- updated to permit diffing a specified file
- added
- updated aliases for readability
- reduced duplication of code
- added conditional block to source pathogen only when the associated file exists
- added some new aliases
- fixed a bug when changing directory
- added
- updated the
dff
alias's regex
- rearranged a couple of lines
- replaced duplicated code to reference new git aliases
- switched back to
tee
fromsponge
- added
mtr
to HISTIGNORE
- added
ssh_key_is_encrypted()
- fixed source command to ensure it isn't going to recursively source
- updated various aliases to support
main
branch - added aliases to detect the main branch and main remote names
- added support for
main
branch name - added some checks and verbosity
- added more domains to blacklist
- updated aliases to be more concise
- stash any staged files and re-add them after rebasing
- renamed and updated to include any errors messages
- updated some aliases
- updated a git command for getting the current branch
- added
dffs
anddiff-with-master
aliases
- removed old code in favor of more concise version
- added
dff
alias to take over the previousdf
behavior df
now diffs by character
- added a missing escape of a backslash
- updated regex vars
- updated to support parallel for faster processing
- improved diff and log aliases
- added output when aborting a git rebase
- removed heredoc that's incompatible with Bash 5
- improved sanity function checks before sourcing and exporting
- fixed path specification to use
~
instead of$HOME
- updated
df
anddfs
to diff by character
- commented out config, which led to weird behavior for some repos
- added
.idea
to dismiss PyCharm config directories and files
- added
- added export commands
- updated some comments
- updated logic for determining when to start a new tmux session
- added ability to specifically include or exclude aliases added to HISTIGNORE
- updated FUNCNEST value
- added _help()
- added arguments to alter execution behavior
- updated a comment
- updated formatting of a command for readability
- updated some variable values
- updated key bindings
- added a config for ssh config files
- added
- added
- added timestamp validation for the quick method
- added a more thorough and accurate timestamp conversion strategy, which is the new default
- updated the trailing character appended to aliases when generating HISTIGNORE
- added a minimum alias name length requirement for adding to HISTIGNORE
- added
- updated to support the new _get_stdin() helper function
- updated to support the new _get_stdin() helper function
- added
- updated HISTIGNORE generation for greater readability
- added the option to open the file with gvim and made that the default
- rearranged some comments to ensure the function is sourced
- rearranged some comments to ensure the function is sourced
- rearranged some comments to ensure the function is sourced
- rearranged some comments to ensure the function is sourced
- rearranged some comments to ensure the function is sourced
- renamed
- added
- commented out an old alias for now to avoid issues with it overriding the same-named command
- changed double quotes to single quotes to standardize on that
- corrected a regex in
tsm
to properly detect when tmux is in use - added
eh
as an alias ofedit-history
- updated command for setting deep sleep of the OS and added comment for executing that without needing a password
- added a comment for executing this function without needing a password
- added "excludesfile" and "attributesfile" values
- added code to run
git add -u
to stage tracked files that have changed prior to runninggit-sync.sh
- updated
pushall
to push to multiple repos in parallel
- added logic to attempt rebasing the branch only if master has been updated
- added
- wrapped lines longer than 125 characters to respect the textwidth limit
- added a comment about vim needing the textwidth value for gitcommit files to be in a separate file to work
- added file-specific options
- added config for editing gpg-encrypted files
- added example sudoers lines
- added more robust code for finding and presenting improperly scoped variables across multiple files
- added more robust code for accurately calculating time frames for which to show emails
- updated to properly scope variables
- updated to properly scope variables
- updated to properly scope variables
- updated the
ci
alias to correctly handle arguments
- updated to provide more control around stashing to be more compatible with being run via cronjob vs. manually
- added a comment noting the unfortunate behavior in which tmux reads and executes its config file in full before creating a session leading to errors
- updated rotation count to be 520 weeks (~10 years) to ensure the history doesn't destroy old files too often
- added a comment with example lines for enabling commands to be run without prompting for the password
- updated to include examples of cronjobs for starting and stopping a service
- added
- added
- added
etc/logrotate.d/chrome-history
to list of files to skip
- added
bclean
- updated format of headings for various config settings
- enabled skipping files
- updated logic to properly calculate days, hours, minutes, and seconds
- fixed an issue when ssh'ing into hosts that don't have
bzip2
installed by default, like CentOS
- improved logic in run-check() for running check commands
- updated
pushall
andpushallf
aliases to ask before pushing tomaster
- fixed an issue with
changelog
alias regarding formatting of lines following date lines
- added commented out code that may fix the issue with tmux tabs not automatically getting renamed
- set formatting options explicitly so they're not as easily overridden
- added code to enable bash completion since that's not always enabled
- updated commands for
git ci
alias to better handle some cases
- added DOMAIN_REGEX
- updated HTTP_REGEX and EMAIL_REGEX
- get_ssl_cert(): added domain validation and further host name processing
- run-check(): added for running Nagios checks locally on a host
- added logic to not run run-parts if it doesn't exist
- updated 'git ci' alias to attempt to rebase on master before committing
- added 'who' alias for displaying the repo's contributors
- updated pull.ff to 'only' so pulls fail if they can't fast-forward
- added
- renamed
- fixed scope of variables
- fixed scope of variables
- added
- updated to remove all but the last occurrence (rather than all but the first occurrence)
- added a return statement where one should have been
- added code to suggest files to include in the repo
- corrected variable scopes
- added shell interpreter line
- updated HISTIGNORE to exclude all git aliases
- added FUNCNEST to protect against infinite recursion
- updated documentation
- updated version comparison logic to try
-v
and-V
flags to obtain version
- removed duplicated code
- added shell interpreter lien
- added shell interpreter lien
- added
pushallf
- added
changelog
- updated spelling of "center" to "centre" to make tmux happy
- removed mostly duplicate code
- added
- changed
git pushall
to run in a new shell so it can accept additional flags
- increased history-limit from 10000 to 50000
- added some comments with possible config to include once filled out
- increased scrollback limit to 10000
- converted to use
tput
to output termcap codes
- added
pushall
andgit fet
aliases
- fixed status line justification
- added some vi copy mode key bindings
- added
tsm
for displaying the tmate session values if in a tmate session
- switched to default to using tmux instead of GNU screen
- added (including rebinding to GNU screen keys)
- added vim-go and elm-vim configurations
- fixed HTTP_REGEX to account for '+' characters in URLs
- fixed ability to specify args in different orders depending on which ones will be processed by getopts
- added some function validation/filtering to be extra careful about which function files are exported
- added some netrw file explorer settings
- added default verbosity
- changed "dir_list" to be generated just once
- improved order of commands
- adding *.pem files
.bashrc.d/functions/yessh
* commenting the new code that permits running a command without logging in
.gvimrc
+ adding config to undo some changes mswin.vim makes
.bashrc.d/functions_general
* split out all functions to individual files in the functions
subdirectory for easier maintenance
* updated to support the new split out function files
* fleshed out comments on functions' purposes and usage in the individual files
.bashrc.d/functions/compact_history
* regexes with start and end of line anchors will have those stripped since those won't work in the context of the final regex
* updated the regex removal line to account for leading and trailing whitespace
.bashrc.d/functions/yessh
* you can now run functions sent to the host without actually logging in
* updated to not bomb out if ~/.bashrc.d/remote/* doesn't exist
.bashrc.d/functions/_print_var_vals
* you can now specify a verbosity level
* fixed so it doesn't bomb out if given an unset or non-variable
.bashrc.d/functions/get-ips
* just IPs are printed out when given interfaces
.bashrc.d/functions/_verify_reqs
* fixed a bug in which failures weren't correctly listed
.bashrc.d/functions/diff-home-files
* updated to build a more complete list of files to compare
.bashrc.d/functions/verbose
- removed teeing to a file
.bashrc.d/remote/remote_base
+ added a note regarding the purpose of this file
.docker/config.json
+ added
.vimrc
+ added some config directives
CONTRIBUTING.md
+ added
.bashrc.d/00_vars
* updated variable names to be uppercase for better global scope indication
Fixed variables not properly scoped in these files:
.bashrc.d/functions/_verify_reqs
.bashrc.d/functions/aptupchange
.bashrc.d/functions/colorize
.bashrc.d/functions/copy-file-by-line
.bashrc.d/functions/seek-broken-links
.bashrc.d/functions_dns
.bashrc.d/functions/diff-home-files
.bashrc
* skip directories when finding files to source
.bashrc.d/aliases
+ num-file: added for numbering lines in a file
.bashrc.d/aliases_laptop
+ added for including aliases relevant mainly on laptops (like battery percentage)
.bashrc.d/functions_dns
+ added for DNS-related functions
.bashrc.d/functions_net
+ added for network-related functions
.bashrc.d/functions_sec
+ added for security-related functions
.bashrc.d/functions
* renamed to be .bashrc.d/functions_general to differentiate with other function categories
+ time-between-now-and(): added for calcaulting relative time differences
.bashrc.d/vars
- renamed to be .bashrc.d/00_vars
.bashrc
- moved some content to .bashrc.d/base
.bashrc.d/aliases
- removed some outdated and unused aliases
.apple_keyboard_mod.rc
- unset a variable so it doesn't show up in the environment needlessly
.bashrc.d/functions
+ added code to unset a variable after exporting the functions
+ _verify_reqs(): added for verifying functions' requirements to run
+ _print_var_vals(): added
compact_history():
+ added support for an immutable history file
+ added support for removing history entries matching a given regex
+ added support for simulating a run
yessh():
* updating information on which files are sourced
* updating verbosity levels for certain messages
+ added requirements
colorize():
* localized variables
+ added the ability to accept input from stdin
.bashrc.d/functions
* added exception so pushd() is not exported when other functions are
yessh():
+ added support for verbose()
* updated to permit simply running a command instead of logging into the command line
verbose():
+ added support for brief verbosity level descriptions instead of just numbers
.my.cnf
+ added skip-reconnect to avoid potentially disastrous queries
.bashrc.d/functions
pushd():
* simplified duplicate directory check
+ added another conditional to short circuit exit if the user provides an invalid directory
yessh():
+ added functionality to just copy the config over to the target server as a temporary file if it's of a certain size (as was done before the
base64 technique, though we now use base64 for it, too)
* updated config transfer to incorporate bzip2 compression to further reduce network bandwidth usage
+ sql-tab-to-jira-tab(): added
+ generate_luks_keyfile(): moved from lib_sec
+ added code to automatically export all functions within the file
.bashrc.d/functions
* pushd(): updated to prevent duplicate directories from getting added to the dir stack
.bashrc.d/functions
+ compact_history(): added
.bashrc
* updated HISTIGNORE for efficiency
- removed unneeded bits
.bashrc.d/functions
* moved aptupchange() and copy-skey() from .bashrc.d/aliases to here
.bashrc.d/aliases
- removed unneeded aliases
.bashrc.d/functions
* get-ips(): updated to output contents only when an IP is found
.bashrc
+ added the $GOBIN variable
.bashrc.d/functions
* yessh(): updated to copy over all files in ~/.bashrc.d/remote/*
+ verbose(): added
.bashrc.d/remote
* moved to ~/.bashrc.d/remote/remote_base
.screenrc_main
* updated the default directory for a couple of screens
.bash_colors
- contents moved to .bashrc.d/functions
.bashrc
* updated sourced files, including an exception for a special ".bashrc.d/remote" file
- moved some general output to .bashrc.d/base
.bash_aliases
* aliases moved to .bashrc.d/aliases
* functions moved to .bashrc.d/functions
.bashrc.d/base
+ created
.bashrc.d/functions
+ created
* diff-home-files(): updated to inspect the new .bashrc.d/ files
.bashrc_common
* moved to .bashrc.d/remote
.macrc
+ added several aliases and an array of homebrew packages to install for a more Linux-like experience
.profile
* updated to include $HOME/.local/bin in $PATH if it exists
.bashrc
* reworked creation of PATH and GOPATH
.bash_aliases
* $ip_regex: updated to include "0" as a valid octet
+ count-ips-from-tcpdump() : added
* get-ips(): updated for more verbose output
.bashrc_common
* expand the conditions for which the PS1 string is updated
.bash_aliases
+ get-ips: added alias for retrieving assigned IPs
* yessh(): updated to include additional usage information
.bashrc
- removed HISTFILESIZE assignment since that seems to bomb out Bash in some cases; it seems as of bash version 4.4.19(1)-release, having the
history file larger than this size causes a segfault
.bash_aliases
+ added $ip_regex
+ copy-file-by-line(): added
.bashrc_common
+ added commands to output last login time
.bash_aliases
+ added calculate-free-mem and calculate-used-mem aliases
+ list-to-quoted-csv(): added
.bashrc_common
* fixed the regex for determining if a hostname needs to include the region (in case it doesn't already)
.gitconfig
+ added config to by default push to 'origin'
+ added config to by default not be permitted to push directly to the master branch
.bash_aliases
* updated clipit-copy() to recommend a better alternative
+ added tabular-to-csv() for converting standard MySQL tabular output to CSV
.bash_aliases
* updated clipit-copy() to actually copy content to the clipboard
* updated yessh() to negate the need for a temporary file (an issue when the target host's disk is full)
.bashrc_common
* make terminal color setting commands more logical and readable
* make MOTD printing more robust
.gvimrc
* updated config to include standard Ctrl-C and Ctrl-V keybindings for easier copy and paste
.bash_aliases
* updated clipit-copy() to work properly
.bashrc_common
* updated PS1 to always have certain colors
.bash_aliases
* changed the find-broken-links alias to be seek-broken-links() for more flexibility (Bash doesn't like a function starting with the name of a
command when it's separated by dashes instead of underscores, it seems)
.bash_aliases
+ added clipit-copy() to deal with the limited N_TTY_BUF_SIZE value
* updated yessh() to handle ssh options better
.bashrc_common
* prepended a newline to PS1
.gitignore_global
+ added since this apparently wasn't being saved before
.apple_keyboard_mod.rc
+ added reset_keyboard() for easier resetting
* disabled left key mods
.bash_aliases
* updated diff-home-files() to ignore vim swap files
* updated find-dupes() to output file and file size to better pinpoint large duplicates
.bashrc
+ added conditional to determine if the system is running Mac OS X
.bashrc_common
+ specified vim as the default editor
+ updated the PS1 variable to include region name, if needed, as well as some color
.bash_aliases
* addressed Mac OS X compatibility
.bashrc
* addressed Mac OS X compatibility
.bashrc_common
* addressed Mac OS X compatibility
.bash_aliases
* fixed yessh() to better handle cases when the port or username is supplied (rather than using the defaults)
.bashrc_common
+ added vimrc config
.bash_aliases
* fixed a filename
.bashrc_common
* corrected stderr redirection
* updated an alias to always use color output
.bashrc
* updated terminal environment when using screen
etc/sudoers
+ added to document timestapm_type=global
(super handy!)
var/spool/cron/crontabs/username
+ added for tracking handy cron jobs
.bash_aliases
* scoped variables properly
+ added find-dupes() for finding files sharing the same name in the given directory and its subdirectories
+ added yessh() to source .bashrc_common, enabling use of common basic environment modifications, such as with servers
.bashrc_common
+ added to enable use of common basic environment modifications, such as with servers
.bash_aliases
* updated diff-home-files
to give uesr the chance to create a missing file
.bash_aliases
+ added fix-broken-links
and make-broken-link-table
.bash_aliases
* updated apt-history
.bashrc
* updated HISTIGNORE
.bash_aliases
+ added img2pdf()
.screenrc_main
* changed main directory
.macrc
+ added edit-history
alias
+ added code to prevent Finder from showing up in the app switcher
.macrc
+ added code to set banner notification timeout to 3s
.bash_aliases
* updated the conditional in diff-home-files
for accuracy
.bashrc
+ added timestamp to PS1 prompt string
.bashrc
+ added lines to remove extraneous stuff from $PATH
* update conditions under which ~/.macrc will be invoked
* updated code for adding dirs to PATH
.bash_aliases
* updated diff-home-files
to include .gitignore_global
+ added get-vb-ip()
.gitconfig
+ enabled rerere (reuse recorded resolution for merge conflicts)
.macrc
* update conditions under which ~/.macrc will be invoked
+ added some code for Mac-specific mods to PATH
.bashrc
* some changes to support Ubuntu 16.10 now starting at SHLVL 2
* corrected logic for when to display .bash_history size message
.bash_aliases
+ added edit-history
to automate unsetting and resetting append mode of .bash_history when editing it
+ added apt-history
to display apt history in a more readable format
.apple_keyboard_mod.rc
* re-arranged logic to work better on all hardware
.bashrc
* updated check for existing screen sessions for compatibility
+ added a check for .bash_history's append-only mode status
+ added a check for .bash_history's size, as it can grow large in append-only mode
.screenrc_main
+ appended directories with forward slashes
.gitconfig
+ added 'dfs' and 'diffs' aliases for diffing staged files
.bashrc
+ added sourcing of the git completion file on Mac OS X
* updated the screenrc file path to work with Mac OS X
.toprc
* updated to include full commands and arguments
.bash_aliases
* updated pushd() to better handle day-to-day usage
* updated dirs alias to be simpler and correspond with the updated pushd()
+ added popd(), similar to pushd()
added these files:
* .screenrc_main
* CHANGELOG.md.tpl
* README.md.tpl
.screenrc
* removed all window commands to instead source .screenrc_main. this permits a dynamic configuration
.bashrc
+ added code to export a screenrc config file in conjunction with the new screenrc changes
.bash_aliases
+ added a dirs alias
+ added a pushd() function
.gitignore_global
+ added
.gitconfig
+ added gitignore file setting
.bashrc
* updated to source lib_all instead of just lib_main
.editrc
+ added (mainly to ensure MySQL uses vi keybindings)
.bashrc
+ added work aliases in ~/.bash_work_aliases
.macrc
+ added an alias for md5sum