.bashrc: Only set GREP_COLOR env-var on BSD-type platforms Older grep versions used the GREP_COLOR env-var for colorized output configuration. Newer GNU grep versions use the GREP_COLORS env-var, which supports additional colorize options. GNU grep 3.8+ will now log a warning message if the GREP_COLOR env-var is set, warning that env-var is deprecated. But BSD grep still relies on GREP_COLOR. Conditionalize the setting of GREP_COLOR vs GREP_COLORS based on OS-type [e.g. GNU grep vs BSD grep].
Add ripgrep config
.bashrc: Updates for new-style macOS homebrew paths New installs of homebrew install into /opt/homebrew instead of /usr/local.
.bashrc: Remove push_ssh_cert function Remove `push_ssh_cert` helper function, because this is an inferior version of the standard `ssh-copy-id` utility.
.bashrc: Add docker-ps alias
.bashrc: Add docker-related helper aliases
.bashrc: Update prompt_color() to use `realpath` to get canonical $HOME Use `realpath` to get canonical $HOME file-path. This is mainly relevant in situations where $HOME is under a symlink, where there will be a difference between the symbolic vs canonical values.
.vimrc: Don't use modelines to set foldmethod=expr for autofolds Newer versions of Vim prevent using `foldmethod` in modeline options when `modelineexpr` is off. Shift to using autocmd's to enable autofolds in the relevant file-types.
.bashrc: Use `paste ... -` when reading from pipe GNU versions of `paste` will read from STDIN when no explicit file arguments, but some other UNIX platforms [e.g. AIX] have versions of `paste` which required an explicit "-" filename argument to indicate "read from STDIN".
.bashrc: Add `pip --user` bin directories to $PATH
.bashrc: Cleanup $PATH handling, remove unused cases Build discrete "start" and "end" lists, and prepend/append those lists to $PATH/$MANPATH once at the end. This makes it easier to control the discrete order of paths in the prefix vs suffix sections. For example, I always want $HOME/bin to be at the very-start of $PATH so that I can put an "override" script in $HOME/bin and that can always win over "normal" binaries in other later directories in $PATH.
.bashrc: Cleanup path helper functions - Remove functions I never use: `pshift`, `punshift` - ppop: Misc fixes - ppush: Support taking in a list of paths to append, and to do directory-exists check before apending. - pinsert: Creating, for pushing an entry on the *beginning* of the list. - puniq: Strip out empty pieces, and use `paste` for smarter way to glue list back together [avoid adding trailing ':' chars].
.bashrc: Misc cleanup
.bashrc: Sync GREP_COLORS with ackrc colors
.bashrc: Make sure $MANPATH has some sane defaults
.bashrc: Remove author message from header
.vim: Support folding based on custom section markers
.bashrc: Set fzf defaults
.bashrc: Add settitle_screen() vs settitle_window() helpers
.bashrc: Add /native/usr dirs to $PATH on SmartOS