1

slight cleanup

This commit is contained in:
Evan Pratten 2023-10-14 18:14:52 -04:00
parent 329ed64cc4
commit 7f29d01f86
5 changed files with 36 additions and 2 deletions

18
configs/bash/.bashrc Normal file
View File

@ -0,0 +1,18 @@
# This is a somewhat hacky bashrc that is used to provide some of the conveniences from my zshrc on machines that I can't get zsh on
export EWCONFIG_ROOT="$HOME/.config/ewconfig"
# I always want my ~/bin to be in my PATH
export PATH="$HOME/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
# Makes a directory, then moves into it
mkcd() {
if [ $# != 1 ]; then
echo "Usage: mkcd <dir>"
else
mkdir -p $1 && cd $1
fi
}
# A basic prompt to display user@host dir sign
export PS1="(bash) \[\e[0;32m\]\u@\h \[\e[0;36m\]\w \[\e[0;36m\]\$ \[\e[0m\]"

View File

@ -17,6 +17,9 @@
[alias]
authors = shortlog --summary --numbered --email
tree = log --graph --decorate --abbrev-commit --all \
--pretty=format:'%C(auto,yellow)commit %h%C(auto,cyan)%d%n%C(auto,cyan)Author:%Creset %aN <%aE>%n%C(auto,cyan)Date:%Creset %ad%n%s%n' \
--date=format:'%b %d %Y %H:%M:%S %z'
[filter "lfs"]
clean = git-lfs clean -- %f
@ -25,7 +28,6 @@
required = true
[url "ssh://git@github.com/"]
#insteadOf = https://github.com/
pushInsteadOf = https://github.com/
[credential "https://github.com"]
@ -41,3 +43,6 @@
smtpuser = evan@ewpratten.com
smtpencryption = tls
smtpserverport = 587
[mailmap]
file = ~/.config/git/.mailmap

7
configs/git/.mailmap Normal file
View File

@ -0,0 +1,7 @@
Evan Pratten <evan@ewpratten.com>
Evan Pratten <evan@ewpratten.com> <ewpratten@gmail.com>
William Meathrel <wcmeathrel@gmail.com> <Wcmeathrel@gmail.com>
Carter Tomlenovich <cartertom@tuta.io>
James Nickoli <jnick722547@gmail.com>
Sam Lownie <slownie16@gmail.com>
Sam Lownie <slownie16@gmail.com> <30960735+slownie@users.noreply.github.com>

View File

@ -18,6 +18,7 @@
- ~/.config/logid
- ~/.config/systemd/user
- ~/.config/autostart
- ~/.config/git
- ~/.cargo
- ~/.config/user-tmpfiles.d
# Program plugins
@ -27,12 +28,16 @@
- link:
# Git
~/.gitconfig: configs/git/.gitconfig
~/.config/git/.mailmap: configs/git/.mailmap
~/.ssh/allowed_signers: configs/ssh/allowed_signers
# Shell
~/.zshrc:
path: configs/zsh/.zshrc
force: true
~/.bashrc:
path: configs/bash/.bashrc
force: true
# Vim
~/.config/nvim/init.vim: configs/nvim/init.vim
@ -43,7 +48,6 @@
~/bin/catto: configs/scripts/catto
~/bin/aspath: configs/scripts/aspath
~/bin/fetch-steamdeck-screenshots: configs/scripts/fetch-steamdeck-screenshots
~/bin/run-logid: configs/scripts/run-logid
~/bin/houdini-tool: configs/scripts/houdini-tool.py
~/bin/hython-latest: configs/scripts/hython-latest
~/bin/usdnc-to-usd: configs/scripts/usdnc-to-usd.py