diff options
author | Azat Bahawi <azat@bahawi.net> | 1970-01-01 03:00:00 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-09-20 11:51:54 +0300 |
commit | 38bab29776950ac2364ed64195b89887717c33de (patch) | |
tree | edaaf366a55dbe96d268019124536bc504c64e87 /fish/@install |
Diffstat (limited to '')
-rwxr-xr-x | fish/@install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/fish/@install b/fish/@install new file mode 100755 index 0000000..63c8393 --- /dev/null +++ b/fish/@install @@ -0,0 +1,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 |