remove harcoded path references

This commit is contained in:
Daylin Morgan 2022-09-29 10:18:29 -05:00
parent f636b53432
commit 504deb5afb
3 changed files with 5 additions and 23 deletions

View file

@ -1,9 +0,0 @@
#!/usr/bin/env bash
# run this from within WSL
files=(alacritty.yml dracula.yml dracula-pro.yml)
for file in "${files[@]}"; do
cp -v $DOTFILES_DIR/config/alacritty/$file /mnt/c/Users/daylin/AppData/Roaming/alacritty/$file
done

View file

@ -1,9 +0,0 @@
#!/usr/bin/env zsh
# env variables
if ! [ $(cat /etc/hostname)=="thinkpad" ]; then
export BROWSER=/mnt/c/Users/daylin/AppData/Local/Vivaldi/Application/vivaldi.exe
else
export BROWSER=vivaldi-stable
fi
# aliases

View file

@ -97,23 +97,23 @@ if [ -d "$HOME/.pyenv" ]; then
fi
# pnpm
export PNPM_HOME="/home/daylin/.local/share/pnpm"
export PNPM_HOME="$HOME/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH"
# pnpm end
if [ -d "$HOME/.pkgs/google-cloud-sdk" ]; then
source /home/daylin/.pkgs/google-cloud-sdk/completion.zsh.inc
source /home/daylin/.pkgs/google-cloud-sdk/path.zsh.inc
source "$HOME/.pkgs/google-cloud-sdk/completion.zsh.inc"
source "$HOME/.pkgs/google-cloud-sdk/path.zsh.inc"
fi
if [ -d "$HOME/.deno" ]; then
export DENO_INSTALL="/home/daylin/.deno"
export DENO_INSTALL="$HOME/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
fi
if [ -d "$HOME/.bun" ]; then
# bun completions
[ -s "/home/daylin/.bun/_bun" ] && source "/home/daylin/.bun/_bun"
[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"