remove harcoded path references
This commit is contained in:
parent
f636b53432
commit
504deb5afb
3 changed files with 5 additions and 23 deletions
|
@ -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
|
|
|
@ -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
|
|
10
lib/env.zsh
10
lib/env.zsh
|
@ -97,23 +97,23 @@ if [ -d "$HOME/.pyenv" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# pnpm
|
# pnpm
|
||||||
export PNPM_HOME="/home/daylin/.local/share/pnpm"
|
export PNPM_HOME="$HOME/.local/share/pnpm"
|
||||||
export PATH="$PNPM_HOME:$PATH"
|
export PATH="$PNPM_HOME:$PATH"
|
||||||
# pnpm end
|
# pnpm end
|
||||||
|
|
||||||
if [ -d "$HOME/.pkgs/google-cloud-sdk" ]; then
|
if [ -d "$HOME/.pkgs/google-cloud-sdk" ]; then
|
||||||
source /home/daylin/.pkgs/google-cloud-sdk/completion.zsh.inc
|
source "$HOME/.pkgs/google-cloud-sdk/completion.zsh.inc"
|
||||||
source /home/daylin/.pkgs/google-cloud-sdk/path.zsh.inc
|
source "$HOME/.pkgs/google-cloud-sdk/path.zsh.inc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$HOME/.deno" ]; then
|
if [ -d "$HOME/.deno" ]; then
|
||||||
export DENO_INSTALL="/home/daylin/.deno"
|
export DENO_INSTALL="$HOME/.deno"
|
||||||
export PATH="$DENO_INSTALL/bin:$PATH"
|
export PATH="$DENO_INSTALL/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$HOME/.bun" ]; then
|
if [ -d "$HOME/.bun" ]; then
|
||||||
# bun completions
|
# bun completions
|
||||||
[ -s "/home/daylin/.bun/_bun" ] && source "/home/daylin/.bun/_bun"
|
[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun"
|
||||||
|
|
||||||
# bun
|
# bun
|
||||||
export BUN_INSTALL="$HOME/.bun"
|
export BUN_INSTALL="$HOME/.bun"
|
||||||
|
|
Loading…
Reference in a new issue