From 38bab29776950ac2364ed64195b89887717c33de Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- fish/@install | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 fish/@install (limited to 'fish/@install') 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 -- cgit 1.4.1