about summary refs log tree commit diff
path: root/pip
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:51:54 +0300
commit38bab29776950ac2364ed64195b89887717c33de (patch)
treeedaaf366a55dbe96d268019124536bc504c64e87 /pip
chore: init HEAD master
Diffstat (limited to '')
-rw-r--r--pip/.local/etc/pip/pip.conf2
-rwxr-xr-xpip/@install10
2 files changed, 12 insertions, 0 deletions
diff --git a/pip/.local/etc/pip/pip.conf b/pip/.local/etc/pip/pip.conf
new file mode 100644
index 0000000..b0ba198
--- /dev/null
+++ b/pip/.local/etc/pip/pip.conf
@@ -0,0 +1,2 @@
+[global]
+user = true
diff --git a/pip/@install b/pip/@install
new file mode 100755
index 0000000..ca2f8aa
--- /dev/null
+++ b/pip/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${XDG_CONFIG_HOME}/pip" ] && \
+    mkdir -p "${XDG_CONFIG_HOME}/pip"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    pip

Consider giving Nix/NixOS a try! <3