summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-05-24 11:24:24 -0700
committerBen Sima <ben@bsima.me>2018-05-24 11:24:24 -0700
commitb86448dbd4bb2781ae38bf0a52a5b7206ab7061c (patch)
treeb62174a555c3ff7e6640b84a73250cf68ed43cb3
parent41a3077ff081400b3391e5bfb02533715364b167 (diff)
Remove setpath.sh
It wasn't doing anything...
-rw-r--r--home.nix1
-rw-r--r--setpath.sh18
2 files changed, 0 insertions, 19 deletions
diff --git a/home.nix b/home.nix
index 76f4ede..2caa781 100644
--- a/home.nix
+++ b/home.nix
@@ -121,7 +121,6 @@
tdate = "date +%Y.%m.%d..%H.%M";
ttime = "date +%H.%M";
};
- profileExtra = builtins.readFile (./setpath.sh);
};
emacs = {
diff --git a/setpath.sh b/setpath.sh
deleted file mode 100644
index d47d61c..0000000
--- a/setpath.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env sh
-
-# add some useful stuff to my path (if present)
-for DIR in \
- $HOME/bin \
- $HOME/me/bin \
- $HOME/.local/bin
-do
- if [ -d "$DIR" ]; then
- PATH=$DIR:$PATH
- fi
-done
-
-# source nix.sh if present
-if [ -f ~/.nix-profile/etc/profile.d/nix.sh ]; then
- # shellcheck source=/home/ben/.nix-profile/etc/profile.d/nix.sh
- . ~/.nix-profile/etc/profile.d/nix.sh
-fi