mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Merge branch 'main' of https://github.com/Matir/skel
This commit is contained in:
@@ -52,7 +52,7 @@ alias ipy="ipython3"
|
||||
alias bc="command bc -q"
|
||||
|
||||
# Get a decently readable df
|
||||
alias dfh="df -h -x tmpfs -x devtmpfs"
|
||||
alias dfh="df -h -x tmpfs -x devtmpfs -x squashfs -x fuse -x efivarfs"
|
||||
|
||||
# Clear the GPG agent
|
||||
alias clear-gpg-agent="echo RELOADAGENT | gpg-connect-agent"
|
||||
|
||||
4
dotfiles/config/Code/User/settings.json
Normal file
4
dotfiles/config/Code/User/settings.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"editor.accessibilitySupport": "off",
|
||||
"telemetry.telemetryLevel": "off"
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
[user]
|
||||
name = David Tomaschik
|
||||
email = david@systemoverlord.com
|
||||
signingKey = 0x5DEA789B
|
||||
|
||||
[core]
|
||||
|
||||
1
dotfiles/npmrc
Normal file
1
dotfiles/npmrc
Normal file
@@ -0,0 +1 @@
|
||||
prefix = ${HOME}/.npm-packages
|
||||
@@ -6,7 +6,7 @@ umask 027
|
||||
# Paths and preferences
|
||||
export PYTHONPATH="$HOME/.python:$PYTHONPATH"
|
||||
export GOPATH="$HOME/go:$HOME/Projects/Go:/usr/share/gocode"
|
||||
export PATH="$HOME/bin:$HOME/bin/tools:/sbin:/usr/sbin:$PATH:$HOME/go/bin"
|
||||
export PATH="$HOME/bin:$HOME/bin/tools:/sbin:/usr/sbin:$PATH:$HOME/go/bin:$HOME/.npm-packages/bin"
|
||||
export VISUAL=vim
|
||||
export EDITOR=vim
|
||||
export DEBEMAIL="david@systemoverlord.com"
|
||||
|
||||
Submodule dotfiles/vim/pack/matir/opt/solarized8 updated: 7b6399093c...6178a07f44
Submodule dotfiles/vim/pack/matir/start/editorconfig updated: 8f6eba5fd6...8b7da79e9d
Submodule dotfiles/vim/pack/matir/start/fugitive updated: 2a53d79248...64d6cafb9d
Submodule dotfiles/vim/pack/matir/start/surround updated: f51a26d371...3d188ed211
@@ -168,4 +168,7 @@ if [ -e $HOME/.zshrc.local ] ; then source $HOME/.zshrc.local ; fi
|
||||
if test -f "${HOME}/.zprompt" ; then
|
||||
THEME=${THEME:=$(cat "${HOME}/.zprompt")}
|
||||
fi
|
||||
if command -v starship >/dev/null 2>&1 ; then
|
||||
: ${THEME:=starship}
|
||||
fi
|
||||
prompt "${THEME:-matir}" >/dev/null 2>&1
|
||||
|
||||
@@ -5,18 +5,18 @@ function dumpenv {
|
||||
if test -x "/sbin/starship" ; then
|
||||
_STARSHIP_PATH="/sbin/starship"
|
||||
function starship_prompt {
|
||||
eval $(/sbin/starship init zsh)
|
||||
eval "$(/sbin/starship init zsh)"
|
||||
}
|
||||
elif test -x "${HOME}/tools/starship/starship" ; then
|
||||
_STARSHIP_PATH="${HOME}/tools/starship/starship"
|
||||
function starship_prompt {
|
||||
eval $($HOME/tools/starship/starship init zsh)
|
||||
eval "$($HOME/tools/starship/starship init zsh)"
|
||||
}
|
||||
fi
|
||||
if test -f ${HOME}/.zprompt ; then
|
||||
if test "$(cat ${HOME}/.zprompt)" = "starship" ; then
|
||||
if test -n "${_STARSHIP_PATH:-}" ; then
|
||||
eval $(${_STARSHIP_PATH} init zsh)
|
||||
eval "$(${_STARSHIP_PATH} init zsh)"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -25,3 +25,13 @@ unset _STARSHIP_PATH
|
||||
function hashall {
|
||||
tee >(md5sum) | tee >(sha1sum) | sha256sum
|
||||
}
|
||||
|
||||
function rtmux {
|
||||
if [ "$#" -lt 1 ] ; then
|
||||
echo "Usage: $0 <host> [tmux args]" >&2
|
||||
return 1
|
||||
fi
|
||||
HOST="${1}"
|
||||
shift
|
||||
ssh -t ${HOST} -- tmux "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user