about summary refs log tree commit diff
path: root/fish/@install
blob: 63c83937254268b2fd78c002172a1a845e922b33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

[ ! -d "${XDG_CONFIG_HOME}/fish" ] &&
    mkdir -p "${XDG_CONFIG_HOME}/fish"

[ ! -d "${XDG_CONFIG_HOME}/fish/completions" ] &&
    mkdir -p "${XDG_CONFIG_HOME}/fish/completions"

[ ! -d "${XDG_CONFIG_HOME}/fish/conf.d" ] &&
    mkdir -p "${XDG_CONFIG_HOME}/fish/conf.d"

[ ! -d "${XDG_CONFIG_HOME}/fish/functions" ] &&
    mkdir -p "${XDG_CONFIG_HOME}/fish/functions"

stow \
    --target="${HOME}" \
    --ignore="^@.*" \
    --verbose \
    fish

Consider giving Nix/NixOS a try! <3