migrate to dotter
This commit is contained in:
parent
c5618f2f2c
commit
2da5ffd1f4
265 changed files with 62 additions and 3123 deletions
44
configs/bash/.bash_profile
Normal file
44
configs/bash/.bash_profile
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
update_path() {
|
||||
export PATH="$PATH:$1"
|
||||
}
|
||||
|
||||
# Set manually
|
||||
export REPOS="$HOME/.local/share/chezmoi"
|
||||
export DOTS="$REPOS/Private/dots"
|
||||
export EDITOR=nvim
|
||||
export VISUAL="$EDITOR"
|
||||
export QT_STYLE_OVERRIDE=kvantum
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
|
||||
# Use rbw as SSH Agent
|
||||
# use https://github.com/pmkap/rbw/ until https://github.com/doy/rbw/issues/197 is closed
|
||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/rbw/ssh-agent-socket"
|
||||
|
||||
update_path "$DOTS/scripts"
|
||||
update_path "$HOME/.local/bin"
|
||||
update_path "$HOME/bin"
|
||||
update_path "/usr/local/bin"
|
||||
|
||||
# Dev Stuff
|
||||
export NPM_PACKAGES="$HOME/.npm-packages"
|
||||
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
|
||||
update_path "$NPM_PACKAGES/bin"
|
||||
|
||||
export PNPM_HOME="$HOME/.local/share/pnpm"
|
||||
update_path "$PNPM_HOME"
|
||||
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
update_path "$BUN_INSTALL/bin"
|
||||
|
||||
source "$HOME/.rye/env"
|
||||
|
||||
# . "$HOME/.cargo/env"
|
||||
update_path "$HOME/.cargo/bin/"
|
||||
|
||||
. "$HOME/.atuin/bin/env"
|
||||
|
||||
if [ -f ~/.bashrc ]; then
|
||||
. ~/.bashrc
|
||||
fi
|
||||
|
||||
. "$HOME/.local/share/../bin/env"
|
||||
8
configs/bash/.bashrc
Normal file
8
configs/bash/.bashrc
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# ╭──────────────────────────────────────────────────────────╮
|
||||
# │ Auto drop into fish only on login │
|
||||
# ╰──────────────────────────────────────────────────────────╯
|
||||
|
||||
# if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} && ${SHLVL} == 1 ]]; then
|
||||
# shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=''
|
||||
# exec fish $LOGIN_OPTION
|
||||
# fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue