66 lines
1.6 KiB
Text
66 lines
1.6 KiB
Text
#
|
|
# Dotfile specifics for Roshar
|
|
#
|
|
|
|
# Path
|
|
# Note: lower in the list = higher priority
|
|
PATH_ADDS = [
|
|
"/opt/homebrew/opt/coreutils/libexec/gnubin",
|
|
"/opt/homebrew/opt/findutils/libexec/gnubin",
|
|
"/opt/homebrew/bin",
|
|
"/opt/homebrew/opt/gnu-sed/libexec/gnubin",
|
|
"/opt/homebrew/bin",
|
|
"/Users/deprekated/.cargo/bin",
|
|
"/opt/homebrew/sbin",
|
|
"/opt/homebrew/bin",
|
|
"/opt/homebrew/Cellar/ruby/2.3.3/bin",
|
|
"/opt/homebrew/opt/llvm/bin",
|
|
"/Users/deprekated/.bin/",
|
|
"/opt/homebrew/opt/e2fsprogs/sbin",
|
|
"/opt/homebrew/opt/grep/libexec/gnubin",
|
|
"/opt/homebrew/opt/ruby/bin",
|
|
"/opt/homebrew/lib/ruby/gems/3.1.0/bin",
|
|
"/opt/homebrew/opt/bison@2.7/bin",
|
|
"/etc/profiles/per-user/deprekated/bin/",
|
|
"/run/current-system/sw/bin"
|
|
]
|
|
|
|
|
|
# Aliases
|
|
aliases['ls'] = 'eza -gb'
|
|
aliases['tree'] = 'eza --tree'
|
|
|
|
# Helper to make every system have the same rebuild.
|
|
aliases['rebuild'] = 'darwin-rebuild --flake ~/dotfiles'
|
|
|
|
# Python
|
|
$PYTHONPATH=""
|
|
$PYTHONPATH.extend([
|
|
])
|
|
|
|
# Smartcard auth
|
|
$GPG_TTY=$(tty).strip()
|
|
|
|
try:
|
|
$ORIGINAL_SSH_AUTH_SOCK=$SSH_AUTH_SOCK
|
|
except:
|
|
pass
|
|
|
|
|
|
#$SSH_AUTH_SOCK=$(/usr/local/MacGPG2/bin/gpgconf --list-dirs agent-ssh-socket).strip()
|
|
#/usr/local/MacGPG2/bin/gpgconf --launch gpg-agent
|
|
|
|
# Python
|
|
$PYTHONPATH=[
|
|
'/Applications/Binary Ninja.app/Contents/Resources/python',
|
|
'/Users/deprekated/Projects/amaranth/amaranth',
|
|
'/Users/deprekated/Projects/luna',
|
|
'/Users/deprekated/Projects/amaranth/amaranth-boards',
|
|
'/Users/deprekated/Projects/t5/t5gw'
|
|
]
|
|
|
|
# Nix
|
|
source-bash '/etc/bashrc'
|
|
|
|
# Temporary hack.
|
|
$TERMINFO_DIRS = [ "/usr/share/terminfo", "/Users/deprekated/.terminfo"]
|