feat: re-organise files dir
This commit is contained in:
4
.github/workflows/vim-preview.yml
vendored
4
.github/workflows/vim-preview.yml
vendored
@@ -3,7 +3,7 @@ name: Vim Theme Preview
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'files/home/.vimrc'
|
- 'home/.vimrc'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
|
|
||||||
// === GENERATE HTML PREVIEW ===
|
// === GENERATE HTML PREVIEW ===
|
||||||
const vimrc = fs.readFileSync('files/home/.vimrc', 'utf8');
|
const vimrc = fs.readFileSync('home/.vimrc', 'utf8');
|
||||||
|
|
||||||
// Parse highlight definitions
|
// Parse highlight definitions
|
||||||
const highlights = {};
|
const highlights = {};
|
||||||
|
|||||||
@@ -38,9 +38,7 @@ rm -f "$HOME/.ssh/config"
|
|||||||
mkdir -p "$HOME/.config"
|
mkdir -p "$HOME/.config"
|
||||||
mkdir -p "$HOME/.ssh"
|
mkdir -p "$HOME/.ssh"
|
||||||
|
|
||||||
stow --dir="$root_dir/files" --target="$HOME" home
|
stow --dir="$root_dir" --target="$HOME" home
|
||||||
stow --dir="$root_dir/files" --target="$HOME/.config" dot-config
|
|
||||||
stow --dir="$root_dir/files" --target="$HOME/.ssh" dot-ssh
|
|
||||||
|
|
||||||
# Bust PATH cache to force regeneration with new profile
|
# Bust PATH cache to force regeneration with new profile
|
||||||
rm -f "${XDG_CACHE_HOME:-$HOME/.cache}/dots/path"
|
rm -f "${XDG_CACHE_HOME:-$HOME/.cache}/dots/path"
|
||||||
|
|||||||
Reference in New Issue
Block a user