Sync minimal branch with master.
This commit is contained in:
parent
3052bbda36
commit
e4b311a6c8
6 changed files with 35 additions and 8 deletions
|
|
@ -16,7 +16,7 @@ fi
|
||||||
hash ssh-add ssh-agent >/dev/null 2>&1 && {
|
hash ssh-add ssh-agent >/dev/null 2>&1 && {
|
||||||
# Stop any started ssh-agent as long as the shell level is 1 and we're not on a tty.
|
# Stop any started ssh-agent as long as the shell level is 1 and we're not on a tty.
|
||||||
(( SHLVL == 1 )) && [[ "$(tty)" != /dev/tty* ]] && [[ -n "$SSH_AGENT_PID" ]] && {
|
(( SHLVL == 1 )) && [[ "$(tty)" != /dev/tty* ]] && [[ -n "$SSH_AGENT_PID" ]] && {
|
||||||
eval "$(ssh-agent -k >/dev/null 2>&1)" >/dev/null || printf "\\033[1;31;40m%s\\033[0;39m\\n" "Failed to stop ssh-agent." >&2
|
eval "$(ssh-agent -k >/dev/null 2>&1)" >/dev/null || printf "\\033[1;31;40m%s\\033[0m\\n" "Failed to stop ssh-agent." >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
# Update the ~/.ssh/agents file.
|
# Update the ~/.ssh/agents file.
|
||||||
|
|
|
||||||
2
.bashrc
2
.bashrc
|
|
@ -177,7 +177,7 @@ __git_prompt_command() {
|
||||||
[[ "${GIT_REPO_INFO[0]}" == "true" ]] && {
|
[[ "${GIT_REPO_INFO[0]}" == "true" ]] && {
|
||||||
# Run prefetch tasks if not disabled.
|
# Run prefetch tasks if not disabled.
|
||||||
[[ -z "$GIT_DISABLE_PROMPT_PREFETCH" ]] && [[ "$(git config --local --get --type bool script.DisablePromptPrefetch 2>/dev/null)" != "true" ]] && {
|
[[ -z "$GIT_DISABLE_PROMPT_PREFETCH" ]] && [[ "$(git config --local --get --type bool script.DisablePromptPrefetch 2>/dev/null)" != "true" ]] && {
|
||||||
git maintenance run --task=prefetch 2>/dev/null || {
|
timeout --signal=KILL 7s git maintenance run --task=prefetch 2>/dev/null || {
|
||||||
printf "\\033[1;31m%s\\033[0m\\n" "Git maintenance 'prefetch' task failed." >&2
|
printf "\\033[1;31m%s\\033[0m\\n" "Git maintenance 'prefetch' task failed." >&2
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
.config/.gitignore
vendored
1
.config/.gitignore
vendored
|
|
@ -7,5 +7,6 @@
|
||||||
/libreoffice/
|
/libreoffice/
|
||||||
/libvirt/
|
/libvirt/
|
||||||
/mimeapps.list
|
/mimeapps.list
|
||||||
|
/ookla/
|
||||||
/pulse/
|
/pulse/
|
||||||
/xfce4/
|
/xfce4/
|
||||||
|
|
|
||||||
24
.config/bat/config
Normal file
24
.config/bat/config
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
# Don't add header, lines or table layout - just plain coloured output.
|
||||||
|
--style=plain
|
||||||
|
|
||||||
|
# Specify desired highlighting theme (e.g. "TwoDark"). Run `bat --list-themes`
|
||||||
|
# for a list of all available themes
|
||||||
|
#--theme="TwoDark"
|
||||||
|
|
||||||
|
# Enable this to use italic text on the terminal. This is not supported on all
|
||||||
|
# terminal emulators (like tmux, by default):
|
||||||
|
#--italic-text=always
|
||||||
|
|
||||||
|
# Uncomment the following line to disable automatic paging:
|
||||||
|
#--paging=never
|
||||||
|
|
||||||
|
# Uncomment the following line if you are using less version >= 551 and want to
|
||||||
|
# enable mouse scrolling support in `bat` when running inside tmux. This might
|
||||||
|
# disable text selection, unless you press shift.
|
||||||
|
#--pager="less --RAW-CONTROL-CHARS --quit-if-one-screen --mouse"
|
||||||
|
|
||||||
|
# Syntax mappings: map a certain filename pattern to a language.
|
||||||
|
# Example 1: use the C++ syntax for Arduino .ino files
|
||||||
|
# Example 2: Use ".gitignore"-style highlighting for ".ignore" files
|
||||||
|
#--map-syntax "*.ino:C++"
|
||||||
|
#--map-syntax ".ignore:Git Ignore"
|
||||||
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -8,15 +8,12 @@
|
||||||
/.Xauthority*
|
/.Xauthority*
|
||||||
/.ab*
|
/.ab*
|
||||||
/.alpine-smime/
|
/.alpine-smime/
|
||||||
|
/.ansible/
|
||||||
/.aspell.*
|
/.aspell.*
|
||||||
/.bash_history*
|
/.bash_history*
|
||||||
/.cache/
|
/.cache/
|
||||||
/.cups/
|
/.cups/
|
||||||
/.dbus/
|
/.dbus/
|
||||||
/.esxcli-esx0
|
|
||||||
/.esxcli-esx1
|
|
||||||
/.esxcli-esx2
|
|
||||||
/.esxcli-esx3
|
|
||||||
/.fltk/
|
/.fltk/
|
||||||
/.gitconfig
|
/.gitconfig
|
||||||
/.gvfs/
|
/.gvfs/
|
||||||
|
|
@ -28,12 +25,13 @@
|
||||||
/.pki/
|
/.pki/
|
||||||
/.rnd
|
/.rnd
|
||||||
/.screen-*/
|
/.screen-*/
|
||||||
/.selected_editor
|
|
||||||
/.sqlite_history
|
/.sqlite_history
|
||||||
|
/.terraform.d/
|
||||||
/.thumbnails/
|
/.thumbnails/
|
||||||
/.viminfo
|
/.viminfo
|
||||||
/.vmware/
|
/.vmware/
|
||||||
/.vnc/
|
/.vnc/
|
||||||
|
/.wine/
|
||||||
/.wget-hsts
|
/.wget-hsts
|
||||||
/.xca/
|
/.xca/
|
||||||
/.xsession-errors*
|
/.xsession-errors*
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ VerifyHostKeyDNS yes
|
||||||
VisualHostKey yes
|
VisualHostKey yes
|
||||||
|
|
||||||
# Only forward the gpg-agent socket if it exists on the local host.
|
# Only forward the gpg-agent socket if it exists on the local host.
|
||||||
Match exec "[[ -e ${HOME}/.gnupg/S.gpg-agent ]]"
|
Match exec "[[ -e ${HOME}/.gnupg/S.gpg-agent ]]" host !*.coventry,!*.appliansys.com,!*.appliansys.net
|
||||||
RemoteForward %d/.gnupg/S.gpg-agent ${HOME}/.gnupg/S.gpg-agent
|
RemoteForward %d/.gnupg/S.gpg-agent ${HOME}/.gnupg/S.gpg-agent
|
||||||
|
|
||||||
# Home stuff.
|
# Home stuff.
|
||||||
|
|
@ -72,3 +72,7 @@ Host github.com git.rlworkman.net
|
||||||
Host zapp zapp.opensourcerers.net
|
Host zapp zapp.opensourcerers.net
|
||||||
Hostname zapp.opensourcerers.net
|
Hostname zapp.opensourcerers.net
|
||||||
Port 9922
|
Port 9922
|
||||||
|
|
||||||
|
Host esx.support.coventry vidar.coventry
|
||||||
|
User root
|
||||||
|
HostKeyAlgorithms ssh-rsa
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue